Microsoft DirectX 9.0 |
The GetDefaultEffectB method retrieves the default effect. If the render engine cannot render an effect, it substitutes the default effect.
Syntax
object.GetDefaultEffectB() As String
Parameters
This method takes no parameters.
Return Value
Returns a string that contains the GUID of the default effect.
Error Codes
If the method fails, an error is raised, and Err.Number can be set to the following value:
Value | Description |
E_OUTOFMEMORY | Insufficient memory. |
See Also