D3D_SHADER_DATA structure (d3dcompiler.h)
Describes shader data.
Syntax
typedef struct _D3D_SHADER_DATA {
LPCVOID pBytecode;
SIZE_T BytecodeLength;
} D3D_SHADER_DATA;
Members
pBytecode
A pointer to shader data.
BytecodeLength
Length of shader data that pBytecode points to.
Remarks
An array of D3D_SHADER_DATA structures is passed to D3DCompressShaders to compress the shader data into a more compact form.
Requirements
Requirement | Value |
---|---|
Header | d3dcompiler.h |