intrinsic-186 Set3DTextureFlags

Top  Previous  Next

186: Set3DTextureFlags(Handle, VarIndex, Enable);


This intrinsic sets various texture flags associated with a texture applied to a mesh by the Set3DTexture intrinsic.




Handle. This argument is an integer handle created by the Add3DObject intrinsic. It must be a mesh handle that specifies which mesh the Flags apply to.


VarIndex. This integer value specifies which Flag is being set.


0 = Enable. This flag enables or disables the current texture.

1 = Highlight. This flag adds specular highlights to the surface of the texture.


Enable. This is an integer Boolean that enables or disables the flag specified by the VarIndex value described above.