Table of Contents

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

Dictionary<string, ConstantBufferMapping>

FeatureLevel

public FeatureLevel FeatureLevel { get; }

Property Value

FeatureLevel

SamplerMappings

Get Sampler mapping

public Dictionary<string, SamplerMapping> SamplerMappings { get; }

Property Value

Dictionary<string, SamplerMapping>

TextureMappings

Get texture buffer mapping.

public Dictionary<string, TextureMapping> TextureMappings { get; }

Property Value

Dictionary<string, TextureMapping>

UAVMappings

Get Unordered Access View buffer mapping.

public Dictionary<string, UAVMapping> UAVMappings { get; }

Property Value

Dictionary<string, UAVMapping>

Methods

Parse(byte[], ShaderStage)

Pass the byte code, reflect all shader buffer bindings

public void Parse(byte[] byteCode, ShaderStage stage)

Parameters

byteCode byte[]
stage ShaderStage