public class SoCpuBufferBasicProperty extends SoCpuBufferObject
See also:
SoBufferPropertiesInterface, SoCpuBufferObject
, SoCpuBufferUniform
, SoCpuBufferCompressed
SoBufferObject.AccessModes
Inventor.ConstructorCommand
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, setBuffer, setSize
createInstance, dispose, getBufferObjectCache, getContext, getMappedBufferObject, getMappedBufferObjectAccessMode, getMappedBufferObjectPosition, getMappedBufferObjectSize, getSize, isDisposable, lockBuffer, map, map, map, map, map, map, memcpy, memcpy, memcpy, memcpy, unlockBuffer, unmap, unmap
getNativeResourceHandle
public void setMinMax(double min, double max)
min
- user variable containing min value
max
- user variable containing max valuepublic double[] getMinMax()
min
- user variable to store min value
max
- user variable to store max valuepublic long getRealSize()
SoBufferObject
.Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com