Click or drag to resize
SoSFImage3SetSubValue Method (SbVec3s, SbVec3s, Byte, SoSFImage3CopyPolicies)

These methods may be used for subtexturing: instead of replacing the entire texture in texture memory, only parts of it are replaced.

Namespace: OIV.Inventor.Fields
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.36.0 (9.9.36.0)
Syntax
public void SetSubValue(
	SbVec3s subSize,
	SbVec3s offset,
	byte[] bytes,
	SoSFImage3CopyPolicies copy
)

Parameters

subSize
Type: OIV.InventorSbVec3s
offset
Type: OIV.InventorSbVec3s
bytes
Type: SystemByte
copy
Type: OIV.Inventor.FieldsSoSFImage3CopyPolicies
Remarks

This is much faster and uses less memory. In any case these methods affect the texture in system memory. Note that the sub-images must have the same number of components as the one contained in this object. The texture in texture memory will not actually be modified until the next render traversal.

See Also