Click or drag to resize
SoBufferObject Methods

The SoBufferObject type exposes the following members.

Methods
  NameDescription
Public methodClearInstance

Free the memory allocated by the buffer object.

Public methodCreateInstance

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

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.
Public methodStatic memberGetBufferObjectCache

Returns the cache manager object.

Public methodGetContext

Returns the device context where this buffer is valid.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetMappedBufferObject

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

Public methodGetMappedBufferObjectAccessMode

Returns the access mode used for the buffer mapping.

Public methodGetMappedBufferObjectPosition

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

Public methodGetMappedBufferObjectSize

Returns the size of the mapped area in bytes.

Public methodGetSize

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

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

Locks the buffer against concurrent calls from different threads.

Public methodMap(SoBufferObjectAccessModes)
Calls Map(accessMode, System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
Public methodMap(SoBufferObject, SoBufferObjectAccessModes)
Calls Map(targetBufferObject, accessMode, System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
Public methodMap(SoBufferObjectAccessModes, UInt64)
Calls Map(accessMode, offset, 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(SoBufferObjectAccessModes, UInt64, UInt64)

Map the buffer to a system memory address and allows the mapping of a sub part of the buffer object into CPU memory.

Public methodMap(SoBufferObject, SoBufferObjectAccessModes, UInt64, UInt64)

Maps the current buffer object into the specified buffer object.

Public methodMemcpy(SoBufferObject)
Calls Memcpy(sourceBufferObject, System.UInt64(0), System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
Public methodMemcpy(SoBufferObject, UInt64)
Calls Memcpy(sourceBufferObject, destOffset, System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
Public methodMemcpy(SoBufferObject, UInt64, UInt64)
Calls Memcpy(sourceBufferObject, destOffset, sourceOffset, System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
Public methodMemcpy(SoBufferObject, UInt64, UInt64, UInt64)

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

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

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

Public methodSetSize

Sets the size in bytes of the buffer object.

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

Unlocks the buffer object.

Public methodUnmap

Unmaps the buffer from CPU address space.

Public methodUnmap(SoBufferObject)

Unmap this buffer from the specified buffer object.

Top
See Also