Skip to content

DXHandleType

DXHandleType

Returns a handle type.

ENUM_DX_HANDLE_TYPE  DXHandleType(
   int  handle      // handle
   );

Parameters

handle

[in] Handle.

Return Value

The value from the ENUM_DX_HANDLE_TYPE enumeration

ENUM_DX_HANDLE_TYPE

IDValueDescription
DX_HANDLE_INVALID0Invalid handle
DX_HANDLE_CONTEXT1Graphic context handle
DX_HANDLE_SHADER2Shader handle
DX_HANDLE_BUFFER3Vertex or index buffer handle
DX_HANDLE_INPUT4Handle for shader inputs
DX_HANDLE_TEXTURE5Texture handle
Last updated on