public class SoCpuBufferBasicProperty extends SoCpuBufferObject
See also:
SoBufferPropertiesInterface, SoCpuBufferObject
, SoCpuBufferUniform
, SoCpuBufferCompressed
SoBufferObject.AccessModes
Inventor.ConstructorCommand
READ_ONLY, READ_WRITE, SET, SO_BUFFER_SIZE_ALL
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoCpuBufferBasicProperty()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
double[] |
getMinMax()
Get the min and max values in the buffer, if they are known.
|
long |
getRealSize()
Returns the size of the buffer in bytes.
|
void |
setMinMax(double min,
double max)
Set the min and max values for this buffer.
|
clearInstance, map, map, map, map, memcpy, memcpy, memcpy, memcpy, setBuffer, setSize, unmap, unmap
createInstance, dispose, getBufferObjectCache, getContext, getMappedBufferObject, getMappingAccessMode, getMappingSize, getMappingStartPosition, getSize, isDisposable, lockBuffer, map, map, map, map, map, map, memcpy, memcpy, memcpy, memcpy, memcpy, memcpy, memcpy, memcpy, setMappedBufferObject, setMappingAccessMode, setMappingZoneInformation, unlockBuffer, unmap, unmap
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public long getRealSize()
SoBufferObject
.public double[] getMinMax()
min
- user variable to store min value
max
- user variable to store max valuepublic void setMinMax(double min, double max)
min
- user variable containing min value
max
- user variable containing max valueGenerated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com