SoVolumeReaderGetSizeToAllocate Method |
Namespace: OIV.LDM.ReadersAssembly: OIV.LDM (in OIV.LDM.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public SbVec3i32 GetSizeToAllocate(
SbVec3i32 realSize,
SbVec3i32 subsamplingLevel
)
Public Function GetSizeToAllocate (
realSize As SbVec3i32,
subsamplingLevel As SbVec3i32
) As SbVec3i32
public:
SbVec3i32 GetSizeToAllocate(
SbVec3i32 realSize,
SbVec3i32 subsamplingLevel
)
member GetSizeToAllocate :
realSize : SbVec3i32 *
subsamplingLevel : SbVec3i32 -> SbVec3i32
Parameters
- realSize
- Type: OIV.InventorSbVec3i32
- subsamplingLevel
- Type: OIV.InventorSbVec3i32
Return Value
Type:
SbVec3i32Remarks If the reader uses the NO_COPY policy, this method returns the size to allocate for the brick. For each axis of the brick, this size is:
(first power of 2 greater than realSize) / ( 2** subsamplingLevel)
See Also