|
texture_formats = [ ( ( uint8, 1) , GL_R8UI(33330), ( GL_UNSIGNED_B...
Mapping between numpy types and OpenGL types.
|
|
dtype_to_gl_iformat = { ( uint8, 1) : GL_R8UI(33330), ( uint8, 2) : ...
|
|
gl_iformat_to_dtype = { GL_R32F(33326): ( float32, 1) , GL_RG32F(...
|
|
dtype_to_gl_format = { ( uint8, 1) : GL_RED_INTEGER(36244), ( uint...
|
|
gl_format_to_dtype = { GL_RED(6403): ( float32, 1) , GL_RGB(6407)...
|
|
gl_iformat_to_gl_type = { GL_R32F(33326): GL_FLOAT(5126), GL_RG...
|
|
texture_compare_funcs = Enum(NEVER, LESS, EQUAL, LEQUAL, GREAT...
|
|
texture_compare_modes = Enum(NONE, COMPARE_REF_TO_TEXTURE)
|
|
texture_min_filters = Enum(NEAREST, LINEAR, NEAREST_MIPMAP_LIN...
|
|
texture_mag_filters = Enum(NEAREST, LINEAR)
|
|
texture_swizzles = Enum(ZERO, ONE, RED, GREEN, BLUE, ALPHA)
|
|
texture_wrapmodes = Enum(MIRRORED_REPEAT, REPEAT, CLAMP_TO_BOR...
|
|
primitive_types = Enum(POINTS, LINES, LINE_LOOP, LINE_STRIP, T...
|
|
buffer_usages = Enum(STREAM_DRAW, STREAM_READ, STREAM_COPY, ST...
|
|
buffer_dimensions_to_primitive = { 1: POINTS, 2: LINES, 3: TRIA...
|
|
primitive_to_buffer_dimensions = { LINES: 2, POINTS: 1, TRIANGL...
|
|
blend_functions = Enum(SRC_COLOR, ONE_MINUS_SRC_COLOR, ONE_MIN...
|
|
blend_equations = Enum(MAX, SUBTRACT, REVERSE_SUBTRACT, ADD, MIN)
|
|
depth_functions = Enum(NEVER, LESS, EQUAL, LEQUAL, GREATER, NO...
|
|
draw_buffers = Enum(NONE, FRONT_RIGHT, BACK_LEFT, BACK_RIGHT, ...
|
|
hints = Enum(DONT_CARE, FASTEST, NICEST)
|
|
provoking_vertices = Enum(UNDEFINED, FIRST, LAST, PROVOKING)
|
|
logic_op_modes = Enum(CLEAR, AND, AND_REVERSE, COPY, AND_INVER...
|
|
provoke_modes = Enum(FIRST_VERTEX_CONVENTION, LAST_VERTEX_CONV...
|
|
color_read_formats = Enum(BGR, STENCIL_INDEX, DEPTH_COMPONENT,...
|
|
color_read_types = Enum(BYTE, UNSIGNED_BYTE, SHORT, UNSIGNED_S...
|
|
read_buffers = Enum(NONE, FRONT_RIGHT, BACK_LEFT, BACK_RIGHT, ...
|
|
transform_feedback_buffer_modes = Enum(INTERLEAVED_ATTRIBS, SE...
|
|
client_wait_sync_returns = Enum(ALREADY_SIGNALED, TIMEOUT_EXPI...
|
|
framebuffer_status = Enum(INCOMPLETE_MULTISAMPLE, INCOMPLETE_L...
|
|
cull_face_modes = Enum(FRONT_AND_BACK, FRONT, BACK)
|
|
front_face_modes = Enum(CW, CCW)
|
|
polygon_modes = Enum(POINT, LINE, FILL)
|
|
__package__ = ' glitter.utils '
|
|
key = ' GL_RGB10_A2UI '
|
|
value = GL_RGB10_A2UI(36975)
|