Click or drag to resize
SoSFImage3SetSubValues Method (SbVec3s, SbVec3s, Int32, Byte, SoSFImage3CopyPolicies)
This method can be used for subtexturing.

Namespace: OIV.Inventor.Fields
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public void SetSubValues(
	SbVec3s[] subSizes,
	SbVec3s[] offsets,
	int num,
	byte[,] bytes,
	SoSFImage3CopyPolicies copy
)

Parameters

subSizes
Type: OIV.InventorSbVec3s
offsets
Type: OIV.InventorSbVec3s
num
Type: SystemInt32
bytes
Type: SystemByte
copy
Type: OIV.Inventor.FieldsSoSFImage3CopyPolicies
Remarks

Instead of replacing the texture in texture memory, only parts of it are replaced. This is much faster and uses less memory. In any case this method affects the texture in processor 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. Default CopyPolicies is COPY. See also StartEditing(), FinishEditing().

See Also