Represents an OpenCL image. More...
Public Member Functions | |
override string | ToString () |
Gets the string representation of the ComputeImage . | |
Protected Member Functions | |
ComputeImage (ComputeContext context, ComputeMemoryFlags flags) | |
void | Init () |
Static Protected Member Functions | |
static ICollection < ComputeImageFormat > | GetSupportedFormats (ComputeContext context, ComputeMemoryFlags flags, ComputeMemoryType type) |
Properties | |
int | Depth [get, set] |
Gets or sets (protected) the depth in pixels of the ComputeImage . | |
int | ElementSize [get, set] |
Gets or sets (protected) the size of the elements (pixels) of the ComputeImage . | |
int | Height [get, set] |
Gets or sets (protected) the height in pixels of the ComputeImage . | |
long | RowPitch [get, set] |
Gets or sets (protected) the size in bytes of a row of elements of the ComputeImage . | |
long | SlicePitch [get, set] |
Gets or sets (protected) the size in bytes of a 2D slice of a ComputeImage3D . For a ComputeImage2D this value is 0. | |
int | Width [get, set] |
Gets or sets (protected) the width in pixels of the ComputeImage . |
Represents an OpenCL image.
A memory object that stores a two- or three- dimensional structured array. Image data can only be accessed with read and write functions. The read functions use a sampler.
Cloo.ComputeImage.ComputeImage | ( | ComputeContext | context, | |
ComputeMemoryFlags | flags | |||
) | [protected] |
static ICollection<ComputeImageFormat> Cloo.ComputeImage.GetSupportedFormats | ( | ComputeContext | context, | |
ComputeMemoryFlags | flags, | |||
ComputeMemoryType | type | |||
) | [static, protected] |
void Cloo.ComputeImage.Init | ( | ) | [protected] |
override string Cloo.ComputeImage.ToString | ( | ) |
Gets the string representation of the ComputeImage
.
ComputeImage
. Reimplemented from Cloo.ComputeObject.
int Cloo.ComputeImage.Depth [get, set] |
Gets or sets (protected) the depth in pixels of the ComputeImage
.
int Cloo.ComputeImage.ElementSize [get, set] |
Gets or sets (protected) the size of the elements (pixels) of the ComputeImage
.
int Cloo.ComputeImage.Height [get, set] |
Gets or sets (protected) the height in pixels of the ComputeImage
.
long Cloo.ComputeImage.RowPitch [get, set] |
Gets or sets (protected) the size in bytes of a row of elements of the ComputeImage
.
long Cloo.ComputeImage.SlicePitch [get, set] |
Gets or sets (protected) the size in bytes of a 2D slice of a ComputeImage3D
. For a ComputeImage2D
this value is 0.
int Cloo.ComputeImage.Width [get, set] |
Gets or sets (protected) the width in pixels of the ComputeImage
.