Describes shader data.
typedef struct _D3D_SHADER_DATA {
LPCVOID pBytecode;
SIZE_T BytecodeLength;
} D3D_SHADER_DATA;
pBytecode
A pointer to shader data.
BytecodeLength
Length of shader data that pBytecode points to.
An array of D3D_SHADER_DATA structures is passed to D3DCompressShaders to compress the shader data into a more compact form.
Header: Declared in d3dcompiler.h.
Library: Use d3d11.lib.