_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

   
Windows version Available in Windows Vista and later versions of the Windows operating systems. Available in Windows Vista and later versions of the Windows operating systems.
Header d3dumddi.h (include D3dumddi.h)

See Also

CreatePixelShader