24#include <Inventor/SbBase.h>
44 enum TextureAddressMode
47 TEX_ADDRESS_MIRROR_CLAMP = 0,
48 TEX_ADDRESS_CLAMP = 0x2900,
49 TEX_ADDRESS_REPEAT = 0x2901,
50 TEX_ADDRESS_CLAMP_BORDER = 0x812D,
51 TEX_ADDRESS_CLAMP_TO_EDGE = 0x812F,
52 TEX_ADDRESS_MIRROR_REPEAT = 0x8370
60 IMG_FORMAT_DEPTH_COMPONENT,
61 IMG_FORMAT_STENCIL_INDEX,
62 IMG_FORMAT_DEPTH_STENCIL,
71 IMG_FORMAT_RED_INTEGER,
72 IMG_FORMAT_GREEN_INTEGER,
73 IMG_FORMAT_BLUE_INTEGER,
74 IMG_FORMAT_RG_INTEGER,
75 IMG_FORMAT_RGB_INTEGER,
76 IMG_FORMAT_RGBA_INTEGER,
77 IMG_FORMAT_BGR_INTEGER,
78 IMG_FORMAT_BGRA_INTEGER
89 SHADER_TYPE_TESS_CTRL,
90 SHADER_TYPE_TESS_EVAL,
103 BLEND_ONE_MINUS_SRC_COLOR,
105 BLEND_ONE_MINUS_DST_COLOR,
107 BLEND_ONE_MINUS_SRC_ALPHA,
109 BLEND_ONE_MINUS_DST_ALPHA,
110 BLEND_CONSTANT_COLOR,
111 BLEND_ONE_MINUS_CONSTANT_COLOR,
112 BLEND_CONSTANT_ALPHA,
113 BLEND_ONE_MINUS_CONSTANT_ALPHA,
114 BLEND_SRC_ALPHA_SATURATE,
116 BLEND_ONE_MINUS_SRC1_COLOR,
118 BLEND_ONE_MINUS_SRC1_ALPHA
138 BLEND_FUNC_REVERSE_SUBTRACT,
149 OFFSET_WIREFRAME = 0x02,
156 enum ComparisonFunction
160 COMP_FUNC_LESS_EQUAL,
162 COMP_FUNC_GREATER_EQUAL,
171 enum LogicalOperation
177 LOGIC_OP_COPY_INVERTED,
181 LOGIC_OP_AND_REVERSE,
182 LOGIC_OP_AND_INVERTED,
187 LOGIC_OP_OR_INVERTED,
196 MEM_VERTEX_ATTRIB_ARRAY = 1,
197 MEM_ELEMENT_ARRAY = 1 << 1,
198 MEM_UNIFORM = 1 << 2,
199 MEM_TEXTURE_FETCH = 1 << 3,
200 MEM_SHADER_IMAGE_ACCESS = 1 << 4,
201 MEM_COMMAND = 1 << 5,
202 MEM_PIXEL_BUFFER = 1 << 6,
203 MEM_TEXTURE_UPDATE = 1 << 7,
204 MEM_BUFFER_UPDATE = 1 << 8,
205 MEM_FRAMEBUFFER = 1 << 9,
206 MEM_TRANSFORM_FEEDBACK = 1 << 10,
207 MEM_QUERY_BUFFER = 1 << 11,
208 MEM_ATOMIC_COUNTER = 1 << 12,
209 MEM_CLIENT_MAPPED_BUFFER = 1 << 13,
210 MEM_SHADER_STORAGE = 1 << 14,
214 enum { OIV_MAX_FIXED_TEXTURE_UNIT = 4 };
221 TEX_MODEL_MODULATE = 0x2100,
222 TEX_MODEL_DECAL = 0x2101,
223 TEX_MODEL_BLEND = 0x0BE2,
224 TEX_MODEL_REPLACE = 0x1E01,
225 TEX_MODEL_ADD = 0x0104,
226 TEX_MODEL_COMBINE = 0x8570,
227 TEX_MODEL_ADD_SIGNED = 0x8574,
228 TEX_MODEL_INTERPOLATE = 0x8575,
229 TEX_MODEL_SUBTRACT = 0x84E7,
230 TEX_MODEL_DOT3_RGB = 0x86AE,
231 TEX_MODEL_DOT3_RGBA = 0x86AF
240 TEX_FILTER_NEAREST = 0x2600,
241 TEX_FILTER_LINEAR = 0x2601,
242 TEX_FILTER_NEAREST_MIPMAP_NEAREST = 0x2700,
243 TEX_FILTER_NEAREST_MIPMAP_LINEAR = 0x2702,
244 TEX_FILTER_LINEAR_MIPMAP_NEAREST = 0x2071,
245 TEX_FILTER_LINEAR_MIPMAP_LINEAR = 0x2073
253 SRC_PARAM_CONSTANT = 0x8576,
254 SRC_PARAM_PRIMARY_COLOR = 0x8577,
255 SRC_PARAM_PREVIOUS = 0x8578,
256 SRC_PARAM_TEXTURE = 0x1702
266 ONE_MINUS_SRC_COLOR = 0x0301,
268 ONE_MINUS_SRC_ALPHA = 0x0303
276 QUERY_SAMPLES_PASSED,
277 QUERY_ANY_SAMPLES_PASSED,
278 QUERY_ANY_SAMPLES_PASSED_CONSERVATIVE,
279 QUERY_PRIMITIVES_GENERATED,
280 QUERY_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN,
288 enum ShaderBufferType
290 SHADER_STORAGE_BUFFER,