Top | ![]() |
![]() |
![]() |
![]() |
guint64 | depth | Read / Write / Construct Only |
guint | gl-texture | Read / Write / Construct Only |
guint64 | height | Read / Write / Construct Only |
guint | type | Read / Write / Construct Only |
guint64 | width | Read / Write / Construct Only |
A GoclImage represents a image object in an OpenCL context. An image is a special type of buffer that holds pixel information in a convenient way. As buffers, images are also directly accessible from OpenCL programs.
Iamges are created using gocl_image_new()
and
gocl_image_new_from_gl_texture()
.
Reading from and writing to images is done using the provided GoclBuffer APIs.
“depth”
property “depth” guint64
The depth of the image, in pixels.
Owner: GoclImage
Flags: Read / Write / Construct Only
Default value: 0
“gl-texture”
property “gl-texture” guint
The GL texture associated with this image.
Owner: GoclImage
Flags: Read / Write / Construct Only
Default value: 0
“height”
property “height” guint64
The height of the image, in pixels.
Owner: GoclImage
Flags: Read / Write / Construct Only
Default value: 0
“type”
property “type” guint
The type of the image (1D, 2D, 3D, etc).
Owner: GoclImage
Flags: Read / Write / Construct Only
Default value: 0