Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Create a vertex-shader object from a compiled shader.
HRESULT CreateVertexShader(
[in] const void *pShaderBytecode,
[in] SIZE_T BytecodeLength,
[out] ID3D10VertexShader **ppVertexShader
);
[in] pShaderBytecode
Type: const void*
A pointer to the compiled shader. To get this pointer see Getting a Pointer to a Compiled Shader.
[in] BytecodeLength
Type: SIZE_T
Size of the compiled vertex shader.
[out] ppVertexShader
Type: ID3D10VertexShader**
Address of a pointer to an ID3D10VertexShader Interface. If this is NULL, all other parameters will be validated, and if all parameters pass validation this API will return S_FALSE instead of S_OK.
Type: HRESULT
This method returns one of the following Direct3D 10 Return Codes.
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d10.h |
Library | D3D10.lib |
Events
Apr 8, 3 PM - May 28, 7 AM
Sharpen your AI skills and enter the sweepstakes to win a free Certification exam
Register now!