Top Fields Constructors Methods
com.jogamp.opencl

public Class CLImage2d<B extends Buffer>

extends CLImage<B extends Buffer>
Class Inheritance
Known Direct Subclasses
com.jogamp.opencl.gl.CLGLImage2d
Imports
com.jogamp.common.nio.Buffers, com.jogamp.opencl.llb.CLImageBinding, java.nio.Buffer, .IntBuffer

Author
Michael Bien

Field Summary

Inherited from com.jogamp.opencl.CLImage:
formatheightimageInfowidth

Constructor Summary

AccessConstructor and Description
private
CLImage2d(final CLContext context, final B directBuffer, final CLImageFormat format, final int width, final int height, final long id, final int flags)

protected
CLImage2d(final CLContext context, final B directBuffer, final CLImageFormat format, final CLImage.CLImageInfoAccessor accessor, final int width, final int height, final long id, final int flags)

Method Summary

Modifier and TypeMethod and Description
public <T extends Buffer> CLImage2d<T>
cloneWith(final T directBuffer)

Implements abstract com.jogamp.opencl.CLMemory.cloneWith.

Returns a new instance of CLMemory pointing to the same CLResource but using a different Buffer.
pack-priv static <B extends Buffer> CLImage2d<B>
createImage(final CLContext context, final B directBuffer, final int width, final int height, final int rowPitch, final CLImageFormat format, final int flags)

public String
toString()

Overrides com.jogamp.opencl.CLMemory.toString.

Returns a string representation of the object.
Inherited from com.jogamp.opencl.CLImage:
createUninitializedImageFormatgetElementSizegetFormatgetHeightgetRowPitchgetWidth

Constructor Detail

CLImage2dback to summary
private CLImage2d(final CLContext context, final B directBuffer, final CLImageFormat format, final int width, final int height, final long id, final int flags)
CLImage2dback to summary
protected CLImage2d(final CLContext context, final B directBuffer, final CLImageFormat format, final CLImage.CLImageInfoAccessor accessor, final int width, final int height, final long id, final int flags)

Method Detail

cloneWithback to summary
public <T extends Buffer> CLImage2d<T> cloneWith(final T directBuffer)

Implements abstract com.jogamp.opencl.CLMemory.cloneWith.

Doc from com.jogamp.opencl.CLMemory.cloneWith.

Returns a new instance of CLMemory pointing to the same CLResource but using a different Buffer.

Annotations
@Override
createImageback to summary
pack-priv static <B extends Buffer> CLImage2d<B> createImage(final CLContext context, final B directBuffer, final int width, final int height, final int rowPitch, final CLImageFormat format, final int flags)
toStringback to summary
public String toString()

Overrides com.jogamp.opencl.CLMemory.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object

Annotations
@Override