Microsoft DirectX 8.1 (Visual Basic)

Direct3DDevice8.GetVertexShader

Retrieves the currently set vertex shader.

object.GetVertexShader() As Long

Parts

object
Object expression that resolves to a Direct3DDevice8 object.

Return Values

Vertex shader handle, representing the returned vertex shader.

Error Codes

If the method fails, an error is raised and Err.Number can be set to D3DERR_INVALIDCALL if the Direct3DDevice object is invalid.

For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.

See Also

Direct3DDevice8.SetVertexShader