Returns the type of the resource.
Syntax
D3DRESOURCETYPE GetType(VOID);
Return Value
Returns a member of the D3DRESOURCETYPE enumerated type, identifying the type of the resource.