SoSFImage3SetSubValues Method (SbVec3s, SbVec3s, Int32, Byte, SoSFImage3CopyPolicies) |
This method can be used for subtexturing.
Namespace: OIV.Inventor.FieldsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntaxpublic void SetSubValues(
SbVec3s[] subSizes,
SbVec3s[] offsets,
int num,
byte[,] bytes,
SoSFImage3CopyPolicies copy
)
Public Sub SetSubValues (
subSizes As SbVec3s(),
offsets As SbVec3s(),
num As Integer,
bytes As Byte(,),
copy As SoSFImage3CopyPolicies
)
public:
void SetSubValues(
array<SbVec3s>^ subSizes,
array<SbVec3s>^ offsets,
int num,
array<unsigned char,2>^ bytes,
SoSFImage3CopyPolicies copy
)
member SetSubValues :
subSizes : SbVec3s[] *
offsets : SbVec3s[] *
num : int *
bytes : byte[,] *
copy : SoSFImage3CopyPolicies -> unit
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