Expand Minimize

D3DDDIARG_CREATEPIXELSHADER structure

The D3DDDIARG_CREATEPIXELSHADER structure specifies a shader handle to associate with pixel shader code.

Syntax


typedef struct _D3DDDIARG_CREATEPIXELSHADER {
  UINT   CodeSize;
  HANDLE ShaderHandle;
} D3DDDIARG_CREATEPIXELSHADER;

Members

CodeSize

[in] The size, in bytes, of the pixel shader code that is passed in the pCode parameter in a call to the user-mode display driver's CreatePixelShader function.

ShaderHandle

[out] A handle to the pixel shader code.

Remarks

For more information about programming shader assemblers, see Processing Shader Codes.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

CreatePixelShader

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft