Click or drag to resize
SoCpuBufferCompressed Class

LDM buffer object optimized for compressed tile data.

Inheritance Hierarchy

Namespace: OIV.LDM.Tiles
Assembly: OIV.LDM (in OIV.LDM.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public class SoCpuBufferCompressed : SoCpuBufferObject

The SoCpuBufferCompressed type exposes the following members.

Constructors
Methods
  NameDescription
Public methodClearInstance

This function clears the content of the buffer, it frees the memory if the mode was COPY.

(Inherited from SoCpuBufferObject.)
Public methodCreateInstance

Create a new buffer with the same properties as the current one.

(Inherited from SoCpuBufferObject.)
Public methodDispose
Releases all resources used by SoDisposable.
(Inherited from SoDisposable.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFillT
Convenient method to fill an SoBufferObject with a default value.
(Inherited from SoBufferObject.)
Public methodGetContext

Returns the device context where this buffer is valid.

(Inherited from SoBufferObject.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetLongMappingSize Obsolete.

Returns the size of the mapped area in bytes.

(Inherited from SoBufferObject.)
Public methodGetLongMappingStartPosition Obsolete.

Returns the position in the source buffer mapped in this buffer.

(Inherited from SoBufferObject.)
Public methodGetLongRealSize Obsolete.

Returns the size of the uncompressed data in bytes.

Public methodGetLongSize Obsolete.

Returns the size, in bytes, of the buffer object.

(Inherited from SoBufferObject.)
Public methodGetMappedBufferObject

Returns a pointer to the buffer object which is mapped by the actual object.

(Inherited from SoBufferObject.)
Public methodGetMappingAccessMode

Returns the access mode used for the buffer mapping.

(Inherited from SoBufferObject.)
Public methodGetMappingSize

Returns the size of the mapped area in bytes.

(Inherited from SoBufferObject.)
Public methodGetMappingStartPosition

Returns the position in the source buffer mapped in this buffer.

(Inherited from SoBufferObject.)
Public methodGetMinMax

Get the min and max values in the buffer, if they are known.

Public methodGetRealSize

Returns the size of the uncompressed data in bytes.

Public methodGetSize

Returns the size, in bytes, of the buffer object.

(Inherited from SoBufferObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLockBuffer

Locks the buffer against concurrent calls from different threads.

(Inherited from SoBufferObject.)
Public methodMap(SoBufferObjectAccessModes)

Returns a pointer to the memory array used for the storage of the buffer.

(Overrides SoCpuBufferObjectMap(SoBufferObjectAccessModes).)
Public methodMap(SoBufferObject, SoBufferObjectAccessModes)
Calls Map(targetBufferObject, accessMode, System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
Public methodMap(SoCpuBufferObject, SoBufferObjectAccessModes)
Calls Map(targetBufferObject, accessMode, System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
Public methodMap(SoGLBufferObject, SoBufferObjectAccessModes)
Calls Map(targetBufferObject, accessMode, System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
Public methodMap(SoBufferObject, SoBufferObjectAccessModes, UInt64)
Calls Map(targetBufferObject, accessMode, startPosition, System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
Public methodMap(SoCpuBufferObject, SoBufferObjectAccessModes, UInt64)
Calls Map(targetBufferObject, accessMode, startPosition, System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
Public methodMap(SoGLBufferObject, SoBufferObjectAccessModes, UInt64)
Calls Map(targetBufferObject, accessMode, startPosition, System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
Public methodMap(SoBufferObject, SoBufferObjectAccessModes, UInt64, UInt64)

Map the current buffer object into the specified buffer object.

(Overrides SoCpuBufferObjectMap(SoBufferObject, SoBufferObjectAccessModes, UInt64, UInt64).)
Public methodMap(SoCpuBufferObject, SoBufferObjectAccessModes, UInt64, UInt64)

Map the current buffer object into the specified CPU buffer object.

(Overrides SoCpuBufferObjectMap(SoCpuBufferObject, SoBufferObjectAccessModes, UInt64, UInt64).)
Public methodMap(SoGLBufferObject, SoBufferObjectAccessModes, UInt64, UInt64)

Map the current buffer object into the specified GL buffer object.

(Overrides SoCpuBufferObjectMap(SoGLBufferObject, SoBufferObjectAccessModes, UInt64, UInt64).)
Public methodMemcpy(SoBufferObject)
Calls Memcpy(sourceBufferObject, System.UInt64(0), System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
(Inherited from SoCpuBufferObject.)
Public methodMemcpy(SoCpuBufferObject)
Calls Memcpy(sourceBufferObject, System.UInt64(0), System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
(Inherited from SoCpuBufferObject.)
Public methodMemcpy(SoGLBufferObject)
Calls Memcpy(sourceBufferObject, System.UInt64(0), System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
(Inherited from SoCpuBufferObject.)
Public methodMemcpy(SoBufferObject, UInt64)
Calls Memcpy(sourceBufferObject, destOffset, System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
(Inherited from SoCpuBufferObject.)
Public methodMemcpy(SoCpuBufferObject, UInt64)
Calls Memcpy(sourceBufferObject, destOffset, System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
(Inherited from SoCpuBufferObject.)
Public methodMemcpy(SoGLBufferObject, UInt64)
Calls Memcpy(sourceBufferObject, destOffset, System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
(Inherited from SoCpuBufferObject.)
Public methodMemcpy(SoBufferObject, UInt64, UInt64)
Calls Memcpy(sourceBufferObject, destOffset, sourceOffset, System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
(Inherited from SoCpuBufferObject.)
Public methodMemcpy(SoCpuBufferObject, UInt64, UInt64)
Calls Memcpy(sourceBufferObject, destOffset, sourceOffset, System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
(Inherited from SoCpuBufferObject.)
Public methodMemcpy(SoGLBufferObject, UInt64, UInt64)
Calls Memcpy(sourceBufferObject, destOffset, sourceOffset, System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
(Inherited from SoCpuBufferObject.)
Public methodMemcpy(SoBufferObject, UInt64, UInt64, UInt64)

Copy data from the specified buffer object into this buffer object.

(Inherited from SoCpuBufferObject.)
Public methodMemcpy(SoCpuBufferObject, UInt64, UInt64, UInt64)

Copy data from the specified CPU buffer object into this buffer object.

(Inherited from SoCpuBufferObject.)
Public methodMemcpy(SoGLBufferObject, UInt64, UInt64, UInt64)

Copy data from the specified GL buffer object into this buffer object.

(Inherited from SoCpuBufferObject.)
Public methodMemset(IntPtr)
Calls Memset(value, System.Convert.ToUInt64(1), System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
(Inherited from SoCpuBufferObject.)
Public methodMemset(IntPtr, UInt64)
Calls Memset(value, valueSize, System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
(Inherited from SoCpuBufferObject.)
Public methodMemset(IntPtr, UInt64, UInt64)
Calls Memset(value, valueSize, offset, System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
(Inherited from SoCpuBufferObject.)
Public methodMemset(IntPtr, UInt64, UInt64, UInt64)

This function sets the contents of (or a portion of) this buffer object to the specified value.

(Inherited from SoCpuBufferObject.)
Public methodSetCompressor

Set the compressor used to decompress buffer.

Public methodSetMappedBufferObject

This function is used when the instance of buffer object is used to map a buffer.

(Inherited from SoBufferObject.)
Public methodSetMappingAccessMode

Sets the mapping mode used for the mapping of a buffer object.

(Inherited from SoBufferObject.)
Public methodSetMappingZoneInformation

Stores information about the mapping in order to know the subset of the data mapped in the buffer.

(Inherited from SoBufferObject.)
Public methodSetMinMax

Set the min and max values for this buffer.

Public methodSetSize

Sets the size in bytes of the buffer object.

(Overrides SoCpuBufferObjectSetSize(UInt64).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnlockBuffer

Unlocks the buffer object.

(Inherited from SoBufferObject.)
Public methodUnmap

Unmap a mapped buffer.

(Overrides SoCpuBufferObjectUnmap.)
Public methodUnmap(SoBufferObject)

Remove the specified bufferObject from the list of buffers which map the current buffer.

(Overrides SoCpuBufferObjectUnmap(SoBufferObject).)
Public methodUnmap(SoCpuBufferObject)

Unmap the specified CPU buffer object It is defined just to speed up the call when the type of the object is known.

(Overrides SoCpuBufferObjectUnmap(SoCpuBufferObject).)
Public methodUnmap(SoGLBufferObject)

Unmap the specified GL buffer object It is defined just to speed up the call when the type of the object is known.

(Overrides SoCpuBufferObjectUnmap(SoGLBufferObject).)
Top
Properties
  NameDescription
Public propertyIsDisposable
ISafeDisposable interface implementation.
(Inherited from SoDisposable.)
Top
Remarks

This type of buffer efficiently represents a tile containing compressed data (usually read from a compressed LDM file). The buffer can be used like any other buffer, but uses much less memory when its contents are not actually being accessed.

See Also