Bewerken

Delen via


D3DDDIARG_CREATEPIXELSHADER structure (d3dumddi.h)

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

Syntax

typedef struct _D3DDDIARG_CREATEPIXELSHADER {
  [in]  UINT   CodeSize;
  [out] HANDLE ShaderHandle;
} D3DDDIARG_CREATEPIXELSHADER;

Members

[in] CodeSize

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.

[out] ShaderHandle

A handle to the pixel shader code.

Remarks

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

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3dumddi.h (include D3dumddi.h)

See also

CreatePixelShader