DirectXResourceBindingInfo Description sealed class Tinman.Engine.API.DirectXResourceBindingInfo Represents the shader metadata that the HLSL compiler writes into the Resource Bindings: section of Assembler Output / *.asm files. Public / Constants BindBuffer public constant BindBuffer → (0:int32) A binding code for a constant buffer (e.g. 'cb0'). BindSampler public constant BindSampler → (1:int32) A binding code for a sampler state (e.g. 's0'). BindTexture public constant BindTexture → (2:int32) A binding code for a shader resource (e.g. 't0'). BindUnordered public constant BindUnordered → (3:int32) A binding code for an unordered access view (e.g. 'u0'). Public / Constructors DirectXResourceBindingInfo public constructor DirectXResourceBindingInfo → (5) type in : string [not-empty] See Type. name in : string [not-empty] See Name. count in : int32 [>0] See Count. bindType in : int32 [0..3] See BindType. bindIndex in : int32 [>=0] See BindIndex. Creates a new instance of DirectXResourceBindingInfo. Public / Methods Is [Pure] public method Is → (1) type in : RenderEffectParameterType The render effect parameter type to query for. returns → bool true if Type represents type in, false if not. Is this resource of the given type? Public / Attributes Bind public attribute Bind → (get) value : string [not-null] The binding. The binding, composed of type and index. BindIndex public readonly attribute BindIndex → (int32) Index of resource binding slot. BindType public readonly attribute BindType → (int32) Type of resource binding slot. See also DirectXResourceBindingInfo.BindBuffer DirectXResourceBindingInfo.BindSampler DirectXResourceBindingInfo.BindTexture DirectXResourceBindingInfo.BindUnordered Count public readonly attribute Count → (int32) Number of consecutive resource bindings, starting at BindIndex. DeclaredShaderResource public attribute DeclaredShaderResource → (int32) The declared shader resource or -1 if none. DeclaredUnorderedAccessResource public attribute DeclaredUnorderedAccessResource → (int32) The declared unordered access resource or -1 if none. IsArray public attribute IsArray → (get) value : bool true if Type represents a an array type, false if not. Is this resource an array type? Name public readonly attribute Name → (string) The resource name. Type public readonly attribute Type → (string) The resource type (type + format + dim). DirectXEffect_Components DirectXShaderInfo