PFNC buffer class implementing a compressed pfnc buffer. More...
Inherits PfncBuffer, and ICompressedPfncBuffer.
Static Public Member Functions | |
static new CompressedPfncBuffer | FromHandle (IntPtr handle, ShareObject doShare) |
Creates a new instance of CompressedPfncBuffer from the specified handle. | |
![]() | |
static new PfncBuffer | FromHandle (IntPtr handle, ShareObject doShare) |
Create a buffer object from a handle . | |
![]() | |
static Buffer | FromHandle (IntPtr handle, ShareObject doShare) |
Create a buffer object from a handle . | |
Properties | |
CompressionType | CompressionType [get] |
The CompressionType used to compress this buffer. | |
![]() | |
PfncFormat | PfncFormat [get] |
Get the PFNC format of the pixel data stored in this buffer. | |
int | Rank [get] |
Get the rank of the plane. | |
![]() | |
IntPtr | Handle [get] |
Native CVB buffer handle. | |
bool | IsDisposed [get] |
Tests if the native handle has already been disposed. | |
IntPtr | BasePtr [get] |
Get the base address of the buffer's memory. | |
long | Size [get] |
Get the valid size in bytes of the buffer's memory. | |
long | Capacity [get] |
Get the allocated size in bytes of the buffer's memory. | |
Additional Inherited Members | |
![]() | |
IntPtr | GetIncrement (int dimension) |
Gets the number of elements at the given dimension . | |
long | GetLength (int dimension) |
Gets the number of elements at the given dimension . | |
![]() | |
void | Dispose () |
IDisposable implementation. | |
![]() | |
PfncBuffer (IntPtr handle) | |
Create a buffer object from a handle . | |
![]() | |
Buffer (IntPtr handle) | |
Create a buffer object from a handle . | |
virtual void | Dispose (bool disposing) |
IDispose helper function. | |
![]() | |
NativeHandleEventDelegate | ObjectDisposing |
Raised when this object is about to be disposed via the IDisposable.Dispose method. | |
![]() | |
NativeHandleEventDelegate | ObjectDisposing |
Raised when this object is about to be disposed via the IDisposable.Dispose method. | |
PFNC buffer class implementing a compressed pfnc buffer.
|
static |
Creates a new instance of CompressedPfncBuffer from the specified handle.
handle | Native ICompressedPfncBuffer handle. |
doShare | Specifies whether the handle should be shared. Use ShareObject.Yes to share the handle, or ShareObject.No to avoid sharing. |