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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for