SoTextureUnitElementActivateTextureUnit Method |
Activates the current texture if it exists.
Namespace: OIV.Inventor.ElementsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax public static bool ActivateTextureUnit(
SoState state,
int unit
)
Public Shared Function ActivateTextureUnit (
state As SoState,
unit As Integer
) As Boolean
public:
static bool ActivateTextureUnit(
SoState^ state,
int unit
)
static member ActivateTextureUnit :
state : SoState *
unit : int -> bool
Parameters
- state
- Type: OIV.Inventor.MiscSoState
- unit
- Type: SystemInt32
Return Value
Type:
BooleanRemarks Returned value indicates if it is successful.
See Also