Package 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CLImageFormat.ChannelOrder
Specifies the number of channels and the channel layout i.e.static class
CLImageFormat.ChannelType
Describes the size of the channel data type.
-
Constructor Summary
Constructors Constructor Description CLImageFormat(CLImageFormat.ChannelOrder order, CLImageFormat.ChannelType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
CLImageFormatImpl
getFormatImpl()
Returns the struct accessor for the cl_image_format struct.CLImageFormat.ChannelType
getImageChannelDataType()
CLImageFormat.ChannelOrder
getImageChannelOrder()
int
hashCode()
CLImageFormat
setImageChannelDataType(CLImageFormat.ChannelType type)
CLImageFormat
setImageChannelOrder(CLImageFormat.ChannelOrder order)
String
toString()
-
-
-
Constructor Detail
-
CLImageFormat
public CLImageFormat(CLImageFormat.ChannelOrder order, CLImageFormat.ChannelType type)
-
-
Method Detail
-
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.
-
-