UID | title | description | old-location | tech.root | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | f1_keywords | topic_type | api_type | api_location | api_name | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NS:d3dhal._D3DHAL_DP2CREATEPIXELSHADER |
_D3DHAL_DP2CREATEPIXELSHADER (d3dhal.h) |
DirectX 8.0 and later versions only. The D3DHAL_DP2CREATEPIXELSHADER structure is used to create a pixel shader when a D3DDP2OP_CREATEPIXELSHADER opcode is received by D3dDrawPrimitives2. |
display\d3dhal_dp2createpixelshader.htm |
display |
05/10/2018 |
|
*LPD3DHAL_DP2CREATEPIXELSHADER, D3DHAL_DP2CREATEPIXELSHADER, D3DHAL_DP2CREATEPIXELSHADER structure [Display Devices], LPD3DHAL_DP2CREATEPIXELSHADER, LPD3DHAL_DP2CREATEPIXELSHADER structure pointer [Display Devices], _D3DHAL_DP2CREATEPIXELSHADER, d3dhal/D3DHAL_DP2CREATEPIXELSHADER, d3dhal/LPD3DHAL_DP2CREATEPIXELSHADER, d3dstrct_b17c15ca-697a-407b-b304-ac52ccf6ce6e.xml, display.d3dhal_dp2createpixelshader |
d3dhal.h |
D3dhal.h |
Windows |
Windows |
D3DHAL_DP2CREATEPIXELSHADER |
|
|
|
|
|
DirectX 8.0 and later versions only.
The D3DHAL_DP2CREATEPIXELSHADER structure is used to create a pixel shader when a D3DDP2OP_CREATEPIXELSHADER opcode is received by D3dDrawPrimitives2.
Specifies the handle to the pixel shader that is assigned by the runtime. This value is guaranteed to be subzero.
Specifies the size, in bytes, of the shader code following this data structure in the DP2 stream.
The runtime generates a handle for this shader before calling the driver. The shader code itself follows the D3DHAL_DP2CREATEPIXELSHADER in the DP2 stream. See Direct3D Driver Shader Codes for information about the format of an individual shader code and the tokens that comprise each shader code.
Before calling the driver, the runtime validates the pixel shader code to ensure that it is legal for the specified shader language version.
It is important to note that the creation of a pixel shader does not imply the setting of the current shader.
D3DDP2OP_CREATEPIXELSHADER