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 | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NC:d3dumddi.PFND3DDDI_SETVERTEXSHADERFUNC |
PFND3DDDI_SETVERTEXSHADERFUNC (d3dumddi.h) |
The SetVertexShaderFunc function sets the vertex shader code so that all of the subsequent drawing operations use that code. |
display\setvertexshaderfunc.htm |
display |
05/10/2018 |
|
PFND3DDDI_SETVERTEXSHADERFUNC, PFND3DDDI_SETVERTEXSHADERFUNC callback, SetVertexShaderFunc, SetVertexShaderFunc callback function [Display Devices], UserModeDisplayDriver_Functions_aeaa5094-5619-4cf5-b2c3-c4b6aeed9b33.xml, d3dumddi/SetVertexShaderFunc, display.setvertexshaderfunc |
d3dumddi.h |
D3dumddi.h |
Desktop |
Available in Windows Vista and later versions of the Windows operating systems. |
Windows |
|
|
|
|
|
The SetVertexShaderFunc function sets the vertex shader code so that all of the subsequent drawing operations use that code.
A handle to the display device (graphics context).
hShaderHandle [in]
A handle to the vertex shader code object.
SetVertexShaderFunc returns S_OK or an appropriate error result if the vertex shader code is not successfully set.
After setting the vertex shader code, all of the drawing operations use that code until another code is selected.
For user-mode display drivers that support vertex shaders before version 2.0, the Microsoft Direct3D runtime passes 0 in the hShaderHandle parameter to indicate a fixed-function pipeline. For user-mode display drivers that support vertex shader version 2.0 or later, the runtime converts Direct3D fixed-function vertex state to vertex shader version 2.0. For more information fixed-function state, see Converting the Direct3D Fixed-Function State.