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: 9.9.13.0 (9.9.13.0)
Syntax[EditorBrowsableAttribute(EditorBrowsableState.Never)]
[ObsoleteAttribute("See documentation for more details")]
public SbNativeArray<byte> GetTextureImage(
out SbVec2s size,
out int numComps
)
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
<ObsoleteAttribute("See documentation for more details")>
Public Function GetTextureImage (
<OutAttribute> ByRef size As SbVec2s,
<OutAttribute> ByRef numComps As Integer
) As SbNativeArray(Of Byte)
public:
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[ObsoleteAttribute(L"See documentation for more details")]
SbNativeArray<unsigned char>^ GetTextureImage(
[OutAttribute] SbVec2s% size,
[OutAttribute] int% numComps
)
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
[<ObsoleteAttribute("See documentation for more details")>]
member GetTextureImage :
size : SbVec2s byref *
numComps : int byref -> SbNativeArray<byte>
Parameters
- size
- Type: OIV.InventorSbVec2s
- numComps
- Type: SystemInt32
Return Value
Type:
SbNativeArrayByte
RemarksgetTextureImage() returns NULL if no texture is enabled. Obsoletesince Open Inventor 9400
Use a SbVec2i32 as the size parameter since a short can overflow.
See Also