Click or drag to resize
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.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public 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
)

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
Remarks

This 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