Package org.lwjgl.opencl
Class APPLEFixedAlphaChannelOrders
- java.lang.Object
-
- org.lwjgl.opencl.APPLEFixedAlphaChannelOrders
-
public final class APPLEFixedAlphaChannelOrders extends java.lang.Object
Native bindings to the APPLE_fixed_alpha_channel_orders extension.These selectors may be passed to
CreateImage2D
in the cl_image_format.image_channel_order field. They are likeBGRA
andARGB
except that the alpha channel to be ignored. On calls toread_imagef
, the alpha will be 0xff (1.0f) if the sample falls in the image and 0 if it does not fall in the image. On calls towrite_imagef
, the alpha value is ignored and 0xff (1.0f) is written. These formats are currently only available for theUNORM_INT8
cl_channel_type. They are intended to support legacy image formats.
-
-
Field Summary
Fields Modifier and Type Field Description static int
CL_1RGB_APPLE
CL_BGR1_APPLE
-
-
-
Field Detail
-
CL_1RGB_APPLE
public static final int CL_1RGB_APPLE
- See Also:
- Constant Field Values
-
CL_BGR1_APPLE
public static final int CL_BGR1_APPLE
- See Also:
- Constant Field Values
-
-