00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00032
00033 #pragma once
00034
00035 #include "../api_display.h"
00036
00040 enum CL_TextureFormat
00041 {
00042
00043 cl_rgba8,
00044 cl_rgb8,
00045 cl_bgr8,
00046 cl_a1_rgb5,
00047 cl_argb8,
00048 cl_abgr8,
00049
00050 cl_color_index,
00051
00052
00053 cl_stencil_index,
00054 cl_depth_component,
00055 cl_depth_stencil,
00056 cl_red,
00057 cl_green,
00058 cl_blue,
00059 cl_rg,
00060 cl_rgb,
00061 cl_rgba,
00062 cl_bgr,
00063 cl_bgra,
00064 cl_red_integer,
00065 cl_green_integer,
00066 cl_blue_integer,
00067 cl_rg_integer,
00068 cl_rgb_integer,
00069 cl_rgba_integer,
00070 cl_bgr_integer,
00071 cl_bgra_integer,
00072
00073
00074 cl_stencil_index1,
00075 cl_stencil_index4,
00076 cl_stencil_index8,
00077 cl_stencil_index16,
00078
00079 cl_r8,
00080 cl_r8_snorm,
00081 cl_r16,
00082 cl_r16_snorm,
00083 cl_rg8,
00084 cl_rg8_snorm,
00085 cl_rg16,
00086 cl_rg16_snorm,
00087 cl_r3_g3_b2,
00088 cl_rgb4,
00089 cl_rgb5,
00090
00091 cl_rgb8_snorm,
00092 cl_rgb10,
00093 cl_rgb12,
00094 cl_rgb16,
00095 cl_rgb16_snorm,
00096 cl_rgba2,
00097 cl_rgba4,
00098 cl_rgb5_a1,
00099
00100 cl_rgba8_snorm,
00101 cl_rgb10_a2,
00102 cl_rgba12,
00103 cl_rgba16,
00104 cl_rgba16_snorm,
00105 cl_srgb8,
00106 cl_srgb8_alpha8,
00107 cl_r16f,
00108 cl_rg16f,
00109 cl_rgb16f,
00110 cl_rgba16f,
00111 cl_r32f,
00112 cl_rg32f,
00113 cl_rgb32f,
00114 cl_rgba32f,
00115 cl_r11f_g11f_b10f,
00116 cl_rgb9_e5,
00117 cl_r8i,
00118 cl_r8ui,
00119 cl_r16i,
00120 cl_r16ui,
00121 cl_r32i,
00122 cl_r32ui,
00123 cl_rg8i,
00124 cl_rg8ui,
00125 cl_rg16i,
00126 cl_rg16ui,
00127 cl_rg32i,
00128 cl_rg32ui,
00129 cl_rgb8i,
00130 cl_rgb8ui,
00131 cl_rgb16i,
00132 cl_rgb16ui,
00133 cl_rgb32i,
00134 cl_rgb32ui,
00135 cl_rgba8i,
00136 cl_rgba8ui,
00137 cl_rgba16i,
00138 cl_rgba16ui,
00139 cl_rgba32i,
00140 cl_rgba32ui,
00141 cl_depth_component16,
00142 cl_depth_component24,
00143 cl_depth_component32,
00144 cl_depth_component32f,
00145 cl_depth24_stencil8,
00146 cl_depth32f_stencil8,
00147 cl_compressed_red,
00148 cl_compressed_rg,
00149 cl_compressed_rgb,
00150 cl_compressed_rgba,
00151 cl_compressed_srgb,
00152 cl_compressed_srgb_alpha,
00153 cl_compressed_red_rgtc1,
00154 cl_compressed_signed_red_rgtc1,
00155 cl_compressed_rg_rgtc2,
00156 cl_compressed_signed_rg_rgtc2
00157
00158 };
00159