SoCallbackActionGetTextureImage Method (SbVec2s, Int32) |
Note: This API is now obsolete.
Returns texture information from the state.
Namespace: OIV.Inventor.ActionsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax [ObsoleteAttribute("Obsolete since Open Inventor 9400. Use a SbVec2i32 as the size parameter since a short can overflow.")]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public SbNativeArray<byte> GetTextureImage(
out SbVec2s size,
out int numComps
)
<ObsoleteAttribute("Obsolete since Open Inventor 9400. Use a SbVec2i32 as the size parameter since a short can overflow.")>
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
Public Function GetTextureImage (
<OutAttribute> ByRef size As SbVec2s,
<OutAttribute> ByRef numComps As Integer
) As SbNativeArray(Of Byte)
public:
[ObsoleteAttribute(L"Obsolete since Open Inventor 9400. Use a SbVec2i32 as the size parameter since a short can overflow.")]
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
SbNativeArray<unsigned char>^ GetTextureImage(
[OutAttribute] SbVec2s% size,
[OutAttribute] int% numComps
)
[<ObsoleteAttribute("Obsolete since Open Inventor 9400. Use a SbVec2i32 as the size parameter since a short can overflow.")>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
member GetTextureImage :
size : SbVec2s byref *
numComps : int byref -> SbNativeArray<byte>
Parameters
- size
- Type: OIV.InventorSbVec2s
- numComps
- Type: SystemInt32
Return Value
Type:
SbNativeArrayByteRemarks OIV.Inventor.Actions.SoCallbackAction.GetTextureImage(OIV.Inventor.SbVec2i32@, System.Int32@) returns NULL if no texture is enabled.
Caution |
---|
Obsolete since Open Inventor 9400. Use a OIV.Inventor.SbVec2i32 as the size parameter since a short can overflow. |
See Also