Class ShaderReflector
- Namespace
- HelixToolkit.SharpDX.Shaders
- Assembly
- HelixToolkit.SharpDX.dll
public sealed class ShaderReflector : IShaderReflector
- Inheritance
-
ShaderReflector
- Implements
- Inherited Members
Constructors
ShaderReflector()
public ShaderReflector()
Properties
ConstantBufferMappings
Get constant buffer mapping.
public Dictionary<string, ConstantBufferMapping> ConstantBufferMappings { get; }
Property Value
FeatureLevel
public FeatureLevel FeatureLevel { get; }
Property Value
- FeatureLevel
SamplerMappings
Get Sampler mapping
public Dictionary<string, SamplerMapping> SamplerMappings { get; }
Property Value
TextureMappings
Get texture buffer mapping.
public Dictionary<string, TextureMapping> TextureMappings { get; }
Property Value
UAVMappings
Get Unordered Access View buffer mapping.
public Dictionary<string, UAVMapping> UAVMappings { get; }
Property Value
Methods
Parse(byte[], ShaderStage)
Pass the byte code, reflect all shader buffer bindings
public void Parse(byte[] byteCode, ShaderStage stage)
Parameters
byteCodebyte[]stageShaderStage