Direct3DDevice8.GetPixelShaderFunction
Retrieves the pixel shader function.
object.GetPixelShaderFunction( _
Handle As Long, _
Data As Any, _
SizeOfData As Long)
Parts
- object
- Object expression that resolves to a Direct3DDevice8 object.
- Handle
- Handle to the referred to pixel shader.
- Data
- First element of an array to be filled with the code associated with the requested pixel shader handle, if the call succeeds.
- SizeOfData
- Size of the array at Data, in bytes. If this value is less than the actual size of the data (such as 0) the method sets this parameter to the required buffer size, and the method returns D3DERR_MOREDATA. If Data is ByVal 0, then this parameter is filled with the required size and D3D_OK is returned.
Error Codes
If the method fails, an error is raised and Err.Number can be set to D3DERR_INVALIDCALL.
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.
Remarks
The pixel shader function specifies blending operations.
See Also
Direct3DDevice8.GetPixelShader