Click or drag to resize
SoOpenCLBufferObject Methods

The SoOpenCLBufferObject type exposes the following members.

Methods
  NameDescription
Public methodClearInstance

Free the memory allocated by the buffer object.

(Overrides SoBufferObjectClearInstance.)
Public methodCreateInstance

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

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

Map the buffer object to any buffer object.

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

Map the buffer object to a CPU buffer object.

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

Map the buffer object to a GL buffer object.

Public methodMap(SoOpenCLBufferObject, SoBufferObjectAccessModes, UInt64, UInt64)

Map the buffer object to a OpenCL buffer object.

Public methodMemcpy(SoBufferObject)
Calls Memcpy(sourceBufferObject, System.UInt64(0), System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
Public methodMemcpy(SoCpuBufferObject)
Calls Memcpy(sourceBufferObject, System.UInt64(0), System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
Public methodMemcpy(SoGLBufferObject)
Calls Memcpy(sourceBufferObject, System.UInt64(0), System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
Public methodMemcpy(SoOpenCLBufferObject)
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(SoCpuBufferObject, UInt64)
Calls Memcpy(sourceBufferObject, destOffset, System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
Public methodMemcpy(SoGLBufferObject, UInt64)
Calls Memcpy(sourceBufferObject, destOffset, System.UInt64(0), System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
Public methodMemcpy(SoOpenCLBufferObject, 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(SoCpuBufferObject, UInt64, UInt64)
Calls Memcpy(sourceBufferObject, destOffset, sourceOffset, System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
Public methodMemcpy(SoGLBufferObject, UInt64, UInt64)
Calls Memcpy(sourceBufferObject, destOffset, sourceOffset, System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
Public methodMemcpy(SoOpenCLBufferObject, UInt64, UInt64)
Calls Memcpy(sourceBufferObject, destOffset, sourceOffset, System.Convert.ToUInt64(SO_BUFFER_SIZE_ALL)).
Public methodMemcpy(SoBufferObject, UInt64, UInt64, UInt64)

Copy data from any SoBufferObject into the OpenCL memory.

(Overrides SoBufferObjectMemcpy(SoBufferObject, UInt64, UInt64, UInt64).)
Public methodMemcpy(SoCpuBufferObject, UInt64, UInt64, UInt64)

Copy data from a CPU buffer into the OpenCL buffer.

(Overrides SoBufferObjectMemcpy(SoCpuBufferObject, UInt64, UInt64, UInt64).)
Public methodMemcpy(SoGLBufferObject, UInt64, UInt64, UInt64)

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

Public methodMemcpy(SoOpenCLBufferObject, UInt64, UInt64, UInt64)

Copy data from a OpenCL buffer into this OpenCL buffer.

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.

(Overrides SoBufferObjectMemset(IntPtr, UInt64, UInt64, UInt64).)
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 methodSetSize

Sets the size in bytes of the buffer.

(Overrides SoBufferObjectSetSize(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(SoBufferObject)

Unmap the specified buffer object.

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

Unmap the specified CPU buffer object.

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

Unmap the specified GL buffer object.

Public methodUnmap(SoOpenCLBufferObject)

Unmap the specified OpenCL buffer object.

Top
See Also