| SoCpuBufferUniform Class |
LDM buffer object optimized for uniform (single value) tile data.
Namespace: OIV.LDM.Tiles
The SoCpuBufferUniform type exposes the following members.
| Name | Description | |
|---|---|---|
| SoCpuBufferUniform | Default constructor. | |
| SoCpuBufferUniform(Double, SbDataType) | Constructor. |
| Name | Description | |
|---|---|---|
| ClearInstance | This function clears the content of the buffer, it frees the memory if the mode was COPY. | |
| CreateInstance | Create a new buffer with the same properties as the current one. | |
| Dispose |
Releases all resources used by SoDisposable.
(Inherited from SoDisposable.) | |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| FillT |
Convenient method to fill an SoBufferObject with
a default value.
(Inherited from SoBufferObject.) | |
| GetContext | Returns the device context where this buffer is valid. | |
| GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
| GetLongMappingSize | Obsolete. Returns the size of the mapped area in bytes. | |
| GetLongMappingStartPosition | Obsolete. Returns the position in the source buffer mapped in this buffer. | |
| GetLongRealSize | Obsolete. Returns the real size of the buffer in bytes. | |
| GetLongSize | Obsolete. Returns the size, in bytes, of the buffer object. | |
| GetMappedBufferObject | Returns a pointer to the buffer object which is mapped by the actual object. | |
| GetMappingAccessMode | Returns the access mode used for the buffer mapping. | |
| GetMappingSize | Returns the size of the mapped area in bytes. | |
| GetMappingStartPosition | Returns the position in the source buffer mapped in this buffer. | |
| GetMinMax | Get the min and max values in the buffer, if they are known. | |
| GetRealSize | Returns the real size of the buffer in bytes. | |
| GetSize | Returns the size, in bytes, of the buffer object. | |
| GetType | Get the type of the value of the uniform tile. | |
| GetValue | Get the value of the uniform tile. | |
| LockBuffer | Locks the buffer against concurrent calls from different threads. | |
| Map(SoBufferObjectAccessModes) | Returns a pointer to the memory array used for the storage of the buffer. | |
| Map(SoBufferObject, SoBufferObjectAccessModes) | Calls Map(targetBufferObject, accessMode, System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)). | |
| Map(SoCpuBufferObject, SoBufferObjectAccessModes) | Calls Map(targetBufferObject, accessMode, System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)). | |
| Map(SoGLBufferObject, SoBufferObjectAccessModes) | Calls Map(targetBufferObject, accessMode, System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)). | |
| Map(SoBufferObject, SoBufferObjectAccessModes, UInt64) | Calls Map(targetBufferObject, accessMode, startPosition, System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)). | |
| Map(SoCpuBufferObject, SoBufferObjectAccessModes, UInt64) | Calls Map(targetBufferObject, accessMode, startPosition, System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)). | |
| Map(SoGLBufferObject, SoBufferObjectAccessModes, UInt64) | Calls Map(targetBufferObject, accessMode, startPosition, System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)). | |
| Map(SoBufferObject, SoBufferObjectAccessModes, UInt64, UInt64) | Map the current buffer object into the specified buffer object. | |
| Map(SoCpuBufferObject, SoBufferObjectAccessModes, UInt64, UInt64) | Map the current buffer object into the specified CPU buffer object. | |
| Map(SoGLBufferObject, SoBufferObjectAccessModes, UInt64, UInt64) | Map the current buffer object into the specified GL buffer object. | |
| Memcpy(SoBufferObject) | Calls Memcpy(sourceBufferObject, System.UInt64(0), System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)). (Inherited from SoCpuBufferObject.) | |
| Memcpy(SoCpuBufferObject) | Calls Memcpy(sourceBufferObject, System.UInt64(0), System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)). (Inherited from SoCpuBufferObject.) | |
| Memcpy(SoGLBufferObject) | Calls Memcpy(sourceBufferObject, System.UInt64(0), System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)). (Inherited from SoCpuBufferObject.) | |
| Memcpy(SoBufferObject, UInt64) | Calls Memcpy(sourceBufferObject, destOffset, System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)). (Inherited from SoCpuBufferObject.) | |
| Memcpy(SoCpuBufferObject, UInt64) | Calls Memcpy(sourceBufferObject, destOffset, System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)). (Inherited from SoCpuBufferObject.) | |
| Memcpy(SoGLBufferObject, UInt64) | Calls Memcpy(sourceBufferObject, destOffset, System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)). (Inherited from SoCpuBufferObject.) | |
| Memcpy(SoBufferObject, UInt64, UInt64) | Calls Memcpy(sourceBufferObject, destOffset, sourceOffset, System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)). (Inherited from SoCpuBufferObject.) | |
| Memcpy(SoCpuBufferObject, UInt64, UInt64) | Calls Memcpy(sourceBufferObject, destOffset, sourceOffset, System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)). (Inherited from SoCpuBufferObject.) | |
| Memcpy(SoGLBufferObject, UInt64, UInt64) | Calls Memcpy(sourceBufferObject, destOffset, sourceOffset, System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)). (Inherited from SoCpuBufferObject.) | |
| Memcpy(SoBufferObject, UInt64, UInt64, UInt64) | Memcpy the contents of sourceBufferObject into this buffer object. | |
| Memcpy(SoCpuBufferObject, UInt64, UInt64, UInt64) | Copy data from the specified CPU buffer object into this buffer object. | |
| Memcpy(SoGLBufferObject, UInt64, UInt64, UInt64) | Copy data from the specified GL buffer object into this buffer object. | |
| Memset(IntPtr) | Calls Memset(data, System.Convert.ToUInt64(1), System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)). | |
| Memset(IntPtr, UInt64) | Calls Memset(data, dataSize, System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)). | |
| Memset(IntPtr, UInt64, UInt64) | Calls Memset(data, dataSize, offset, System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)). | |
| Memset(IntPtr, UInt64, UInt64, UInt64) | This function sets the contents of (or a portion of) the buffer object to the specified value. | |
| SetMappedBufferObject | This function is used when the instance of buffer object is used to map a buffer. | |
| SetMappingAccessMode | Sets the mapping mode used for the mapping of a buffer object. | |
| SetMappingZoneInformation | Stores information about the mapping in order to know the subset of the data mapped in the buffer. | |
| SetSize | Sets the size in bytes of the buffer object. | |
| SetValue | Set the value and data type for this uniform buffer. | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| UnlockBuffer | Unlocks the buffer object. | |
| Unmap | Unmap a mapped buffer. | |
| Unmap(SoBufferObject) | Remove the specified bufferObject from the list of buffers which map the current buffer. | |
| Unmap(SoCpuBufferObject) | Unmap the specified CPU buffer object It is defined just to speed up the call when the type of the object is known. | |
| Unmap(SoGLBufferObject) | Unmap the specified GL buffer object It is defined just to speed up the call when the type of the object is known. |
| Name | Description | |
|---|---|---|
| IsDisposable | ISafeDisposable interface implementation.
(Inherited from SoDisposable.) |
This type of buffer efficiently represents a uniform tile, in other words a tile in which every value is the same. The buffer can be used like any other buffer, but uses very little memory when its contents are not actually being accessed.