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
FeatureLevel
FeatureLevel FeatureLevel { get; }
Property Value
- FeatureLevel
SamplerMappings
Get Sampler mapping
Dictionary<string, SamplerMapping> SamplerMappings { get; }
Property Value
TextureMappings
Get texture buffer mapping.
Dictionary<string, TextureMapping> TextureMappings { get; }
Property Value
UAVMappings
Get Unordered Access View buffer mapping.
Dictionary<string, UAVMapping> UAVMappings { get; }
Property Value
Methods
Parse(byte[], ShaderStage)
Pass the byte code, reflect all shader buffer bindings
void Parse(byte[] byteCode, ShaderStage stage)
Parameters
byteCodebyte[]stageShaderStage