SoTextureEnabledElementDisableForShapeCache Method |
Specify that a texture unit is not used by any shape, so we don't have to invalidate cache when this texture is enable/disable/modified.
Namespace: OIV.Inventor.ElementsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax public static void DisableForShapeCache(
SoState state,
int unit,
bool disable
)
Public Shared Sub DisableForShapeCache (
state As SoState,
unit As Integer,
disable As Boolean
)
public:
static void DisableForShapeCache(
SoState^ state,
int unit,
bool disable
)
static member DisableForShapeCache :
state : SoState *
unit : int *
disable : bool -> unit
Parameters
- state
- Type: OIV.Inventor.MiscSoState
- unit
- Type: SystemInt32
- disable
- Type: SystemBoolean
Remarks See Also