Windows Dev Center

D3D_SHADER_DATA structure

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

Header

D3Dcompiler.h

See also

Structures

 

 

Community Additions

ADD
Show:
© 2015 Microsoft