SoMemoryDataAdapterCreateMemoryDataAdapter Method |
Factory method that creates an adapter from an existing block of memory.
Namespace: OIV.ImageViz.Nodes.ImagesAssembly: OIV.ImageViz (in OIV.ImageViz.dll) Version: 10.3.0.0 (10.3.0.0)
Syntax public static SoMemoryDataAdapter CreateMemoryDataAdapter(
SbVec4i32 dimension,
SbImageDataType imageInfos,
SoMemoryDataAdapterLayerOrganizations organization,
SoBufferObject data
)
Public Shared Function CreateMemoryDataAdapter (
dimension As SbVec4i32,
imageInfos As SbImageDataType,
organization As SoMemoryDataAdapterLayerOrganizations,
data As SoBufferObject
) As SoMemoryDataAdapter
public:
static SoMemoryDataAdapter^ CreateMemoryDataAdapter(
SbVec4i32 dimension,
SbImageDataType imageInfos,
SoMemoryDataAdapterLayerOrganizations organization,
SoBufferObject^ data
)
static member CreateMemoryDataAdapter :
dimension : SbVec4i32 *
imageInfos : SbImageDataType *
organization : SoMemoryDataAdapterLayerOrganizations *
data : SoBufferObject -> SoMemoryDataAdapter
Parameters
- dimension
- Type: OIV.InventorSbVec4i32
Dimension of the buffer (width, height, depth, timestep).
- imageInfos
- Type: OIV.ImageVizSbImageDataType
Define the format type of data.
- organization
- Type: OIV.ImageViz.Nodes.ImagesSoMemoryDataAdapterLayerOrganizations
Define the organization of layers.
- data
- Type: OIV.Inventor.DevicesSoBufferObject
Buffer object to map. If #data is NULL, a buffer is provided to simulated a blank image.
Return Value
Type:
SoMemoryDataAdapterRemarks See Also