Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Describes a shader constant-buffer.
Syntax
typedef struct _D3D10_SHADER_BUFFER_DESC {
LPCSTR Name;
D3D10_CBUFFER_TYPE Type;
UINT Variables;
UINT Size;
UINT uFlags;
} D3D10_SHADER_BUFFER_DESC;
Members
Name
Type: LPCSTR
The name of the buffer.
Type
Type: D3D10_CBUFFER_TYPE
The intended use of the constant data. See D3D10_CBUFFER_TYPE.
Variables
Type: UINT
The number of unique variables.
Size
Type: UINT
Buffer size (in bytes).
uFlags
Type: UINT
Shader buffer properties. See D3D10_SHADER_CBUFFER_FLAGS.
Remarks
Constants are supplied to shaders in a shader-constant buffer. Get the description of a shader-constant-buffer by calling ID3D10ShaderReflectionConstantBuffer::GetDesc.
Requirements
| Requirement | Value |
|---|---|
| Header | d3d10shader.h |