Table of Contents

Interface IShaderReflector

Namespace
HelixToolkit.SharpDX.Shaders
Assembly
HelixToolkit.SharpDX.dll
public interface IShaderReflector

Properties

ConstantBufferMappings

Get constant buffer mapping.

Dictionary<string, ConstantBufferMapping> ConstantBufferMappings { get; }

Property Value

Dictionary<string, ConstantBufferMapping>

FeatureLevel

FeatureLevel FeatureLevel { get; }

Property Value

FeatureLevel

SamplerMappings

Get Sampler mapping

Dictionary<string, SamplerMapping> SamplerMappings { get; }

Property Value

Dictionary<string, SamplerMapping>

TextureMappings

Get texture buffer mapping.

Dictionary<string, TextureMapping> TextureMappings { get; }

Property Value

Dictionary<string, TextureMapping>

UAVMappings

Get Unordered Access View buffer mapping.

Dictionary<string, UAVMapping> UAVMappings { get; }

Property Value

Dictionary<string, UAVMapping>

Methods

Parse(byte[], ShaderStage)

Pass the byte code, reflect all shader buffer bindings

void Parse(byte[] byteCode, ShaderStage stage)

Parameters

byteCode byte[]
stage ShaderStage