35 TARGET_1D = 0, TARGET_FIRST = TARGET_1D,
41 TARGET_CUBE_ARRAY, TARGET_LAST = TARGET_CUBE_ARRAY
46 TARGET_COUNT = TARGET_LAST - TARGET_FIRST + 1,
51 inline bool is_target_1d(target Target)
53 return Target == TARGET_1D || Target == TARGET_1D_ARRAY;
57 inline bool is_target_array(target Target)
59 return Target == TARGET_1D_ARRAY || Target == TARGET_2D_ARRAY || Target == TARGET_CUBE_ARRAY;
63 inline bool is_target_cube(target Target)
65 return Target == TARGET_CUBE || Target == TARGET_CUBE_ARRAY;