Package com.openinventor.ldm.tiles
Class SoCpuBufferAsyncBasicProperty
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.devices.SoBufferObject
-
- com.openinventor.inventor.devices.SoCpuBufferObject
-
- com.openinventor.ldm.tiles.SoCpuBufferBasicProperty
-
- com.openinventor.ldm.tiles.SoCpuBufferAsyncBasicProperty
-
- All Implemented Interfaces:
SafeDisposable
public class SoCpuBufferAsyncBasicProperty extends SoCpuBufferBasicProperty
LDM buffer object handling basic LDM tile information and implementing asynchronous buffer interface. This type of buffer represents a standard LDM tile.SoBufferAsyncInterface SoBufferPropertiesInterface
- See Also:
SoCpuBufferObject,SoCpuBufferUniform,SoCpuBufferCompressed
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.devices.SoBufferObject
SoBufferObject.AccessModes
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.devices.SoBufferObject
SO_BUFFER_SIZE_ALL
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoCpuBufferAsyncBasicProperty()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisInMemory()Return true if the data attached to this buffer are not currently available.voidrequestRefetch(SoBufferAsyncNotifierInterface asyncNotifier, double weight)Ask to initiate an ansynchronous load of the data if not already in memory.-
Methods inherited from class com.openinventor.ldm.tiles.SoCpuBufferBasicProperty
getMinMax, getRealSize, setMinMax
-
Methods inherited from class com.openinventor.inventor.devices.SoCpuBufferObject
clearInstance, setBuffer, setSize
-
Methods inherited from class com.openinventor.inventor.devices.SoBufferObject
createInstance, dispose, getBufferObjectCache, getContext, getMappedBufferObject, getMappedBufferObjectAccessMode, getMappedBufferObjectPosition, getMappedBufferObjectSize, getSize, isDisposable, lockBuffer, map, map, map, map, map, map, memcpy, memcpy, memcpy, memcpy, unlockBuffer, unmap, unmap
-
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
-
-
-
Method Detail
-
requestRefetch
public void requestRefetch(SoBufferAsyncNotifierInterface asyncNotifier, double weight)
Ask to initiate an ansynchronous load of the data if not already in memory. Application must call asyncNotifier->resourceChangeNotify() In order to let LDM for example know that some new data are available.
-
isInMemory
public boolean isInMemory()
Return true if the data attached to this buffer are not currently available.
-
-