com.jogamp.opencl
Class CLImageFormat
java.lang.Object
com.jogamp.opencl.CLImageFormat
public final class CLImageFormat
- extends Object
Represents the OpenCL image format with its channeltype and order.
- Author:
- Michael Bien
- See Also:
CLContext.getSupportedImage2dFormats(com.jogamp.opencl.CLMemory.Mem[])
,
CLContext.getSupportedImage3dFormats(com.jogamp.opencl.CLMemory.Mem[])
CLImageFormat
public CLImageFormat(CLImageFormat.ChannelOrder order,
CLImageFormat.ChannelType type)
setImageChannelOrder
public CLImageFormat setImageChannelOrder(CLImageFormat.ChannelOrder order)
setImageChannelDataType
public CLImageFormat setImageChannelDataType(CLImageFormat.ChannelType type)
getImageChannelOrder
public CLImageFormat.ChannelOrder getImageChannelOrder()
getImageChannelDataType
public CLImageFormat.ChannelType getImageChannelDataType()
getFormatImpl
public CLImageFormatImpl getFormatImpl()
- Returns the struct accessor for the cl_image_format struct.
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object