Represents an OpenCL 3D image.
More...
List of all members.
Public Member Functions |
| | ComputeImage3D (ComputeContext context, ComputeMemoryFlags flags, ComputeImageFormat format, int width, int height, int depth, long rowPitch, long slicePitch, IntPtr data) |
| | Creates a new ComputeImage3D.
|
Static Public Member Functions |
| static ComputeImage3D | CreateFromGLTexture3D (ComputeContext context, ComputeMemoryFlags flags, int textureTarget, int mipLevel, int textureId) |
| | Creates a new ComputeImage3D from an OpenGL 3D texture object.
|
static ICollection
< ComputeImageFormat > | GetSupportedFormats (ComputeContext context, ComputeMemoryFlags flags) |
| | Gets a collection of supported ComputeImage3D ComputeImageFormats in a ComputeContext.
|
Detailed Description
Represents an OpenCL 3D image.
- See also:
- ComputeImage
Constructor & Destructor Documentation
Member Function Documentation
Creates a new ComputeImage3D from an OpenGL 3D texture object.
- Parameters:
-
| context | A ComputeContext with enabled CL/GL sharing. |
| flags | A bit-field that is used to specify usage information about the ComputeImage3D. Only ComputeMemoryFlags.ReadOnly, ComputeMemoryFlags.WriteOnly and ComputeMemoryFlags.ReadWrite are allowed. |
| textureTarget | The image type of texture. Must be GL_TEXTURE_3D. |
| mipLevel | The mipmap level of the OpenGL 2D texture object to be used. |
| textureId | The OpenGL 2D texture object id to use. |
- Returns:
- The created ComputeImage2D.
The documentation for this class was generated from the following file: