DirectXConstantBufferInfo Description sealed class Tinman.Engine.API.DirectXConstantBufferInfo Derived from ICopyable<DirectXConstantBufferInfo> Represents the shader metadata that the HLSL compiler writes into the Buffer Definitions: section of Assembler Output / *.asm files. Public / Constructors DirectXConstantBufferInfo public constructor DirectXConstantBufferInfo → (1) name in : string [not-empty] See Name. Creates a new instance of DirectXConstantBufferInfo. Public / Methods Add public method Add → (1) element in : DirectXConstantBufferElementInfo [not-null] The element info to add. Adds the given element info. GetElement public method GetElement → (1) name in : string [not-null] The element name. returns → DirectXConstantBufferElementInfo The constant buffer element info info object or null if not found. Returns the constant buffer element info for the given name. Public / Attributes DeclaredBuffer public attribute DeclaredBuffer → (int32) The declared constant buffer or -1 if none. Elements public attribute Elements → (get) value : IVectorConst<DirectXConstantBufferElementInfo> [not-null] List of constant buffer elements. The constant buffer elements. Name public readonly attribute Name → (string) The constant buffer name. Size public attribute Size → (get) value : int32 [>=0] The constant buffer size, in bytes. Computes the size of the constant buffer, omitting unused elements. DirectXConstantBufferElementInfo DirectXEffect