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 classCLImageFormat.ChannelOrderSpecifies the number of channels and the channel layout i.e.static classCLImageFormat.ChannelTypeDescribes 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 booleanequals(Object obj)CLImageFormatImplgetFormatImpl()Returns the struct accessor for the cl_image_format struct.CLImageFormat.ChannelTypegetImageChannelDataType()CLImageFormat.ChannelOrdergetImageChannelOrder()inthashCode()CLImageFormatsetImageChannelDataType(CLImageFormat.ChannelType type)CLImageFormatsetImageChannelOrder(CLImageFormat.ChannelOrder order)StringtoString()
-
-
-
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.
-
-