SoTextureImageElementSet Method (SoState, SoNode, SbVec2s, Int32, SbNativeArrayByte, SoBufferObject, SoSFImageDataTypes, Int32, SoRenderToTextureProperty, Int32, Int32, Int32, Int32, SbColor, Single, Boolean, SbVec4f, Boolean, Int32, Int32, Int32) |
Note: This API is now obsolete.
Sets the current image, wrap, and model.
Namespace: OIV.Inventor.ElementsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax[ObsoleteAttribute("See documentation for more details")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static void Set(
SoState state,
SoNode node,
SbVec2s size,
int numComponents,
SbNativeArray<byte> buffer,
SoBufferObject bufferObject,
SoSFImageDataTypes dataType,
int GLInternalFormat,
SoRenderToTextureProperty renderToTexProp,
int wrapS,
int wrapT,
int wrapR,
int model,
SbColor blendColor,
float maxAnisotropy,
bool enableBorder,
SbVec4f borderColor,
bool isCompressed,
int numCompressedMipmaps,
int hasTransparency,
int currentTexture
)
<ObsoleteAttribute("See documentation for more details")>
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
Public Shared Sub Set (
state As SoState,
node As SoNode,
size As SbVec2s,
numComponents As Integer,
buffer As SbNativeArray(Of Byte),
bufferObject As SoBufferObject,
dataType As SoSFImageDataTypes,
GLInternalFormat As Integer,
renderToTexProp As SoRenderToTextureProperty,
wrapS As Integer,
wrapT As Integer,
wrapR As Integer,
model As Integer,
blendColor As SbColor,
maxAnisotropy As Single,
enableBorder As Boolean,
borderColor As SbVec4f,
isCompressed As Boolean,
numCompressedMipmaps As Integer,
hasTransparency As Integer,
currentTexture As Integer
)
public:
[ObsoleteAttribute(L"See documentation for more details")]
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
static void Set(
SoState^ state,
SoNode^ node,
SbVec2s size,
int numComponents,
SbNativeArray<unsigned char>^ buffer,
SoBufferObject^ bufferObject,
SoSFImageDataTypes dataType,
int GLInternalFormat,
SoRenderToTextureProperty^ renderToTexProp,
int wrapS,
int wrapT,
int wrapR,
int model,
SbColor blendColor,
float maxAnisotropy,
bool enableBorder,
SbVec4f borderColor,
bool isCompressed,
int numCompressedMipmaps,
int hasTransparency,
int currentTexture
)
[<ObsoleteAttribute("See documentation for more details")>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
static member Set :
state : SoState *
node : SoNode *
size : SbVec2s *
numComponents : int *
buffer : SbNativeArray<byte> *
bufferObject : SoBufferObject *
dataType : SoSFImageDataTypes *
GLInternalFormat : int *
renderToTexProp : SoRenderToTextureProperty *
wrapS : int *
wrapT : int *
wrapR : int *
model : int *
blendColor : SbColor *
maxAnisotropy : float32 *
enableBorder : bool *
borderColor : SbVec4f *
isCompressed : bool *
numCompressedMipmaps : int *
hasTransparency : int *
currentTexture : int -> unit
Parameters
- state
- Type: OIV.Inventor.MiscSoState
- node
- Type: OIV.Inventor.NodesSoNode
- size
- Type: OIV.InventorSbVec2s
- numComponents
- Type: SystemInt32
- buffer
- Type: OIV.Inventor.GenericSbNativeArrayByte
- bufferObject
- Type: OIV.Inventor.DevicesSoBufferObject
- dataType
- Type: OIV.Inventor.FieldsSoSFImageDataTypes
- GLInternalFormat
- Type: SystemInt32
- renderToTexProp
- Type: OIV.Inventor.NodesSoRenderToTextureProperty
- 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
- isCompressed
- Type: SystemBoolean
- numCompressedMipmaps
- Type: SystemInt32
- hasTransparency
- Type: SystemInt32
- currentTexture
- Type: SystemInt32
RemarksObsoletesince Open Inventor 9400
Specify the size with a SbVec2i32 instead.
See Also