SoGLTextureImage3ElementSet Method (SoState, SoNode, SbVec3s, Int32, Byte, SoBufferObject, Int32, Single, Int32, Int32, Int32, Int32, SbColor, Single, Boolean, SbVec4f, SoGLDisplayList, Boolean) |
Sets the current image, wrap modes and model.
Namespace: OIV.Inventor.ElementsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.36.0 (9.9.36.0)
Syntaxpublic static SoGLDisplayList Set(
SoState state,
SoNode node,
SbVec3s s,
int nc,
byte[] bytes,
SoBufferObject bufferObject,
int GLInternalFormat,
float texQuality,
int wrapS,
int wrapT,
int wrapR,
int model,
SbColor blendColor,
float _maxAnisotropy,
bool _enableBorder,
SbVec4f _borderColor,
SoGLDisplayList list,
bool enableCompressedTexture
)
Public Shared Function Set (
state As SoState,
node As SoNode,
s As SbVec3s,
nc As Integer,
bytes As Byte(),
bufferObject As SoBufferObject,
GLInternalFormat As Integer,
texQuality As Single,
wrapS As Integer,
wrapT As Integer,
wrapR As Integer,
model As Integer,
blendColor As SbColor,
_maxAnisotropy As Single,
_enableBorder As Boolean,
_borderColor As SbVec4f,
list As SoGLDisplayList,
enableCompressedTexture As Boolean
) As SoGLDisplayList
public:
static SoGLDisplayList^ Set(
SoState^ state,
SoNode^ node,
SbVec3s s,
int nc,
array<unsigned char>^ bytes,
SoBufferObject^ bufferObject,
int GLInternalFormat,
float texQuality,
int wrapS,
int wrapT,
int wrapR,
int model,
SbColor blendColor,
float _maxAnisotropy,
bool _enableBorder,
SbVec4f _borderColor,
SoGLDisplayList^ list,
bool enableCompressedTexture
)
static member Set :
state : SoState *
node : SoNode *
s : SbVec3s *
nc : int *
bytes : byte[] *
bufferObject : SoBufferObject *
GLInternalFormat : int *
texQuality : float32 *
wrapS : int *
wrapT : int *
wrapR : int *
model : int *
blendColor : SbColor *
_maxAnisotropy : float32 *
_enableBorder : bool *
_borderColor : SbVec4f *
list : SoGLDisplayList *
enableCompressedTexture : bool -> SoGLDisplayList
Parameters
- state
- Type: OIV.Inventor.MiscSoState
- node
- Type: OIV.Inventor.NodesSoNode
- s
- Type: OIV.InventorSbVec3s
- nc
- Type: SystemInt32
- bytes
- Type: SystemByte
- bufferObject
- Type: OIV.Inventor.DevicesSoBufferObject
- GLInternalFormat
- Type: SystemInt32
- texQuality
- Type: SystemSingle
- wrapS
- Type: SystemInt32
- wrapT
- Type: SystemInt32
- wrapR
- Type: SystemInt32
- model
- Type: SystemInt32
- blendColor
- Type: OIV.InventorSbColor
- _maxAnisotropy
- Type: SystemSingle
- _enableBorder
- Type: SystemBoolean
- _borderColor
- Type: OIV.InventorSbVec4f
- list
- Type: OIV.Inventor.OglObjectsSoGLDisplayList
- enableCompressedTexture
- Type: SystemBoolean
Return Value
Type:
SoGLDisplayList
RemarksThis will try to build or use a GL display list, if it can; the display list ID is returned (-1 if there is none), and should be saved and passed in the next time the element is set. The node calling this routine is responsible for calling glDeleteLists to free up the display list at the right time.
See Also