// d3dumddi.h
PFND3DDDI_SETVERTEXSHADERDECL Pfnd3dddiSetvertexshaderdecl;
HRESULT Pfnd3dddiSetvertexshaderdecl(
HANDLE hDevice,
HANDLE unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The SetVertexShaderDecl function sets the vertex shader declaration so that all of the subsequent drawing operations use that declaration.
hDeviceA handle to the display device (graphics context).
unnamedParam2hShaderHandle [in]
A handle to the vertex shader declaration object.
SetVertexShaderDecl returns S_OK or an appropriate error result if the vertex shader declaration is not successfully set.
After setting the vertex shader declaration, all of the drawing operations use that declaration until another declaration is selected.