Library guide ยท API index and notation
This page is generated from the bundled library in this checkout. Signatures and adjacent source comments are reproduced below; the linked guide explains usage, storage, failures, and platform support.
import "std/gpu/opengl/gl"
Names used in signatures
Unqualified names denote this packageโs types (including other source files in the same package), language built-ins, or generic parameters such as T. Qualified names use the import aliases below. These aliases belong to the library source; import a dependency yourself to use its alias in your program.
| Alias | Package | Source file |
|---|---|---|
bytes |
core/bytes |
gl.dodo |
mem |
core/mem |
gl.dodo |
ptr |
core/ptr |
gl.dodo |
COMMAND_COUNT
Constant ยท Source
pub const COMMAND_COUNT: usize = 656
load
Function ยท Source
Fill the table: resolve receives each commandโs NUL-terminated registry name (โglClearColorโ) and returns its address or null. Returns how many commands resolved. Entries resolve() does not know are cleared, so a table loaded for one context never keeps anotherโs addresses.
pub unsafe fn load(resolve: &mut dyn fn(*const u8) -> usize) -> usize
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
unload
Function ยท Source
Forget every address; commands panic until the next load().
pub unsafe fn unload()
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
is_loaded
Function ยท Source
Whether the command with this registry name (โglDispatchComputeโ) is loaded. Unknown names are not.
pub fn is_loaded(name: &str) -> bool
DebugProc
Type alias ยท Source
The debug message callback glDebugMessageCallback takes: source, type, id, severity, message length, NUL-terminated message and user parameter.
pub type DebugProc = extern "C" fn(u32, u32, u32, u32, i32, *const u8, *const u8)
DEPTH_BUFFER_BIT
Constant ยท Source
pub const DEPTH_BUFFER_BIT: u32 = 0x00000100
STENCIL_BUFFER_BIT
Constant ยท Source
pub const STENCIL_BUFFER_BIT: u32 = 0x00000400
COLOR_BUFFER_BIT
Constant ยท Source
pub const COLOR_BUFFER_BIT: u32 = 0x00004000
FALSE
Constant ยท Source
pub const FALSE: u32 = 0
TRUE
Constant ยท Source
pub const TRUE: u32 = 1
POINTS
Constant ยท Source
pub const POINTS: u32 = 0x0000
LINES
Constant ยท Source
pub const LINES: u32 = 0x0001
LINE_LOOP
Constant ยท Source
pub const LINE_LOOP: u32 = 0x0002
LINE_STRIP
Constant ยท Source
pub const LINE_STRIP: u32 = 0x0003
TRIANGLES
Constant ยท Source
pub const TRIANGLES: u32 = 0x0004
TRIANGLE_STRIP
Constant ยท Source
pub const TRIANGLE_STRIP: u32 = 0x0005
TRIANGLE_FAN
Constant ยท Source
pub const TRIANGLE_FAN: u32 = 0x0006
NEVER
Constant ยท Source
pub const NEVER: u32 = 0x0200
LESS
Constant ยท Source
pub const LESS: u32 = 0x0201
EQUAL
Constant ยท Source
pub const EQUAL: u32 = 0x0202
LEQUAL
Constant ยท Source
pub const LEQUAL: u32 = 0x0203
GREATER
Constant ยท Source
pub const GREATER: u32 = 0x0204
NOTEQUAL
Constant ยท Source
pub const NOTEQUAL: u32 = 0x0205
GEQUAL
Constant ยท Source
pub const GEQUAL: u32 = 0x0206
ALWAYS
Constant ยท Source
pub const ALWAYS: u32 = 0x0207
ZERO
Constant ยท Source
pub const ZERO: u32 = 0
ONE
Constant ยท Source
pub const ONE: u32 = 1
SRC_COLOR
Constant ยท Source
pub const SRC_COLOR: u32 = 0x0300
ONE_MINUS_SRC_COLOR
Constant ยท Source
pub const ONE_MINUS_SRC_COLOR: u32 = 0x0301
SRC_ALPHA
Constant ยท Source
pub const SRC_ALPHA: u32 = 0x0302
ONE_MINUS_SRC_ALPHA
Constant ยท Source
pub const ONE_MINUS_SRC_ALPHA: u32 = 0x0303
DST_ALPHA
Constant ยท Source
pub const DST_ALPHA: u32 = 0x0304
ONE_MINUS_DST_ALPHA
Constant ยท Source
pub const ONE_MINUS_DST_ALPHA: u32 = 0x0305
DST_COLOR
Constant ยท Source
pub const DST_COLOR: u32 = 0x0306
ONE_MINUS_DST_COLOR
Constant ยท Source
pub const ONE_MINUS_DST_COLOR: u32 = 0x0307
SRC_ALPHA_SATURATE
Constant ยท Source
pub const SRC_ALPHA_SATURATE: u32 = 0x0308
NONE
Constant ยท Source
pub const NONE: u32 = 0
FRONT_LEFT
Constant ยท Source
pub const FRONT_LEFT: u32 = 0x0400
FRONT_RIGHT
Constant ยท Source
pub const FRONT_RIGHT: u32 = 0x0401
BACK_LEFT
Constant ยท Source
pub const BACK_LEFT: u32 = 0x0402
BACK_RIGHT
Constant ยท Source
pub const BACK_RIGHT: u32 = 0x0403
FRONT
Constant ยท Source
pub const FRONT: u32 = 0x0404
BACK
Constant ยท Source
pub const BACK: u32 = 0x0405
LEFT
Constant ยท Source
pub const LEFT: u32 = 0x0406
RIGHT
Constant ยท Source
pub const RIGHT: u32 = 0x0407
FRONT_AND_BACK
Constant ยท Source
pub const FRONT_AND_BACK: u32 = 0x0408
NO_ERROR
Constant ยท Source
pub const NO_ERROR: u32 = 0
INVALID_ENUM
Constant ยท Source
pub const INVALID_ENUM: u32 = 0x0500
INVALID_VALUE
Constant ยท Source
pub const INVALID_VALUE: u32 = 0x0501
INVALID_OPERATION
Constant ยท Source
pub const INVALID_OPERATION: u32 = 0x0502
OUT_OF_MEMORY
Constant ยท Source
pub const OUT_OF_MEMORY: u32 = 0x0505
CW
Constant ยท Source
pub const CW: u32 = 0x0900
CCW
Constant ยท Source
pub const CCW: u32 = 0x0901
POINT_SIZE
Constant ยท Source
pub const POINT_SIZE: u32 = 0x0b11
POINT_SIZE_RANGE
Constant ยท Source
pub const POINT_SIZE_RANGE: u32 = 0x0b12
POINT_SIZE_GRANULARITY
Constant ยท Source
pub const POINT_SIZE_GRANULARITY: u32 = 0x0b13
LINE_SMOOTH
Constant ยท Source
pub const LINE_SMOOTH: u32 = 0x0b20
LINE_WIDTH
Constant ยท Source
pub const LINE_WIDTH: u32 = 0x0b21
LINE_WIDTH_RANGE
Constant ยท Source
pub const LINE_WIDTH_RANGE: u32 = 0x0b22
LINE_WIDTH_GRANULARITY
Constant ยท Source
pub const LINE_WIDTH_GRANULARITY: u32 = 0x0b23
POLYGON_MODE
Constant ยท Source
pub const POLYGON_MODE: u32 = 0x0b40
POLYGON_SMOOTH
Constant ยท Source
pub const POLYGON_SMOOTH: u32 = 0x0b41
CULL_FACE
Constant ยท Source
pub const CULL_FACE: u32 = 0x0b44
CULL_FACE_MODE
Constant ยท Source
pub const CULL_FACE_MODE: u32 = 0x0b45
FRONT_FACE
Constant ยท Source
pub const FRONT_FACE: u32 = 0x0b46
DEPTH_RANGE
Constant ยท Source
pub const DEPTH_RANGE: u32 = 0x0b70
DEPTH_TEST
Constant ยท Source
pub const DEPTH_TEST: u32 = 0x0b71
DEPTH_WRITEMASK
Constant ยท Source
pub const DEPTH_WRITEMASK: u32 = 0x0b72
DEPTH_CLEAR_VALUE
Constant ยท Source
pub const DEPTH_CLEAR_VALUE: u32 = 0x0b73
DEPTH_FUNC
Constant ยท Source
pub const DEPTH_FUNC: u32 = 0x0b74
STENCIL_TEST
Constant ยท Source
pub const STENCIL_TEST: u32 = 0x0b90
STENCIL_CLEAR_VALUE
Constant ยท Source
pub const STENCIL_CLEAR_VALUE: u32 = 0x0b91
STENCIL_FUNC
Constant ยท Source
pub const STENCIL_FUNC: u32 = 0x0b92
STENCIL_VALUE_MASK
Constant ยท Source
pub const STENCIL_VALUE_MASK: u32 = 0x0b93
STENCIL_FAIL
Constant ยท Source
pub const STENCIL_FAIL: u32 = 0x0b94
STENCIL_PASS_DEPTH_FAIL
Constant ยท Source
pub const STENCIL_PASS_DEPTH_FAIL: u32 = 0x0b95
STENCIL_PASS_DEPTH_PASS
Constant ยท Source
pub const STENCIL_PASS_DEPTH_PASS: u32 = 0x0b96
STENCIL_REF
Constant ยท Source
pub const STENCIL_REF: u32 = 0x0b97
STENCIL_WRITEMASK
Constant ยท Source
pub const STENCIL_WRITEMASK: u32 = 0x0b98
VIEWPORT
Constant ยท Source
pub const VIEWPORT: u32 = 0x0ba2
DITHER
Constant ยท Source
pub const DITHER: u32 = 0x0bd0
BLEND_DST
Constant ยท Source
pub const BLEND_DST: u32 = 0x0be0
BLEND_SRC
Constant ยท Source
pub const BLEND_SRC: u32 = 0x0be1
BLEND
Constant ยท Source
pub const BLEND: u32 = 0x0be2
LOGIC_OP_MODE
Constant ยท Source
pub const LOGIC_OP_MODE: u32 = 0x0bf0
DRAW_BUFFER
Constant ยท Source
pub const DRAW_BUFFER: u32 = 0x0c01
READ_BUFFER
Constant ยท Source
pub const READ_BUFFER: u32 = 0x0c02
SCISSOR_BOX
Constant ยท Source
pub const SCISSOR_BOX: u32 = 0x0c10
SCISSOR_TEST
Constant ยท Source
pub const SCISSOR_TEST: u32 = 0x0c11
COLOR_CLEAR_VALUE
Constant ยท Source
pub const COLOR_CLEAR_VALUE: u32 = 0x0c22
COLOR_WRITEMASK
Constant ยท Source
pub const COLOR_WRITEMASK: u32 = 0x0c23
DOUBLEBUFFER
Constant ยท Source
pub const DOUBLEBUFFER: u32 = 0x0c32
STEREO
Constant ยท Source
pub const STEREO: u32 = 0x0c33
LINE_SMOOTH_HINT
Constant ยท Source
pub const LINE_SMOOTH_HINT: u32 = 0x0c52
POLYGON_SMOOTH_HINT
Constant ยท Source
pub const POLYGON_SMOOTH_HINT: u32 = 0x0c53
UNPACK_SWAP_BYTES
Constant ยท Source
pub const UNPACK_SWAP_BYTES: u32 = 0x0cf0
UNPACK_LSB_FIRST
Constant ยท Source
pub const UNPACK_LSB_FIRST: u32 = 0x0cf1
UNPACK_ROW_LENGTH
Constant ยท Source
pub const UNPACK_ROW_LENGTH: u32 = 0x0cf2
UNPACK_SKIP_ROWS
Constant ยท Source
pub const UNPACK_SKIP_ROWS: u32 = 0x0cf3
UNPACK_SKIP_PIXELS
Constant ยท Source
pub const UNPACK_SKIP_PIXELS: u32 = 0x0cf4
UNPACK_ALIGNMENT
Constant ยท Source
pub const UNPACK_ALIGNMENT: u32 = 0x0cf5
PACK_SWAP_BYTES
Constant ยท Source
pub const PACK_SWAP_BYTES: u32 = 0x0d00
PACK_LSB_FIRST
Constant ยท Source
pub const PACK_LSB_FIRST: u32 = 0x0d01
PACK_ROW_LENGTH
Constant ยท Source
pub const PACK_ROW_LENGTH: u32 = 0x0d02
PACK_SKIP_ROWS
Constant ยท Source
pub const PACK_SKIP_ROWS: u32 = 0x0d03
PACK_SKIP_PIXELS
Constant ยท Source
pub const PACK_SKIP_PIXELS: u32 = 0x0d04
PACK_ALIGNMENT
Constant ยท Source
pub const PACK_ALIGNMENT: u32 = 0x0d05
MAX_TEXTURE_SIZE
Constant ยท Source
pub const MAX_TEXTURE_SIZE: u32 = 0x0d33
MAX_VIEWPORT_DIMS
Constant ยท Source
pub const MAX_VIEWPORT_DIMS: u32 = 0x0d3a
SUBPIXEL_BITS
Constant ยท Source
pub const SUBPIXEL_BITS: u32 = 0x0d50
TEXTURE_1D
Constant ยท Source
pub const TEXTURE_1D: u32 = 0x0de0
TEXTURE_2D
Constant ยท Source
pub const TEXTURE_2D: u32 = 0x0de1
TEXTURE_WIDTH
Constant ยท Source
pub const TEXTURE_WIDTH: u32 = 0x1000
TEXTURE_HEIGHT
Constant ยท Source
pub const TEXTURE_HEIGHT: u32 = 0x1001
TEXTURE_BORDER_COLOR
Constant ยท Source
pub const TEXTURE_BORDER_COLOR: u32 = 0x1004
DONT_CARE
Constant ยท Source
pub const DONT_CARE: u32 = 0x1100
FASTEST
Constant ยท Source
pub const FASTEST: u32 = 0x1101
NICEST
Constant ยท Source
pub const NICEST: u32 = 0x1102
BYTE
Constant ยท Source
pub const BYTE: u32 = 0x1400
UNSIGNED_BYTE
Constant ยท Source
pub const UNSIGNED_BYTE: u32 = 0x1401
SHORT
Constant ยท Source
pub const SHORT: u32 = 0x1402
UNSIGNED_SHORT
Constant ยท Source
pub const UNSIGNED_SHORT: u32 = 0x1403
INT
Constant ยท Source
pub const INT: u32 = 0x1404
UNSIGNED_INT
Constant ยท Source
pub const UNSIGNED_INT: u32 = 0x1405
FLOAT
Constant ยท Source
pub const FLOAT: u32 = 0x1406
CLEAR
Constant ยท Source
pub const CLEAR: u32 = 0x1500
AND
Constant ยท Source
pub const AND: u32 = 0x1501
AND_REVERSE
Constant ยท Source
pub const AND_REVERSE: u32 = 0x1502
COPY
Constant ยท Source
pub const COPY: u32 = 0x1503
AND_INVERTED
Constant ยท Source
pub const AND_INVERTED: u32 = 0x1504
NOOP
Constant ยท Source
pub const NOOP: u32 = 0x1505
XOR
Constant ยท Source
pub const XOR: u32 = 0x1506
OR
Constant ยท Source
pub const OR: u32 = 0x1507
NOR
Constant ยท Source
pub const NOR: u32 = 0x1508
EQUIV
Constant ยท Source
pub const EQUIV: u32 = 0x1509
INVERT
Constant ยท Source
pub const INVERT: u32 = 0x150a
OR_REVERSE
Constant ยท Source
pub const OR_REVERSE: u32 = 0x150b
COPY_INVERTED
Constant ยท Source
pub const COPY_INVERTED: u32 = 0x150c
OR_INVERTED
Constant ยท Source
pub const OR_INVERTED: u32 = 0x150d
NAND
Constant ยท Source
pub const NAND: u32 = 0x150e
SET
Constant ยท Source
pub const SET: u32 = 0x150f
TEXTURE
Constant ยท Source
pub const TEXTURE: u32 = 0x1702
COLOR
Constant ยท Source
pub const COLOR: u32 = 0x1800
DEPTH
Constant ยท Source
pub const DEPTH: u32 = 0x1801
STENCIL
Constant ยท Source
pub const STENCIL: u32 = 0x1802
STENCIL_INDEX
Constant ยท Source
pub const STENCIL_INDEX: u32 = 0x1901
DEPTH_COMPONENT
Constant ยท Source
pub const DEPTH_COMPONENT: u32 = 0x1902
RED
Constant ยท Source
pub const RED: u32 = 0x1903
GREEN
Constant ยท Source
pub const GREEN: u32 = 0x1904
BLUE
Constant ยท Source
pub const BLUE: u32 = 0x1905
ALPHA
Constant ยท Source
pub const ALPHA: u32 = 0x1906
RGB
Constant ยท Source
pub const RGB: u32 = 0x1907
RGBA
Constant ยท Source
pub const RGBA: u32 = 0x1908
POINT
Constant ยท Source
pub const POINT: u32 = 0x1b00
LINE
Constant ยท Source
pub const LINE: u32 = 0x1b01
FILL
Constant ยท Source
pub const FILL: u32 = 0x1b02
KEEP
Constant ยท Source
pub const KEEP: u32 = 0x1e00
REPLACE
Constant ยท Source
pub const REPLACE: u32 = 0x1e01
INCR
Constant ยท Source
pub const INCR: u32 = 0x1e02
DECR
Constant ยท Source
pub const DECR: u32 = 0x1e03
VENDOR
Constant ยท Source
pub const VENDOR: u32 = 0x1f00
RENDERER
Constant ยท Source
pub const RENDERER: u32 = 0x1f01
VERSION
Constant ยท Source
pub const VERSION: u32 = 0x1f02
EXTENSIONS
Constant ยท Source
pub const EXTENSIONS: u32 = 0x1f03
NEAREST
Constant ยท Source
pub const NEAREST: u32 = 0x2600
LINEAR
Constant ยท Source
pub const LINEAR: u32 = 0x2601
NEAREST_MIPMAP_NEAREST
Constant ยท Source
pub const NEAREST_MIPMAP_NEAREST: u32 = 0x2700
LINEAR_MIPMAP_NEAREST
Constant ยท Source
pub const LINEAR_MIPMAP_NEAREST: u32 = 0x2701
NEAREST_MIPMAP_LINEAR
Constant ยท Source
pub const NEAREST_MIPMAP_LINEAR: u32 = 0x2702
LINEAR_MIPMAP_LINEAR
Constant ยท Source
pub const LINEAR_MIPMAP_LINEAR: u32 = 0x2703
TEXTURE_MAG_FILTER
Constant ยท Source
pub const TEXTURE_MAG_FILTER: u32 = 0x2800
TEXTURE_MIN_FILTER
Constant ยท Source
pub const TEXTURE_MIN_FILTER: u32 = 0x2801
TEXTURE_WRAP_S
Constant ยท Source
pub const TEXTURE_WRAP_S: u32 = 0x2802
TEXTURE_WRAP_T
Constant ยท Source
pub const TEXTURE_WRAP_T: u32 = 0x2803
REPEAT
Constant ยท Source
pub const REPEAT: u32 = 0x2901
COLOR_LOGIC_OP
Constant ยท Source
pub const COLOR_LOGIC_OP: u32 = 0x0bf2
POLYGON_OFFSET_UNITS
Constant ยท Source
pub const POLYGON_OFFSET_UNITS: u32 = 0x2a00
POLYGON_OFFSET_POINT
Constant ยท Source
pub const POLYGON_OFFSET_POINT: u32 = 0x2a01
POLYGON_OFFSET_LINE
Constant ยท Source
pub const POLYGON_OFFSET_LINE: u32 = 0x2a02
POLYGON_OFFSET_FILL
Constant ยท Source
pub const POLYGON_OFFSET_FILL: u32 = 0x8037
POLYGON_OFFSET_FACTOR
Constant ยท Source
pub const POLYGON_OFFSET_FACTOR: u32 = 0x8038
TEXTURE_BINDING_1D
Constant ยท Source
pub const TEXTURE_BINDING_1D: u32 = 0x8068
TEXTURE_BINDING_2D
Constant ยท Source
pub const TEXTURE_BINDING_2D: u32 = 0x8069
TEXTURE_INTERNAL_FORMAT
Constant ยท Source
pub const TEXTURE_INTERNAL_FORMAT: u32 = 0x1003
TEXTURE_RED_SIZE
Constant ยท Source
pub const TEXTURE_RED_SIZE: u32 = 0x805c
TEXTURE_GREEN_SIZE
Constant ยท Source
pub const TEXTURE_GREEN_SIZE: u32 = 0x805d
TEXTURE_BLUE_SIZE
Constant ยท Source
pub const TEXTURE_BLUE_SIZE: u32 = 0x805e
TEXTURE_ALPHA_SIZE
Constant ยท Source
pub const TEXTURE_ALPHA_SIZE: u32 = 0x805f
DOUBLE
Constant ยท Source
pub const DOUBLE: u32 = 0x140a
PROXY_TEXTURE_1D
Constant ยท Source
pub const PROXY_TEXTURE_1D: u32 = 0x8063
PROXY_TEXTURE_2D
Constant ยท Source
pub const PROXY_TEXTURE_2D: u32 = 0x8064
R3_G3_B2
Constant ยท Source
pub const R3_G3_B2: u32 = 0x2a10
RGB4
Constant ยท Source
pub const RGB4: u32 = 0x804f
RGB5
Constant ยท Source
pub const RGB5: u32 = 0x8050
RGB8
Constant ยท Source
pub const RGB8: u32 = 0x8051
RGB10
Constant ยท Source
pub const RGB10: u32 = 0x8052
RGB12
Constant ยท Source
pub const RGB12: u32 = 0x8053
RGB16
Constant ยท Source
pub const RGB16: u32 = 0x8054
RGBA2
Constant ยท Source
pub const RGBA2: u32 = 0x8055
RGBA4
Constant ยท Source
pub const RGBA4: u32 = 0x8056
RGB5_A1
Constant ยท Source
pub const RGB5_A1: u32 = 0x8057
RGBA8
Constant ยท Source
pub const RGBA8: u32 = 0x8058
RGB10_A2
Constant ยท Source
pub const RGB10_A2: u32 = 0x8059
RGBA12
Constant ยท Source
pub const RGBA12: u32 = 0x805a
RGBA16
Constant ยท Source
pub const RGBA16: u32 = 0x805b
UNSIGNED_BYTE_3_3_2
Constant ยท Source
pub const UNSIGNED_BYTE_3_3_2: u32 = 0x8032
UNSIGNED_SHORT_4_4_4_4
Constant ยท Source
pub const UNSIGNED_SHORT_4_4_4_4: u32 = 0x8033
UNSIGNED_SHORT_5_5_5_1
Constant ยท Source
pub const UNSIGNED_SHORT_5_5_5_1: u32 = 0x8034
UNSIGNED_INT_8_8_8_8
Constant ยท Source
pub const UNSIGNED_INT_8_8_8_8: u32 = 0x8035
UNSIGNED_INT_10_10_10_2
Constant ยท Source
pub const UNSIGNED_INT_10_10_10_2: u32 = 0x8036
TEXTURE_BINDING_3D
Constant ยท Source
pub const TEXTURE_BINDING_3D: u32 = 0x806a
PACK_SKIP_IMAGES
Constant ยท Source
pub const PACK_SKIP_IMAGES: u32 = 0x806b
PACK_IMAGE_HEIGHT
Constant ยท Source
pub const PACK_IMAGE_HEIGHT: u32 = 0x806c
UNPACK_SKIP_IMAGES
Constant ยท Source
pub const UNPACK_SKIP_IMAGES: u32 = 0x806d
UNPACK_IMAGE_HEIGHT
Constant ยท Source
pub const UNPACK_IMAGE_HEIGHT: u32 = 0x806e
TEXTURE_3D
Constant ยท Source
pub const TEXTURE_3D: u32 = 0x806f
PROXY_TEXTURE_3D
Constant ยท Source
pub const PROXY_TEXTURE_3D: u32 = 0x8070
TEXTURE_DEPTH
Constant ยท Source
pub const TEXTURE_DEPTH: u32 = 0x8071
TEXTURE_WRAP_R
Constant ยท Source
pub const TEXTURE_WRAP_R: u32 = 0x8072
MAX_3D_TEXTURE_SIZE
Constant ยท Source
pub const MAX_3D_TEXTURE_SIZE: u32 = 0x8073
UNSIGNED_BYTE_2_3_3_REV
Constant ยท Source
pub const UNSIGNED_BYTE_2_3_3_REV: u32 = 0x8362
UNSIGNED_SHORT_5_6_5
Constant ยท Source
pub const UNSIGNED_SHORT_5_6_5: u32 = 0x8363
UNSIGNED_SHORT_5_6_5_REV
Constant ยท Source
pub const UNSIGNED_SHORT_5_6_5_REV: u32 = 0x8364
UNSIGNED_SHORT_4_4_4_4_REV
Constant ยท Source
pub const UNSIGNED_SHORT_4_4_4_4_REV: u32 = 0x8365
UNSIGNED_SHORT_1_5_5_5_REV
Constant ยท Source
pub const UNSIGNED_SHORT_1_5_5_5_REV: u32 = 0x8366
UNSIGNED_INT_8_8_8_8_REV
Constant ยท Source
pub const UNSIGNED_INT_8_8_8_8_REV: u32 = 0x8367
UNSIGNED_INT_2_10_10_10_REV
Constant ยท Source
pub const UNSIGNED_INT_2_10_10_10_REV: u32 = 0x8368
BGR
Constant ยท Source
pub const BGR: u32 = 0x80e0
BGRA
Constant ยท Source
pub const BGRA: u32 = 0x80e1
MAX_ELEMENTS_VERTICES
Constant ยท Source
pub const MAX_ELEMENTS_VERTICES: u32 = 0x80e8
MAX_ELEMENTS_INDICES
Constant ยท Source
pub const MAX_ELEMENTS_INDICES: u32 = 0x80e9
CLAMP_TO_EDGE
Constant ยท Source
pub const CLAMP_TO_EDGE: u32 = 0x812f
TEXTURE_MIN_LOD
Constant ยท Source
pub const TEXTURE_MIN_LOD: u32 = 0x813a
TEXTURE_MAX_LOD
Constant ยท Source
pub const TEXTURE_MAX_LOD: u32 = 0x813b
TEXTURE_BASE_LEVEL
Constant ยท Source
pub const TEXTURE_BASE_LEVEL: u32 = 0x813c
TEXTURE_MAX_LEVEL
Constant ยท Source
pub const TEXTURE_MAX_LEVEL: u32 = 0x813d
SMOOTH_POINT_SIZE_RANGE
Constant ยท Source
pub const SMOOTH_POINT_SIZE_RANGE: u32 = 0x0b12
SMOOTH_POINT_SIZE_GRANULARITY
Constant ยท Source
pub const SMOOTH_POINT_SIZE_GRANULARITY: u32 = 0x0b13
SMOOTH_LINE_WIDTH_RANGE
Constant ยท Source
pub const SMOOTH_LINE_WIDTH_RANGE: u32 = 0x0b22
SMOOTH_LINE_WIDTH_GRANULARITY
Constant ยท Source
pub const SMOOTH_LINE_WIDTH_GRANULARITY: u32 = 0x0b23
ALIASED_LINE_WIDTH_RANGE
Constant ยท Source
pub const ALIASED_LINE_WIDTH_RANGE: u32 = 0x846e
TEXTURE0
Constant ยท Source
pub const TEXTURE0: u32 = 0x84c0
TEXTURE1
Constant ยท Source
pub const TEXTURE1: u32 = 0x84c1
TEXTURE2
Constant ยท Source
pub const TEXTURE2: u32 = 0x84c2
TEXTURE3
Constant ยท Source
pub const TEXTURE3: u32 = 0x84c3
TEXTURE4
Constant ยท Source
pub const TEXTURE4: u32 = 0x84c4
TEXTURE5
Constant ยท Source
pub const TEXTURE5: u32 = 0x84c5
TEXTURE6
Constant ยท Source
pub const TEXTURE6: u32 = 0x84c6
TEXTURE7
Constant ยท Source
pub const TEXTURE7: u32 = 0x84c7
TEXTURE8
Constant ยท Source
pub const TEXTURE8: u32 = 0x84c8
TEXTURE9
Constant ยท Source
pub const TEXTURE9: u32 = 0x84c9
TEXTURE10
Constant ยท Source
pub const TEXTURE10: u32 = 0x84ca
TEXTURE11
Constant ยท Source
pub const TEXTURE11: u32 = 0x84cb
TEXTURE12
Constant ยท Source
pub const TEXTURE12: u32 = 0x84cc
TEXTURE13
Constant ยท Source
pub const TEXTURE13: u32 = 0x84cd
TEXTURE14
Constant ยท Source
pub const TEXTURE14: u32 = 0x84ce
TEXTURE15
Constant ยท Source
pub const TEXTURE15: u32 = 0x84cf
TEXTURE16
Constant ยท Source
pub const TEXTURE16: u32 = 0x84d0
TEXTURE17
Constant ยท Source
pub const TEXTURE17: u32 = 0x84d1
TEXTURE18
Constant ยท Source
pub const TEXTURE18: u32 = 0x84d2
TEXTURE19
Constant ยท Source
pub const TEXTURE19: u32 = 0x84d3
TEXTURE20
Constant ยท Source
pub const TEXTURE20: u32 = 0x84d4
TEXTURE21
Constant ยท Source
pub const TEXTURE21: u32 = 0x84d5
TEXTURE22
Constant ยท Source
pub const TEXTURE22: u32 = 0x84d6
TEXTURE23
Constant ยท Source
pub const TEXTURE23: u32 = 0x84d7
TEXTURE24
Constant ยท Source
pub const TEXTURE24: u32 = 0x84d8
TEXTURE25
Constant ยท Source
pub const TEXTURE25: u32 = 0x84d9
TEXTURE26
Constant ยท Source
pub const TEXTURE26: u32 = 0x84da
TEXTURE27
Constant ยท Source
pub const TEXTURE27: u32 = 0x84db
TEXTURE28
Constant ยท Source
pub const TEXTURE28: u32 = 0x84dc
TEXTURE29
Constant ยท Source
pub const TEXTURE29: u32 = 0x84dd
TEXTURE30
Constant ยท Source
pub const TEXTURE30: u32 = 0x84de
TEXTURE31
Constant ยท Source
pub const TEXTURE31: u32 = 0x84df
ACTIVE_TEXTURE
Constant ยท Source
pub const ACTIVE_TEXTURE: u32 = 0x84e0
MULTISAMPLE
Constant ยท Source
pub const MULTISAMPLE: u32 = 0x809d
SAMPLE_ALPHA_TO_COVERAGE
Constant ยท Source
pub const SAMPLE_ALPHA_TO_COVERAGE: u32 = 0x809e
SAMPLE_ALPHA_TO_ONE
Constant ยท Source
pub const SAMPLE_ALPHA_TO_ONE: u32 = 0x809f
SAMPLE_COVERAGE
Constant ยท Source
pub const SAMPLE_COVERAGE: u32 = 0x80a0
SAMPLE_BUFFERS
Constant ยท Source
pub const SAMPLE_BUFFERS: u32 = 0x80a8
SAMPLES
Constant ยท Source
pub const SAMPLES: u32 = 0x80a9
SAMPLE_COVERAGE_VALUE
Constant ยท Source
pub const SAMPLE_COVERAGE_VALUE: u32 = 0x80aa
SAMPLE_COVERAGE_INVERT
Constant ยท Source
pub const SAMPLE_COVERAGE_INVERT: u32 = 0x80ab
TEXTURE_CUBE_MAP
Constant ยท Source
pub const TEXTURE_CUBE_MAP: u32 = 0x8513
TEXTURE_BINDING_CUBE_MAP
Constant ยท Source
pub const TEXTURE_BINDING_CUBE_MAP: u32 = 0x8514
TEXTURE_CUBE_MAP_POSITIVE_X
Constant ยท Source
pub const TEXTURE_CUBE_MAP_POSITIVE_X: u32 = 0x8515
TEXTURE_CUBE_MAP_NEGATIVE_X
Constant ยท Source
pub const TEXTURE_CUBE_MAP_NEGATIVE_X: u32 = 0x8516
TEXTURE_CUBE_MAP_POSITIVE_Y
Constant ยท Source
pub const TEXTURE_CUBE_MAP_POSITIVE_Y: u32 = 0x8517
TEXTURE_CUBE_MAP_NEGATIVE_Y
Constant ยท Source
pub const TEXTURE_CUBE_MAP_NEGATIVE_Y: u32 = 0x8518
TEXTURE_CUBE_MAP_POSITIVE_Z
Constant ยท Source
pub const TEXTURE_CUBE_MAP_POSITIVE_Z: u32 = 0x8519
TEXTURE_CUBE_MAP_NEGATIVE_Z
Constant ยท Source
pub const TEXTURE_CUBE_MAP_NEGATIVE_Z: u32 = 0x851a
PROXY_TEXTURE_CUBE_MAP
Constant ยท Source
pub const PROXY_TEXTURE_CUBE_MAP: u32 = 0x851b
MAX_CUBE_MAP_TEXTURE_SIZE
Constant ยท Source
pub const MAX_CUBE_MAP_TEXTURE_SIZE: u32 = 0x851c
COMPRESSED_RGB
Constant ยท Source
pub const COMPRESSED_RGB: u32 = 0x84ed
COMPRESSED_RGBA
Constant ยท Source
pub const COMPRESSED_RGBA: u32 = 0x84ee
TEXTURE_COMPRESSION_HINT
Constant ยท Source
pub const TEXTURE_COMPRESSION_HINT: u32 = 0x84ef
TEXTURE_COMPRESSED_IMAGE_SIZE
Constant ยท Source
pub const TEXTURE_COMPRESSED_IMAGE_SIZE: u32 = 0x86a0
TEXTURE_COMPRESSED
Constant ยท Source
pub const TEXTURE_COMPRESSED: u32 = 0x86a1
NUM_COMPRESSED_TEXTURE_FORMATS
Constant ยท Source
pub const NUM_COMPRESSED_TEXTURE_FORMATS: u32 = 0x86a2
COMPRESSED_TEXTURE_FORMATS
Constant ยท Source
pub const COMPRESSED_TEXTURE_FORMATS: u32 = 0x86a3
CLAMP_TO_BORDER
Constant ยท Source
pub const CLAMP_TO_BORDER: u32 = 0x812d
BLEND_DST_RGB
Constant ยท Source
pub const BLEND_DST_RGB: u32 = 0x80c8
BLEND_SRC_RGB
Constant ยท Source
pub const BLEND_SRC_RGB: u32 = 0x80c9
BLEND_DST_ALPHA
Constant ยท Source
pub const BLEND_DST_ALPHA: u32 = 0x80ca
BLEND_SRC_ALPHA
Constant ยท Source
pub const BLEND_SRC_ALPHA: u32 = 0x80cb
POINT_FADE_THRESHOLD_SIZE
Constant ยท Source
pub const POINT_FADE_THRESHOLD_SIZE: u32 = 0x8128
DEPTH_COMPONENT16
Constant ยท Source
pub const DEPTH_COMPONENT16: u32 = 0x81a5
DEPTH_COMPONENT24
Constant ยท Source
pub const DEPTH_COMPONENT24: u32 = 0x81a6
DEPTH_COMPONENT32
Constant ยท Source
pub const DEPTH_COMPONENT32: u32 = 0x81a7
MIRRORED_REPEAT
Constant ยท Source
pub const MIRRORED_REPEAT: u32 = 0x8370
MAX_TEXTURE_LOD_BIAS
Constant ยท Source
pub const MAX_TEXTURE_LOD_BIAS: u32 = 0x84fd
TEXTURE_LOD_BIAS
Constant ยท Source
pub const TEXTURE_LOD_BIAS: u32 = 0x8501
INCR_WRAP
Constant ยท Source
pub const INCR_WRAP: u32 = 0x8507
DECR_WRAP
Constant ยท Source
pub const DECR_WRAP: u32 = 0x8508
TEXTURE_DEPTH_SIZE
Constant ยท Source
pub const TEXTURE_DEPTH_SIZE: u32 = 0x884a
TEXTURE_COMPARE_MODE
Constant ยท Source
pub const TEXTURE_COMPARE_MODE: u32 = 0x884c
TEXTURE_COMPARE_FUNC
Constant ยท Source
pub const TEXTURE_COMPARE_FUNC: u32 = 0x884d
BLEND_COLOR
Constant ยท Source
pub const BLEND_COLOR: u32 = 0x8005
BLEND_EQUATION
Constant ยท Source
pub const BLEND_EQUATION: u32 = 0x8009
CONSTANT_COLOR
Constant ยท Source
pub const CONSTANT_COLOR: u32 = 0x8001
ONE_MINUS_CONSTANT_COLOR
Constant ยท Source
pub const ONE_MINUS_CONSTANT_COLOR: u32 = 0x8002
CONSTANT_ALPHA
Constant ยท Source
pub const CONSTANT_ALPHA: u32 = 0x8003
ONE_MINUS_CONSTANT_ALPHA
Constant ยท Source
pub const ONE_MINUS_CONSTANT_ALPHA: u32 = 0x8004
FUNC_ADD
Constant ยท Source
pub const FUNC_ADD: u32 = 0x8006
FUNC_REVERSE_SUBTRACT
Constant ยท Source
pub const FUNC_REVERSE_SUBTRACT: u32 = 0x800b
FUNC_SUBTRACT
Constant ยท Source
pub const FUNC_SUBTRACT: u32 = 0x800a
MIN
Constant ยท Source
pub const MIN: u32 = 0x8007
MAX
Constant ยท Source
pub const MAX: u32 = 0x8008
BUFFER_SIZE
Constant ยท Source
pub const BUFFER_SIZE: u32 = 0x8764
BUFFER_USAGE
Constant ยท Source
pub const BUFFER_USAGE: u32 = 0x8765
QUERY_COUNTER_BITS
Constant ยท Source
pub const QUERY_COUNTER_BITS: u32 = 0x8864
CURRENT_QUERY
Constant ยท Source
pub const CURRENT_QUERY: u32 = 0x8865
QUERY_RESULT
Constant ยท Source
pub const QUERY_RESULT: u32 = 0x8866
QUERY_RESULT_AVAILABLE
Constant ยท Source
pub const QUERY_RESULT_AVAILABLE: u32 = 0x8867
ARRAY_BUFFER
Constant ยท Source
pub const ARRAY_BUFFER: u32 = 0x8892
ELEMENT_ARRAY_BUFFER
Constant ยท Source
pub const ELEMENT_ARRAY_BUFFER: u32 = 0x8893
ARRAY_BUFFER_BINDING
Constant ยท Source
pub const ARRAY_BUFFER_BINDING: u32 = 0x8894
ELEMENT_ARRAY_BUFFER_BINDING
Constant ยท Source
pub const ELEMENT_ARRAY_BUFFER_BINDING: u32 = 0x8895
VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
Constant ยท Source
pub const VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: u32 = 0x889f
READ_ONLY
Constant ยท Source
pub const READ_ONLY: u32 = 0x88b8
WRITE_ONLY
Constant ยท Source
pub const WRITE_ONLY: u32 = 0x88b9
READ_WRITE
Constant ยท Source
pub const READ_WRITE: u32 = 0x88ba
BUFFER_ACCESS
Constant ยท Source
pub const BUFFER_ACCESS: u32 = 0x88bb
BUFFER_MAPPED
Constant ยท Source
pub const BUFFER_MAPPED: u32 = 0x88bc
BUFFER_MAP_POINTER
Constant ยท Source
pub const BUFFER_MAP_POINTER: u32 = 0x88bd
STREAM_DRAW
Constant ยท Source
pub const STREAM_DRAW: u32 = 0x88e0
STREAM_READ
Constant ยท Source
pub const STREAM_READ: u32 = 0x88e1
STREAM_COPY
Constant ยท Source
pub const STREAM_COPY: u32 = 0x88e2
STATIC_DRAW
Constant ยท Source
pub const STATIC_DRAW: u32 = 0x88e4
STATIC_READ
Constant ยท Source
pub const STATIC_READ: u32 = 0x88e5
STATIC_COPY
Constant ยท Source
pub const STATIC_COPY: u32 = 0x88e6
DYNAMIC_DRAW
Constant ยท Source
pub const DYNAMIC_DRAW: u32 = 0x88e8
DYNAMIC_READ
Constant ยท Source
pub const DYNAMIC_READ: u32 = 0x88e9
DYNAMIC_COPY
Constant ยท Source
pub const DYNAMIC_COPY: u32 = 0x88ea
SAMPLES_PASSED
Constant ยท Source
pub const SAMPLES_PASSED: u32 = 0x8914
SRC1_ALPHA
Constant ยท Source
pub const SRC1_ALPHA: u32 = 0x8589
BLEND_EQUATION_RGB
Constant ยท Source
pub const BLEND_EQUATION_RGB: u32 = 0x8009
VERTEX_ATTRIB_ARRAY_ENABLED
Constant ยท Source
pub const VERTEX_ATTRIB_ARRAY_ENABLED: u32 = 0x8622
VERTEX_ATTRIB_ARRAY_SIZE
Constant ยท Source
pub const VERTEX_ATTRIB_ARRAY_SIZE: u32 = 0x8623
VERTEX_ATTRIB_ARRAY_STRIDE
Constant ยท Source
pub const VERTEX_ATTRIB_ARRAY_STRIDE: u32 = 0x8624
VERTEX_ATTRIB_ARRAY_TYPE
Constant ยท Source
pub const VERTEX_ATTRIB_ARRAY_TYPE: u32 = 0x8625
CURRENT_VERTEX_ATTRIB
Constant ยท Source
pub const CURRENT_VERTEX_ATTRIB: u32 = 0x8626
VERTEX_PROGRAM_POINT_SIZE
Constant ยท Source
pub const VERTEX_PROGRAM_POINT_SIZE: u32 = 0x8642
VERTEX_ATTRIB_ARRAY_POINTER
Constant ยท Source
pub const VERTEX_ATTRIB_ARRAY_POINTER: u32 = 0x8645
STENCIL_BACK_FUNC
Constant ยท Source
pub const STENCIL_BACK_FUNC: u32 = 0x8800
STENCIL_BACK_FAIL
Constant ยท Source
pub const STENCIL_BACK_FAIL: u32 = 0x8801
STENCIL_BACK_PASS_DEPTH_FAIL
Constant ยท Source
pub const STENCIL_BACK_PASS_DEPTH_FAIL: u32 = 0x8802
STENCIL_BACK_PASS_DEPTH_PASS
Constant ยท Source
pub const STENCIL_BACK_PASS_DEPTH_PASS: u32 = 0x8803
MAX_DRAW_BUFFERS
Constant ยท Source
pub const MAX_DRAW_BUFFERS: u32 = 0x8824
DRAW_BUFFER0
Constant ยท Source
pub const DRAW_BUFFER0: u32 = 0x8825
DRAW_BUFFER1
Constant ยท Source
pub const DRAW_BUFFER1: u32 = 0x8826
DRAW_BUFFER2
Constant ยท Source
pub const DRAW_BUFFER2: u32 = 0x8827
DRAW_BUFFER3
Constant ยท Source
pub const DRAW_BUFFER3: u32 = 0x8828
DRAW_BUFFER4
Constant ยท Source
pub const DRAW_BUFFER4: u32 = 0x8829
DRAW_BUFFER5
Constant ยท Source
pub const DRAW_BUFFER5: u32 = 0x882a
DRAW_BUFFER6
Constant ยท Source
pub const DRAW_BUFFER6: u32 = 0x882b
DRAW_BUFFER7
Constant ยท Source
pub const DRAW_BUFFER7: u32 = 0x882c
DRAW_BUFFER8
Constant ยท Source
pub const DRAW_BUFFER8: u32 = 0x882d
DRAW_BUFFER9
Constant ยท Source
pub const DRAW_BUFFER9: u32 = 0x882e
DRAW_BUFFER10
Constant ยท Source
pub const DRAW_BUFFER10: u32 = 0x882f
DRAW_BUFFER11
Constant ยท Source
pub const DRAW_BUFFER11: u32 = 0x8830
DRAW_BUFFER12
Constant ยท Source
pub const DRAW_BUFFER12: u32 = 0x8831
DRAW_BUFFER13
Constant ยท Source
pub const DRAW_BUFFER13: u32 = 0x8832
DRAW_BUFFER14
Constant ยท Source
pub const DRAW_BUFFER14: u32 = 0x8833
DRAW_BUFFER15
Constant ยท Source
pub const DRAW_BUFFER15: u32 = 0x8834
BLEND_EQUATION_ALPHA
Constant ยท Source
pub const BLEND_EQUATION_ALPHA: u32 = 0x883d
MAX_VERTEX_ATTRIBS
Constant ยท Source
pub const MAX_VERTEX_ATTRIBS: u32 = 0x8869
VERTEX_ATTRIB_ARRAY_NORMALIZED
Constant ยท Source
pub const VERTEX_ATTRIB_ARRAY_NORMALIZED: u32 = 0x886a
MAX_TEXTURE_IMAGE_UNITS
Constant ยท Source
pub const MAX_TEXTURE_IMAGE_UNITS: u32 = 0x8872
FRAGMENT_SHADER
Constant ยท Source
pub const FRAGMENT_SHADER: u32 = 0x8b30
VERTEX_SHADER
Constant ยท Source
pub const VERTEX_SHADER: u32 = 0x8b31
MAX_FRAGMENT_UNIFORM_COMPONENTS
Constant ยท Source
pub const MAX_FRAGMENT_UNIFORM_COMPONENTS: u32 = 0x8b49
MAX_VERTEX_UNIFORM_COMPONENTS
Constant ยท Source
pub const MAX_VERTEX_UNIFORM_COMPONENTS: u32 = 0x8b4a
MAX_VARYING_FLOATS
Constant ยท Source
pub const MAX_VARYING_FLOATS: u32 = 0x8b4b
MAX_VERTEX_TEXTURE_IMAGE_UNITS
Constant ยท Source
pub const MAX_VERTEX_TEXTURE_IMAGE_UNITS: u32 = 0x8b4c
MAX_COMBINED_TEXTURE_IMAGE_UNITS
Constant ยท Source
pub const MAX_COMBINED_TEXTURE_IMAGE_UNITS: u32 = 0x8b4d
SHADER_TYPE
Constant ยท Source
pub const SHADER_TYPE: u32 = 0x8b4f
FLOAT_VEC2
Constant ยท Source
pub const FLOAT_VEC2: u32 = 0x8b50
FLOAT_VEC3
Constant ยท Source
pub const FLOAT_VEC3: u32 = 0x8b51
FLOAT_VEC4
Constant ยท Source
pub const FLOAT_VEC4: u32 = 0x8b52
INT_VEC2
Constant ยท Source
pub const INT_VEC2: u32 = 0x8b53
INT_VEC3
Constant ยท Source
pub const INT_VEC3: u32 = 0x8b54
INT_VEC4
Constant ยท Source
pub const INT_VEC4: u32 = 0x8b55
BOOL
Constant ยท Source
pub const BOOL: u32 = 0x8b56
BOOL_VEC2
Constant ยท Source
pub const BOOL_VEC2: u32 = 0x8b57
BOOL_VEC3
Constant ยท Source
pub const BOOL_VEC3: u32 = 0x8b58
BOOL_VEC4
Constant ยท Source
pub const BOOL_VEC4: u32 = 0x8b59
FLOAT_MAT2
Constant ยท Source
pub const FLOAT_MAT2: u32 = 0x8b5a
FLOAT_MAT3
Constant ยท Source
pub const FLOAT_MAT3: u32 = 0x8b5b
FLOAT_MAT4
Constant ยท Source
pub const FLOAT_MAT4: u32 = 0x8b5c
SAMPLER_1D
Constant ยท Source
pub const SAMPLER_1D: u32 = 0x8b5d
SAMPLER_2D
Constant ยท Source
pub const SAMPLER_2D: u32 = 0x8b5e
SAMPLER_3D
Constant ยท Source
pub const SAMPLER_3D: u32 = 0x8b5f
SAMPLER_CUBE
Constant ยท Source
pub const SAMPLER_CUBE: u32 = 0x8b60
SAMPLER_1D_SHADOW
Constant ยท Source
pub const SAMPLER_1D_SHADOW: u32 = 0x8b61
SAMPLER_2D_SHADOW
Constant ยท Source
pub const SAMPLER_2D_SHADOW: u32 = 0x8b62
DELETE_STATUS
Constant ยท Source
pub const DELETE_STATUS: u32 = 0x8b80
COMPILE_STATUS
Constant ยท Source
pub const COMPILE_STATUS: u32 = 0x8b81
LINK_STATUS
Constant ยท Source
pub const LINK_STATUS: u32 = 0x8b82
VALIDATE_STATUS
Constant ยท Source
pub const VALIDATE_STATUS: u32 = 0x8b83
INFO_LOG_LENGTH
Constant ยท Source
pub const INFO_LOG_LENGTH: u32 = 0x8b84
ATTACHED_SHADERS
Constant ยท Source
pub const ATTACHED_SHADERS: u32 = 0x8b85
ACTIVE_UNIFORMS
Constant ยท Source
pub const ACTIVE_UNIFORMS: u32 = 0x8b86
ACTIVE_UNIFORM_MAX_LENGTH
Constant ยท Source
pub const ACTIVE_UNIFORM_MAX_LENGTH: u32 = 0x8b87
SHADER_SOURCE_LENGTH
Constant ยท Source
pub const SHADER_SOURCE_LENGTH: u32 = 0x8b88
ACTIVE_ATTRIBUTES
Constant ยท Source
pub const ACTIVE_ATTRIBUTES: u32 = 0x8b89
ACTIVE_ATTRIBUTE_MAX_LENGTH
Constant ยท Source
pub const ACTIVE_ATTRIBUTE_MAX_LENGTH: u32 = 0x8b8a
FRAGMENT_SHADER_DERIVATIVE_HINT
Constant ยท Source
pub const FRAGMENT_SHADER_DERIVATIVE_HINT: u32 = 0x8b8b
SHADING_LANGUAGE_VERSION
Constant ยท Source
pub const SHADING_LANGUAGE_VERSION: u32 = 0x8b8c
CURRENT_PROGRAM
Constant ยท Source
pub const CURRENT_PROGRAM: u32 = 0x8b8d
POINT_SPRITE_COORD_ORIGIN
Constant ยท Source
pub const POINT_SPRITE_COORD_ORIGIN: u32 = 0x8ca0
LOWER_LEFT
Constant ยท Source
pub const LOWER_LEFT: u32 = 0x8ca1
UPPER_LEFT
Constant ยท Source
pub const UPPER_LEFT: u32 = 0x8ca2
STENCIL_BACK_REF
Constant ยท Source
pub const STENCIL_BACK_REF: u32 = 0x8ca3
STENCIL_BACK_VALUE_MASK
Constant ยท Source
pub const STENCIL_BACK_VALUE_MASK: u32 = 0x8ca4
STENCIL_BACK_WRITEMASK
Constant ยท Source
pub const STENCIL_BACK_WRITEMASK: u32 = 0x8ca5
PIXEL_PACK_BUFFER
Constant ยท Source
pub const PIXEL_PACK_BUFFER: u32 = 0x88eb
PIXEL_UNPACK_BUFFER
Constant ยท Source
pub const PIXEL_UNPACK_BUFFER: u32 = 0x88ec
PIXEL_PACK_BUFFER_BINDING
Constant ยท Source
pub const PIXEL_PACK_BUFFER_BINDING: u32 = 0x88ed
PIXEL_UNPACK_BUFFER_BINDING
Constant ยท Source
pub const PIXEL_UNPACK_BUFFER_BINDING: u32 = 0x88ef
FLOAT_MAT2x3
Constant ยท Source
pub const FLOAT_MAT2x3: u32 = 0x8b65
FLOAT_MAT2x4
Constant ยท Source
pub const FLOAT_MAT2x4: u32 = 0x8b66
FLOAT_MAT3x2
Constant ยท Source
pub const FLOAT_MAT3x2: u32 = 0x8b67
FLOAT_MAT3x4
Constant ยท Source
pub const FLOAT_MAT3x4: u32 = 0x8b68
FLOAT_MAT4x2
Constant ยท Source
pub const FLOAT_MAT4x2: u32 = 0x8b69
FLOAT_MAT4x3
Constant ยท Source
pub const FLOAT_MAT4x3: u32 = 0x8b6a
SRGB
Constant ยท Source
pub const SRGB: u32 = 0x8c40
SRGB8
Constant ยท Source
pub const SRGB8: u32 = 0x8c41
SRGB_ALPHA
Constant ยท Source
pub const SRGB_ALPHA: u32 = 0x8c42
SRGB8_ALPHA8
Constant ยท Source
pub const SRGB8_ALPHA8: u32 = 0x8c43
COMPRESSED_SRGB
Constant ยท Source
pub const COMPRESSED_SRGB: u32 = 0x8c48
COMPRESSED_SRGB_ALPHA
Constant ยท Source
pub const COMPRESSED_SRGB_ALPHA: u32 = 0x8c49
COMPARE_REF_TO_TEXTURE
Constant ยท Source
pub const COMPARE_REF_TO_TEXTURE: u32 = 0x884e
CLIP_DISTANCE0
Constant ยท Source
pub const CLIP_DISTANCE0: u32 = 0x3000
CLIP_DISTANCE1
Constant ยท Source
pub const CLIP_DISTANCE1: u32 = 0x3001
CLIP_DISTANCE2
Constant ยท Source
pub const CLIP_DISTANCE2: u32 = 0x3002
CLIP_DISTANCE3
Constant ยท Source
pub const CLIP_DISTANCE3: u32 = 0x3003
CLIP_DISTANCE4
Constant ยท Source
pub const CLIP_DISTANCE4: u32 = 0x3004
CLIP_DISTANCE5
Constant ยท Source
pub const CLIP_DISTANCE5: u32 = 0x3005
CLIP_DISTANCE6
Constant ยท Source
pub const CLIP_DISTANCE6: u32 = 0x3006
CLIP_DISTANCE7
Constant ยท Source
pub const CLIP_DISTANCE7: u32 = 0x3007
MAX_CLIP_DISTANCES
Constant ยท Source
pub const MAX_CLIP_DISTANCES: u32 = 0x0d32
MAJOR_VERSION
Constant ยท Source
pub const MAJOR_VERSION: u32 = 0x821b
MINOR_VERSION
Constant ยท Source
pub const MINOR_VERSION: u32 = 0x821c
NUM_EXTENSIONS
Constant ยท Source
pub const NUM_EXTENSIONS: u32 = 0x821d
CONTEXT_FLAGS
Constant ยท Source
pub const CONTEXT_FLAGS: u32 = 0x821e
COMPRESSED_RED
Constant ยท Source
pub const COMPRESSED_RED: u32 = 0x8225
COMPRESSED_RG
Constant ยท Source
pub const COMPRESSED_RG: u32 = 0x8226
CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT
Constant ยท Source
pub const CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT: u32 = 0x00000001
RGBA32F
Constant ยท Source
pub const RGBA32F: u32 = 0x8814
RGB32F
Constant ยท Source
pub const RGB32F: u32 = 0x8815
RGBA16F
Constant ยท Source
pub const RGBA16F: u32 = 0x881a
RGB16F
Constant ยท Source
pub const RGB16F: u32 = 0x881b
VERTEX_ATTRIB_ARRAY_INTEGER
Constant ยท Source
pub const VERTEX_ATTRIB_ARRAY_INTEGER: u32 = 0x88fd
MAX_ARRAY_TEXTURE_LAYERS
Constant ยท Source
pub const MAX_ARRAY_TEXTURE_LAYERS: u32 = 0x88ff
MIN_PROGRAM_TEXEL_OFFSET
Constant ยท Source
pub const MIN_PROGRAM_TEXEL_OFFSET: u32 = 0x8904
MAX_PROGRAM_TEXEL_OFFSET
Constant ยท Source
pub const MAX_PROGRAM_TEXEL_OFFSET: u32 = 0x8905
CLAMP_READ_COLOR
Constant ยท Source
pub const CLAMP_READ_COLOR: u32 = 0x891c
FIXED_ONLY
Constant ยท Source
pub const FIXED_ONLY: u32 = 0x891d
MAX_VARYING_COMPONENTS
Constant ยท Source
pub const MAX_VARYING_COMPONENTS: u32 = 0x8b4b
TEXTURE_1D_ARRAY
Constant ยท Source
pub const TEXTURE_1D_ARRAY: u32 = 0x8c18
PROXY_TEXTURE_1D_ARRAY
Constant ยท Source
pub const PROXY_TEXTURE_1D_ARRAY: u32 = 0x8c19
TEXTURE_2D_ARRAY
Constant ยท Source
pub const TEXTURE_2D_ARRAY: u32 = 0x8c1a
PROXY_TEXTURE_2D_ARRAY
Constant ยท Source
pub const PROXY_TEXTURE_2D_ARRAY: u32 = 0x8c1b
TEXTURE_BINDING_1D_ARRAY
Constant ยท Source
pub const TEXTURE_BINDING_1D_ARRAY: u32 = 0x8c1c
TEXTURE_BINDING_2D_ARRAY
Constant ยท Source
pub const TEXTURE_BINDING_2D_ARRAY: u32 = 0x8c1d
R11F_G11F_B10F
Constant ยท Source
pub const R11F_G11F_B10F: u32 = 0x8c3a
UNSIGNED_INT_10F_11F_11F_REV
Constant ยท Source
pub const UNSIGNED_INT_10F_11F_11F_REV: u32 = 0x8c3b
RGB9_E5
Constant ยท Source
pub const RGB9_E5: u32 = 0x8c3d
UNSIGNED_INT_5_9_9_9_REV
Constant ยท Source
pub const UNSIGNED_INT_5_9_9_9_REV: u32 = 0x8c3e
TEXTURE_SHARED_SIZE
Constant ยท Source
pub const TEXTURE_SHARED_SIZE: u32 = 0x8c3f
TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH
Constant ยท Source
pub const TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH: u32 = 0x8c76
TRANSFORM_FEEDBACK_BUFFER_MODE
Constant ยท Source
pub const TRANSFORM_FEEDBACK_BUFFER_MODE: u32 = 0x8c7f
MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS
Constant ยท Source
pub const MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: u32 = 0x8c80
TRANSFORM_FEEDBACK_VARYINGS
Constant ยท Source
pub const TRANSFORM_FEEDBACK_VARYINGS: u32 = 0x8c83
TRANSFORM_FEEDBACK_BUFFER_START
Constant ยท Source
pub const TRANSFORM_FEEDBACK_BUFFER_START: u32 = 0x8c84
TRANSFORM_FEEDBACK_BUFFER_SIZE
Constant ยท Source
pub const TRANSFORM_FEEDBACK_BUFFER_SIZE: u32 = 0x8c85
PRIMITIVES_GENERATED
Constant ยท Source
pub const PRIMITIVES_GENERATED: u32 = 0x8c87
TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN
Constant ยท Source
pub const TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: u32 = 0x8c88
RASTERIZER_DISCARD
Constant ยท Source
pub const RASTERIZER_DISCARD: u32 = 0x8c89
MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS
Constant ยท Source
pub const MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: u32 = 0x8c8a
MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS
Constant ยท Source
pub const MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: u32 = 0x8c8b
INTERLEAVED_ATTRIBS
Constant ยท Source
pub const INTERLEAVED_ATTRIBS: u32 = 0x8c8c
SEPARATE_ATTRIBS
Constant ยท Source
pub const SEPARATE_ATTRIBS: u32 = 0x8c8d
TRANSFORM_FEEDBACK_BUFFER
Constant ยท Source
pub const TRANSFORM_FEEDBACK_BUFFER: u32 = 0x8c8e
TRANSFORM_FEEDBACK_BUFFER_BINDING
Constant ยท Source
pub const TRANSFORM_FEEDBACK_BUFFER_BINDING: u32 = 0x8c8f
RGBA32UI
Constant ยท Source
pub const RGBA32UI: u32 = 0x8d70
RGB32UI
Constant ยท Source
pub const RGB32UI: u32 = 0x8d71
RGBA16UI
Constant ยท Source
pub const RGBA16UI: u32 = 0x8d76
RGB16UI
Constant ยท Source
pub const RGB16UI: u32 = 0x8d77
RGBA8UI
Constant ยท Source
pub const RGBA8UI: u32 = 0x8d7c
RGB8UI
Constant ยท Source
pub const RGB8UI: u32 = 0x8d7d
RGBA32I
Constant ยท Source
pub const RGBA32I: u32 = 0x8d82
RGB32I
Constant ยท Source
pub const RGB32I: u32 = 0x8d83
RGBA16I
Constant ยท Source
pub const RGBA16I: u32 = 0x8d88
RGB16I
Constant ยท Source
pub const RGB16I: u32 = 0x8d89
RGBA8I
Constant ยท Source
pub const RGBA8I: u32 = 0x8d8e
RGB8I
Constant ยท Source
pub const RGB8I: u32 = 0x8d8f
RED_INTEGER
Constant ยท Source
pub const RED_INTEGER: u32 = 0x8d94
GREEN_INTEGER
Constant ยท Source
pub const GREEN_INTEGER: u32 = 0x8d95
BLUE_INTEGER
Constant ยท Source
pub const BLUE_INTEGER: u32 = 0x8d96
RGB_INTEGER
Constant ยท Source
pub const RGB_INTEGER: u32 = 0x8d98
RGBA_INTEGER
Constant ยท Source
pub const RGBA_INTEGER: u32 = 0x8d99
BGR_INTEGER
Constant ยท Source
pub const BGR_INTEGER: u32 = 0x8d9a
BGRA_INTEGER
Constant ยท Source
pub const BGRA_INTEGER: u32 = 0x8d9b
SAMPLER_1D_ARRAY
Constant ยท Source
pub const SAMPLER_1D_ARRAY: u32 = 0x8dc0
SAMPLER_2D_ARRAY
Constant ยท Source
pub const SAMPLER_2D_ARRAY: u32 = 0x8dc1
SAMPLER_1D_ARRAY_SHADOW
Constant ยท Source
pub const SAMPLER_1D_ARRAY_SHADOW: u32 = 0x8dc3
SAMPLER_2D_ARRAY_SHADOW
Constant ยท Source
pub const SAMPLER_2D_ARRAY_SHADOW: u32 = 0x8dc4
SAMPLER_CUBE_SHADOW
Constant ยท Source
pub const SAMPLER_CUBE_SHADOW: u32 = 0x8dc5
UNSIGNED_INT_VEC2
Constant ยท Source
pub const UNSIGNED_INT_VEC2: u32 = 0x8dc6
UNSIGNED_INT_VEC3
Constant ยท Source
pub const UNSIGNED_INT_VEC3: u32 = 0x8dc7
UNSIGNED_INT_VEC4
Constant ยท Source
pub const UNSIGNED_INT_VEC4: u32 = 0x8dc8
INT_SAMPLER_1D
Constant ยท Source
pub const INT_SAMPLER_1D: u32 = 0x8dc9
INT_SAMPLER_2D
Constant ยท Source
pub const INT_SAMPLER_2D: u32 = 0x8dca
INT_SAMPLER_3D
Constant ยท Source
pub const INT_SAMPLER_3D: u32 = 0x8dcb
INT_SAMPLER_CUBE
Constant ยท Source
pub const INT_SAMPLER_CUBE: u32 = 0x8dcc
INT_SAMPLER_1D_ARRAY
Constant ยท Source
pub const INT_SAMPLER_1D_ARRAY: u32 = 0x8dce
INT_SAMPLER_2D_ARRAY
Constant ยท Source
pub const INT_SAMPLER_2D_ARRAY: u32 = 0x8dcf
UNSIGNED_INT_SAMPLER_1D
Constant ยท Source
pub const UNSIGNED_INT_SAMPLER_1D: u32 = 0x8dd1
UNSIGNED_INT_SAMPLER_2D
Constant ยท Source
pub const UNSIGNED_INT_SAMPLER_2D: u32 = 0x8dd2
UNSIGNED_INT_SAMPLER_3D
Constant ยท Source
pub const UNSIGNED_INT_SAMPLER_3D: u32 = 0x8dd3
UNSIGNED_INT_SAMPLER_CUBE
Constant ยท Source
pub const UNSIGNED_INT_SAMPLER_CUBE: u32 = 0x8dd4
UNSIGNED_INT_SAMPLER_1D_ARRAY
Constant ยท Source
pub const UNSIGNED_INT_SAMPLER_1D_ARRAY: u32 = 0x8dd6
UNSIGNED_INT_SAMPLER_2D_ARRAY
Constant ยท Source
pub const UNSIGNED_INT_SAMPLER_2D_ARRAY: u32 = 0x8dd7
QUERY_WAIT
Constant ยท Source
pub const QUERY_WAIT: u32 = 0x8e13
QUERY_NO_WAIT
Constant ยท Source
pub const QUERY_NO_WAIT: u32 = 0x8e14
QUERY_BY_REGION_WAIT
Constant ยท Source
pub const QUERY_BY_REGION_WAIT: u32 = 0x8e15
QUERY_BY_REGION_NO_WAIT
Constant ยท Source
pub const QUERY_BY_REGION_NO_WAIT: u32 = 0x8e16
BUFFER_ACCESS_FLAGS
Constant ยท Source
pub const BUFFER_ACCESS_FLAGS: u32 = 0x911f
BUFFER_MAP_LENGTH
Constant ยท Source
pub const BUFFER_MAP_LENGTH: u32 = 0x9120
BUFFER_MAP_OFFSET
Constant ยท Source
pub const BUFFER_MAP_OFFSET: u32 = 0x9121
DEPTH_COMPONENT32F
Constant ยท Source
pub const DEPTH_COMPONENT32F: u32 = 0x8cac
DEPTH32F_STENCIL8
Constant ยท Source
pub const DEPTH32F_STENCIL8: u32 = 0x8cad
FLOAT_32_UNSIGNED_INT_24_8_REV
Constant ยท Source
pub const FLOAT_32_UNSIGNED_INT_24_8_REV: u32 = 0x8dad
INVALID_FRAMEBUFFER_OPERATION
Constant ยท Source
pub const INVALID_FRAMEBUFFER_OPERATION: u32 = 0x0506
FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING
Constant ยท Source
pub const FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: u32 = 0x8210
FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE
Constant ยท Source
pub const FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: u32 = 0x8211
FRAMEBUFFER_ATTACHMENT_RED_SIZE
Constant ยท Source
pub const FRAMEBUFFER_ATTACHMENT_RED_SIZE: u32 = 0x8212
FRAMEBUFFER_ATTACHMENT_GREEN_SIZE
Constant ยท Source
pub const FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: u32 = 0x8213
FRAMEBUFFER_ATTACHMENT_BLUE_SIZE
Constant ยท Source
pub const FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: u32 = 0x8214
FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE
Constant ยท Source
pub const FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: u32 = 0x8215
FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE
Constant ยท Source
pub const FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: u32 = 0x8216
FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE
Constant ยท Source
pub const FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: u32 = 0x8217
FRAMEBUFFER_DEFAULT
Constant ยท Source
pub const FRAMEBUFFER_DEFAULT: u32 = 0x8218
FRAMEBUFFER_UNDEFINED
Constant ยท Source
pub const FRAMEBUFFER_UNDEFINED: u32 = 0x8219
DEPTH_STENCIL_ATTACHMENT
Constant ยท Source
pub const DEPTH_STENCIL_ATTACHMENT: u32 = 0x821a
MAX_RENDERBUFFER_SIZE
Constant ยท Source
pub const MAX_RENDERBUFFER_SIZE: u32 = 0x84e8
DEPTH_STENCIL
Constant ยท Source
pub const DEPTH_STENCIL: u32 = 0x84f9
UNSIGNED_INT_24_8
Constant ยท Source
pub const UNSIGNED_INT_24_8: u32 = 0x84fa
DEPTH24_STENCIL8
Constant ยท Source
pub const DEPTH24_STENCIL8: u32 = 0x88f0
TEXTURE_STENCIL_SIZE
Constant ยท Source
pub const TEXTURE_STENCIL_SIZE: u32 = 0x88f1
TEXTURE_RED_TYPE
Constant ยท Source
pub const TEXTURE_RED_TYPE: u32 = 0x8c10
TEXTURE_GREEN_TYPE
Constant ยท Source
pub const TEXTURE_GREEN_TYPE: u32 = 0x8c11
TEXTURE_BLUE_TYPE
Constant ยท Source
pub const TEXTURE_BLUE_TYPE: u32 = 0x8c12
TEXTURE_ALPHA_TYPE
Constant ยท Source
pub const TEXTURE_ALPHA_TYPE: u32 = 0x8c13
TEXTURE_DEPTH_TYPE
Constant ยท Source
pub const TEXTURE_DEPTH_TYPE: u32 = 0x8c16
UNSIGNED_NORMALIZED
Constant ยท Source
pub const UNSIGNED_NORMALIZED: u32 = 0x8c17
FRAMEBUFFER_BINDING
Constant ยท Source
pub const FRAMEBUFFER_BINDING: u32 = 0x8ca6
DRAW_FRAMEBUFFER_BINDING
Constant ยท Source
pub const DRAW_FRAMEBUFFER_BINDING: u32 = 0x8ca6
RENDERBUFFER_BINDING
Constant ยท Source
pub const RENDERBUFFER_BINDING: u32 = 0x8ca7
READ_FRAMEBUFFER
Constant ยท Source
pub const READ_FRAMEBUFFER: u32 = 0x8ca8
DRAW_FRAMEBUFFER
Constant ยท Source
pub const DRAW_FRAMEBUFFER: u32 = 0x8ca9
READ_FRAMEBUFFER_BINDING
Constant ยท Source
pub const READ_FRAMEBUFFER_BINDING: u32 = 0x8caa
RENDERBUFFER_SAMPLES
Constant ยท Source
pub const RENDERBUFFER_SAMPLES: u32 = 0x8cab
FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
Constant ยท Source
pub const FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: u32 = 0x8cd0
FRAMEBUFFER_ATTACHMENT_OBJECT_NAME
Constant ยท Source
pub const FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: u32 = 0x8cd1
FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL
Constant ยท Source
pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: u32 = 0x8cd2
FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE
Constant ยท Source
pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: u32 = 0x8cd3
FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER
Constant ยท Source
pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: u32 = 0x8cd4
FRAMEBUFFER_COMPLETE
Constant ยท Source
pub const FRAMEBUFFER_COMPLETE: u32 = 0x8cd5
FRAMEBUFFER_INCOMPLETE_ATTACHMENT
Constant ยท Source
pub const FRAMEBUFFER_INCOMPLETE_ATTACHMENT: u32 = 0x8cd6
FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
Constant ยท Source
pub const FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: u32 = 0x8cd7
FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER
Constant ยท Source
pub const FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER: u32 = 0x8cdb
FRAMEBUFFER_INCOMPLETE_READ_BUFFER
Constant ยท Source
pub const FRAMEBUFFER_INCOMPLETE_READ_BUFFER: u32 = 0x8cdc
FRAMEBUFFER_UNSUPPORTED
Constant ยท Source
pub const FRAMEBUFFER_UNSUPPORTED: u32 = 0x8cdd
MAX_COLOR_ATTACHMENTS
Constant ยท Source
pub const MAX_COLOR_ATTACHMENTS: u32 = 0x8cdf
COLOR_ATTACHMENT0
Constant ยท Source
pub const COLOR_ATTACHMENT0: u32 = 0x8ce0
COLOR_ATTACHMENT1
Constant ยท Source
pub const COLOR_ATTACHMENT1: u32 = 0x8ce1
COLOR_ATTACHMENT2
Constant ยท Source
pub const COLOR_ATTACHMENT2: u32 = 0x8ce2
COLOR_ATTACHMENT3
Constant ยท Source
pub const COLOR_ATTACHMENT3: u32 = 0x8ce3
COLOR_ATTACHMENT4
Constant ยท Source
pub const COLOR_ATTACHMENT4: u32 = 0x8ce4
COLOR_ATTACHMENT5
Constant ยท Source
pub const COLOR_ATTACHMENT5: u32 = 0x8ce5
COLOR_ATTACHMENT6
Constant ยท Source
pub const COLOR_ATTACHMENT6: u32 = 0x8ce6
COLOR_ATTACHMENT7
Constant ยท Source
pub const COLOR_ATTACHMENT7: u32 = 0x8ce7
COLOR_ATTACHMENT8
Constant ยท Source
pub const COLOR_ATTACHMENT8: u32 = 0x8ce8
COLOR_ATTACHMENT9
Constant ยท Source
pub const COLOR_ATTACHMENT9: u32 = 0x8ce9
COLOR_ATTACHMENT10
Constant ยท Source
pub const COLOR_ATTACHMENT10: u32 = 0x8cea
COLOR_ATTACHMENT11
Constant ยท Source
pub const COLOR_ATTACHMENT11: u32 = 0x8ceb
COLOR_ATTACHMENT12
Constant ยท Source
pub const COLOR_ATTACHMENT12: u32 = 0x8cec
COLOR_ATTACHMENT13
Constant ยท Source
pub const COLOR_ATTACHMENT13: u32 = 0x8ced
COLOR_ATTACHMENT14
Constant ยท Source
pub const COLOR_ATTACHMENT14: u32 = 0x8cee
COLOR_ATTACHMENT15
Constant ยท Source
pub const COLOR_ATTACHMENT15: u32 = 0x8cef
COLOR_ATTACHMENT16
Constant ยท Source
pub const COLOR_ATTACHMENT16: u32 = 0x8cf0
COLOR_ATTACHMENT17
Constant ยท Source
pub const COLOR_ATTACHMENT17: u32 = 0x8cf1
COLOR_ATTACHMENT18
Constant ยท Source
pub const COLOR_ATTACHMENT18: u32 = 0x8cf2
COLOR_ATTACHMENT19
Constant ยท Source
pub const COLOR_ATTACHMENT19: u32 = 0x8cf3
COLOR_ATTACHMENT20
Constant ยท Source
pub const COLOR_ATTACHMENT20: u32 = 0x8cf4
COLOR_ATTACHMENT21
Constant ยท Source
pub const COLOR_ATTACHMENT21: u32 = 0x8cf5
COLOR_ATTACHMENT22
Constant ยท Source
pub const COLOR_ATTACHMENT22: u32 = 0x8cf6
COLOR_ATTACHMENT23
Constant ยท Source
pub const COLOR_ATTACHMENT23: u32 = 0x8cf7
COLOR_ATTACHMENT24
Constant ยท Source
pub const COLOR_ATTACHMENT24: u32 = 0x8cf8
COLOR_ATTACHMENT25
Constant ยท Source
pub const COLOR_ATTACHMENT25: u32 = 0x8cf9
COLOR_ATTACHMENT26
Constant ยท Source
pub const COLOR_ATTACHMENT26: u32 = 0x8cfa
COLOR_ATTACHMENT27
Constant ยท Source
pub const COLOR_ATTACHMENT27: u32 = 0x8cfb
COLOR_ATTACHMENT28
Constant ยท Source
pub const COLOR_ATTACHMENT28: u32 = 0x8cfc
COLOR_ATTACHMENT29
Constant ยท Source
pub const COLOR_ATTACHMENT29: u32 = 0x8cfd
COLOR_ATTACHMENT30
Constant ยท Source
pub const COLOR_ATTACHMENT30: u32 = 0x8cfe
COLOR_ATTACHMENT31
Constant ยท Source
pub const COLOR_ATTACHMENT31: u32 = 0x8cff
DEPTH_ATTACHMENT
Constant ยท Source
pub const DEPTH_ATTACHMENT: u32 = 0x8d00
STENCIL_ATTACHMENT
Constant ยท Source
pub const STENCIL_ATTACHMENT: u32 = 0x8d20
FRAMEBUFFER
Constant ยท Source
pub const FRAMEBUFFER: u32 = 0x8d40
RENDERBUFFER
Constant ยท Source
pub const RENDERBUFFER: u32 = 0x8d41
RENDERBUFFER_WIDTH
Constant ยท Source
pub const RENDERBUFFER_WIDTH: u32 = 0x8d42
RENDERBUFFER_HEIGHT
Constant ยท Source
pub const RENDERBUFFER_HEIGHT: u32 = 0x8d43
RENDERBUFFER_INTERNAL_FORMAT
Constant ยท Source
pub const RENDERBUFFER_INTERNAL_FORMAT: u32 = 0x8d44
STENCIL_INDEX1
Constant ยท Source
pub const STENCIL_INDEX1: u32 = 0x8d46
STENCIL_INDEX4
Constant ยท Source
pub const STENCIL_INDEX4: u32 = 0x8d47
STENCIL_INDEX8
Constant ยท Source
pub const STENCIL_INDEX8: u32 = 0x8d48
STENCIL_INDEX16
Constant ยท Source
pub const STENCIL_INDEX16: u32 = 0x8d49
RENDERBUFFER_RED_SIZE
Constant ยท Source
pub const RENDERBUFFER_RED_SIZE: u32 = 0x8d50
RENDERBUFFER_GREEN_SIZE
Constant ยท Source
pub const RENDERBUFFER_GREEN_SIZE: u32 = 0x8d51
RENDERBUFFER_BLUE_SIZE
Constant ยท Source
pub const RENDERBUFFER_BLUE_SIZE: u32 = 0x8d52
RENDERBUFFER_ALPHA_SIZE
Constant ยท Source
pub const RENDERBUFFER_ALPHA_SIZE: u32 = 0x8d53
RENDERBUFFER_DEPTH_SIZE
Constant ยท Source
pub const RENDERBUFFER_DEPTH_SIZE: u32 = 0x8d54
RENDERBUFFER_STENCIL_SIZE
Constant ยท Source
pub const RENDERBUFFER_STENCIL_SIZE: u32 = 0x8d55
FRAMEBUFFER_INCOMPLETE_MULTISAMPLE
Constant ยท Source
pub const FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: u32 = 0x8d56
MAX_SAMPLES
Constant ยท Source
pub const MAX_SAMPLES: u32 = 0x8d57
FRAMEBUFFER_SRGB
Constant ยท Source
pub const FRAMEBUFFER_SRGB: u32 = 0x8db9
HALF_FLOAT
Constant ยท Source
pub const HALF_FLOAT: u32 = 0x140b
MAP_READ_BIT
Constant ยท Source
pub const MAP_READ_BIT: u32 = 0x0001
MAP_WRITE_BIT
Constant ยท Source
pub const MAP_WRITE_BIT: u32 = 0x0002
MAP_INVALIDATE_RANGE_BIT
Constant ยท Source
pub const MAP_INVALIDATE_RANGE_BIT: u32 = 0x0004
MAP_INVALIDATE_BUFFER_BIT
Constant ยท Source
pub const MAP_INVALIDATE_BUFFER_BIT: u32 = 0x0008
MAP_FLUSH_EXPLICIT_BIT
Constant ยท Source
pub const MAP_FLUSH_EXPLICIT_BIT: u32 = 0x0010
MAP_UNSYNCHRONIZED_BIT
Constant ยท Source
pub const MAP_UNSYNCHRONIZED_BIT: u32 = 0x0020
COMPRESSED_RED_RGTC1
Constant ยท Source
pub const COMPRESSED_RED_RGTC1: u32 = 0x8dbb
COMPRESSED_SIGNED_RED_RGTC1
Constant ยท Source
pub const COMPRESSED_SIGNED_RED_RGTC1: u32 = 0x8dbc
COMPRESSED_RG_RGTC2
Constant ยท Source
pub const COMPRESSED_RG_RGTC2: u32 = 0x8dbd
COMPRESSED_SIGNED_RG_RGTC2
Constant ยท Source
pub const COMPRESSED_SIGNED_RG_RGTC2: u32 = 0x8dbe
RG
Constant ยท Source
pub const RG: u32 = 0x8227
RG_INTEGER
Constant ยท Source
pub const RG_INTEGER: u32 = 0x8228
R8
Constant ยท Source
pub const R8: u32 = 0x8229
R16
Constant ยท Source
pub const R16: u32 = 0x822a
RG8
Constant ยท Source
pub const RG8: u32 = 0x822b
RG16
Constant ยท Source
pub const RG16: u32 = 0x822c
R16F
Constant ยท Source
pub const R16F: u32 = 0x822d
R32F
Constant ยท Source
pub const R32F: u32 = 0x822e
RG16F
Constant ยท Source
pub const RG16F: u32 = 0x822f
RG32F
Constant ยท Source
pub const RG32F: u32 = 0x8230
R8I
Constant ยท Source
pub const R8I: u32 = 0x8231
R8UI
Constant ยท Source
pub const R8UI: u32 = 0x8232
R16I
Constant ยท Source
pub const R16I: u32 = 0x8233
R16UI
Constant ยท Source
pub const R16UI: u32 = 0x8234
R32I
Constant ยท Source
pub const R32I: u32 = 0x8235
R32UI
Constant ยท Source
pub const R32UI: u32 = 0x8236
RG8I
Constant ยท Source
pub const RG8I: u32 = 0x8237
RG8UI
Constant ยท Source
pub const RG8UI: u32 = 0x8238
RG16I
Constant ยท Source
pub const RG16I: u32 = 0x8239
RG16UI
Constant ยท Source
pub const RG16UI: u32 = 0x823a
RG32I
Constant ยท Source
pub const RG32I: u32 = 0x823b
RG32UI
Constant ยท Source
pub const RG32UI: u32 = 0x823c
VERTEX_ARRAY_BINDING
Constant ยท Source
pub const VERTEX_ARRAY_BINDING: u32 = 0x85b5
SAMPLER_2D_RECT
Constant ยท Source
pub const SAMPLER_2D_RECT: u32 = 0x8b63
SAMPLER_2D_RECT_SHADOW
Constant ยท Source
pub const SAMPLER_2D_RECT_SHADOW: u32 = 0x8b64
SAMPLER_BUFFER
Constant ยท Source
pub const SAMPLER_BUFFER: u32 = 0x8dc2
INT_SAMPLER_2D_RECT
Constant ยท Source
pub const INT_SAMPLER_2D_RECT: u32 = 0x8dcd
INT_SAMPLER_BUFFER
Constant ยท Source
pub const INT_SAMPLER_BUFFER: u32 = 0x8dd0
UNSIGNED_INT_SAMPLER_2D_RECT
Constant ยท Source
pub const UNSIGNED_INT_SAMPLER_2D_RECT: u32 = 0x8dd5
UNSIGNED_INT_SAMPLER_BUFFER
Constant ยท Source
pub const UNSIGNED_INT_SAMPLER_BUFFER: u32 = 0x8dd8
TEXTURE_BUFFER
Constant ยท Source
pub const TEXTURE_BUFFER: u32 = 0x8c2a
MAX_TEXTURE_BUFFER_SIZE
Constant ยท Source
pub const MAX_TEXTURE_BUFFER_SIZE: u32 = 0x8c2b
TEXTURE_BINDING_BUFFER
Constant ยท Source
pub const TEXTURE_BINDING_BUFFER: u32 = 0x8c2c
TEXTURE_BUFFER_DATA_STORE_BINDING
Constant ยท Source
pub const TEXTURE_BUFFER_DATA_STORE_BINDING: u32 = 0x8c2d
TEXTURE_RECTANGLE
Constant ยท Source
pub const TEXTURE_RECTANGLE: u32 = 0x84f5
TEXTURE_BINDING_RECTANGLE
Constant ยท Source
pub const TEXTURE_BINDING_RECTANGLE: u32 = 0x84f6
PROXY_TEXTURE_RECTANGLE
Constant ยท Source
pub const PROXY_TEXTURE_RECTANGLE: u32 = 0x84f7
MAX_RECTANGLE_TEXTURE_SIZE
Constant ยท Source
pub const MAX_RECTANGLE_TEXTURE_SIZE: u32 = 0x84f8
R8_SNORM
Constant ยท Source
pub const R8_SNORM: u32 = 0x8f94
RG8_SNORM
Constant ยท Source
pub const RG8_SNORM: u32 = 0x8f95
RGB8_SNORM
Constant ยท Source
pub const RGB8_SNORM: u32 = 0x8f96
RGBA8_SNORM
Constant ยท Source
pub const RGBA8_SNORM: u32 = 0x8f97
R16_SNORM
Constant ยท Source
pub const R16_SNORM: u32 = 0x8f98
RG16_SNORM
Constant ยท Source
pub const RG16_SNORM: u32 = 0x8f99
RGB16_SNORM
Constant ยท Source
pub const RGB16_SNORM: u32 = 0x8f9a
RGBA16_SNORM
Constant ยท Source
pub const RGBA16_SNORM: u32 = 0x8f9b
SIGNED_NORMALIZED
Constant ยท Source
pub const SIGNED_NORMALIZED: u32 = 0x8f9c
PRIMITIVE_RESTART
Constant ยท Source
pub const PRIMITIVE_RESTART: u32 = 0x8f9d
PRIMITIVE_RESTART_INDEX
Constant ยท Source
pub const PRIMITIVE_RESTART_INDEX: u32 = 0x8f9e
COPY_READ_BUFFER
Constant ยท Source
pub const COPY_READ_BUFFER: u32 = 0x8f36
COPY_WRITE_BUFFER
Constant ยท Source
pub const COPY_WRITE_BUFFER: u32 = 0x8f37
UNIFORM_BUFFER
Constant ยท Source
pub const UNIFORM_BUFFER: u32 = 0x8a11
UNIFORM_BUFFER_BINDING
Constant ยท Source
pub const UNIFORM_BUFFER_BINDING: u32 = 0x8a28
UNIFORM_BUFFER_START
Constant ยท Source
pub const UNIFORM_BUFFER_START: u32 = 0x8a29
UNIFORM_BUFFER_SIZE
Constant ยท Source
pub const UNIFORM_BUFFER_SIZE: u32 = 0x8a2a
MAX_VERTEX_UNIFORM_BLOCKS
Constant ยท Source
pub const MAX_VERTEX_UNIFORM_BLOCKS: u32 = 0x8a2b
MAX_GEOMETRY_UNIFORM_BLOCKS
Constant ยท Source
pub const MAX_GEOMETRY_UNIFORM_BLOCKS: u32 = 0x8a2c
MAX_FRAGMENT_UNIFORM_BLOCKS
Constant ยท Source
pub const MAX_FRAGMENT_UNIFORM_BLOCKS: u32 = 0x8a2d
MAX_COMBINED_UNIFORM_BLOCKS
Constant ยท Source
pub const MAX_COMBINED_UNIFORM_BLOCKS: u32 = 0x8a2e
MAX_UNIFORM_BUFFER_BINDINGS
Constant ยท Source
pub const MAX_UNIFORM_BUFFER_BINDINGS: u32 = 0x8a2f
MAX_UNIFORM_BLOCK_SIZE
Constant ยท Source
pub const MAX_UNIFORM_BLOCK_SIZE: u32 = 0x8a30
MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS
Constant ยท Source
pub const MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: u32 = 0x8a31
MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS
Constant ยท Source
pub const MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS: u32 = 0x8a32
MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS
Constant ยท Source
pub const MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: u32 = 0x8a33
UNIFORM_BUFFER_OFFSET_ALIGNMENT
Constant ยท Source
pub const UNIFORM_BUFFER_OFFSET_ALIGNMENT: u32 = 0x8a34
ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH
Constant ยท Source
pub const ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH: u32 = 0x8a35
ACTIVE_UNIFORM_BLOCKS
Constant ยท Source
pub const ACTIVE_UNIFORM_BLOCKS: u32 = 0x8a36
UNIFORM_TYPE
Constant ยท Source
pub const UNIFORM_TYPE: u32 = 0x8a37
UNIFORM_SIZE
Constant ยท Source
pub const UNIFORM_SIZE: u32 = 0x8a38
UNIFORM_NAME_LENGTH
Constant ยท Source
pub const UNIFORM_NAME_LENGTH: u32 = 0x8a39
UNIFORM_BLOCK_INDEX
Constant ยท Source
pub const UNIFORM_BLOCK_INDEX: u32 = 0x8a3a
UNIFORM_OFFSET
Constant ยท Source
pub const UNIFORM_OFFSET: u32 = 0x8a3b
UNIFORM_ARRAY_STRIDE
Constant ยท Source
pub const UNIFORM_ARRAY_STRIDE: u32 = 0x8a3c
UNIFORM_MATRIX_STRIDE
Constant ยท Source
pub const UNIFORM_MATRIX_STRIDE: u32 = 0x8a3d
UNIFORM_IS_ROW_MAJOR
Constant ยท Source
pub const UNIFORM_IS_ROW_MAJOR: u32 = 0x8a3e
UNIFORM_BLOCK_BINDING
Constant ยท Source
pub const UNIFORM_BLOCK_BINDING: u32 = 0x8a3f
UNIFORM_BLOCK_DATA_SIZE
Constant ยท Source
pub const UNIFORM_BLOCK_DATA_SIZE: u32 = 0x8a40
UNIFORM_BLOCK_NAME_LENGTH
Constant ยท Source
pub const UNIFORM_BLOCK_NAME_LENGTH: u32 = 0x8a41
UNIFORM_BLOCK_ACTIVE_UNIFORMS
Constant ยท Source
pub const UNIFORM_BLOCK_ACTIVE_UNIFORMS: u32 = 0x8a42
UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES
Constant ยท Source
pub const UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: u32 = 0x8a43
UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER
Constant ยท Source
pub const UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: u32 = 0x8a44
UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER
Constant ยท Source
pub const UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER: u32 = 0x8a45
UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER
Constant ยท Source
pub const UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: u32 = 0x8a46
INVALID_INDEX
Constant ยท Source
pub const INVALID_INDEX: u32 = 0xffffffff
CONTEXT_CORE_PROFILE_BIT
Constant ยท Source
pub const CONTEXT_CORE_PROFILE_BIT: u32 = 0x00000001
CONTEXT_COMPATIBILITY_PROFILE_BIT
Constant ยท Source
pub const CONTEXT_COMPATIBILITY_PROFILE_BIT: u32 = 0x00000002
LINES_ADJACENCY
Constant ยท Source
pub const LINES_ADJACENCY: u32 = 0x000a
LINE_STRIP_ADJACENCY
Constant ยท Source
pub const LINE_STRIP_ADJACENCY: u32 = 0x000b
TRIANGLES_ADJACENCY
Constant ยท Source
pub const TRIANGLES_ADJACENCY: u32 = 0x000c
TRIANGLE_STRIP_ADJACENCY
Constant ยท Source
pub const TRIANGLE_STRIP_ADJACENCY: u32 = 0x000d
PROGRAM_POINT_SIZE
Constant ยท Source
pub const PROGRAM_POINT_SIZE: u32 = 0x8642
MAX_GEOMETRY_TEXTURE_IMAGE_UNITS
Constant ยท Source
pub const MAX_GEOMETRY_TEXTURE_IMAGE_UNITS: u32 = 0x8c29
FRAMEBUFFER_ATTACHMENT_LAYERED
Constant ยท Source
pub const FRAMEBUFFER_ATTACHMENT_LAYERED: u32 = 0x8da7
FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS
Constant ยท Source
pub const FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS: u32 = 0x8da8
GEOMETRY_SHADER
Constant ยท Source
pub const GEOMETRY_SHADER: u32 = 0x8dd9
GEOMETRY_VERTICES_OUT
Constant ยท Source
pub const GEOMETRY_VERTICES_OUT: u32 = 0x8916
GEOMETRY_INPUT_TYPE
Constant ยท Source
pub const GEOMETRY_INPUT_TYPE: u32 = 0x8917
GEOMETRY_OUTPUT_TYPE
Constant ยท Source
pub const GEOMETRY_OUTPUT_TYPE: u32 = 0x8918
MAX_GEOMETRY_UNIFORM_COMPONENTS
Constant ยท Source
pub const MAX_GEOMETRY_UNIFORM_COMPONENTS: u32 = 0x8ddf
MAX_GEOMETRY_OUTPUT_VERTICES
Constant ยท Source
pub const MAX_GEOMETRY_OUTPUT_VERTICES: u32 = 0x8de0
MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS
Constant ยท Source
pub const MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS: u32 = 0x8de1
MAX_VERTEX_OUTPUT_COMPONENTS
Constant ยท Source
pub const MAX_VERTEX_OUTPUT_COMPONENTS: u32 = 0x9122
MAX_GEOMETRY_INPUT_COMPONENTS
Constant ยท Source
pub const MAX_GEOMETRY_INPUT_COMPONENTS: u32 = 0x9123
MAX_GEOMETRY_OUTPUT_COMPONENTS
Constant ยท Source
pub const MAX_GEOMETRY_OUTPUT_COMPONENTS: u32 = 0x9124
MAX_FRAGMENT_INPUT_COMPONENTS
Constant ยท Source
pub const MAX_FRAGMENT_INPUT_COMPONENTS: u32 = 0x9125
CONTEXT_PROFILE_MASK
Constant ยท Source
pub const CONTEXT_PROFILE_MASK: u32 = 0x9126
DEPTH_CLAMP
Constant ยท Source
pub const DEPTH_CLAMP: u32 = 0x864f
QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION
Constant ยท Source
pub const QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION: u32 = 0x8e4c
FIRST_VERTEX_CONVENTION
Constant ยท Source
pub const FIRST_VERTEX_CONVENTION: u32 = 0x8e4d
LAST_VERTEX_CONVENTION
Constant ยท Source
pub const LAST_VERTEX_CONVENTION: u32 = 0x8e4e
PROVOKING_VERTEX
Constant ยท Source
pub const PROVOKING_VERTEX: u32 = 0x8e4f
TEXTURE_CUBE_MAP_SEAMLESS
Constant ยท Source
pub const TEXTURE_CUBE_MAP_SEAMLESS: u32 = 0x884f
MAX_SERVER_WAIT_TIMEOUT
Constant ยท Source
pub const MAX_SERVER_WAIT_TIMEOUT: u32 = 0x9111
OBJECT_TYPE
Constant ยท Source
pub const OBJECT_TYPE: u32 = 0x9112
SYNC_CONDITION
Constant ยท Source
pub const SYNC_CONDITION: u32 = 0x9113
SYNC_STATUS
Constant ยท Source
pub const SYNC_STATUS: u32 = 0x9114
SYNC_FLAGS
Constant ยท Source
pub const SYNC_FLAGS: u32 = 0x9115
SYNC_FENCE
Constant ยท Source
pub const SYNC_FENCE: u32 = 0x9116
SYNC_GPU_COMMANDS_COMPLETE
Constant ยท Source
pub const SYNC_GPU_COMMANDS_COMPLETE: u32 = 0x9117
UNSIGNALED
Constant ยท Source
pub const UNSIGNALED: u32 = 0x9118
SIGNALED
Constant ยท Source
pub const SIGNALED: u32 = 0x9119
ALREADY_SIGNALED
Constant ยท Source
pub const ALREADY_SIGNALED: u32 = 0x911a
TIMEOUT_EXPIRED
Constant ยท Source
pub const TIMEOUT_EXPIRED: u32 = 0x911b
CONDITION_SATISFIED
Constant ยท Source
pub const CONDITION_SATISFIED: u32 = 0x911c
WAIT_FAILED
Constant ยท Source
pub const WAIT_FAILED: u32 = 0x911d
TIMEOUT_IGNORED
Constant ยท Source
pub const TIMEOUT_IGNORED: u64 = 0xffffffffffffffff
SYNC_FLUSH_COMMANDS_BIT
Constant ยท Source
pub const SYNC_FLUSH_COMMANDS_BIT: u32 = 0x00000001
SAMPLE_POSITION
Constant ยท Source
pub const SAMPLE_POSITION: u32 = 0x8e50
SAMPLE_MASK
Constant ยท Source
pub const SAMPLE_MASK: u32 = 0x8e51
SAMPLE_MASK_VALUE
Constant ยท Source
pub const SAMPLE_MASK_VALUE: u32 = 0x8e52
MAX_SAMPLE_MASK_WORDS
Constant ยท Source
pub const MAX_SAMPLE_MASK_WORDS: u32 = 0x8e59
TEXTURE_2D_MULTISAMPLE
Constant ยท Source
pub const TEXTURE_2D_MULTISAMPLE: u32 = 0x9100
PROXY_TEXTURE_2D_MULTISAMPLE
Constant ยท Source
pub const PROXY_TEXTURE_2D_MULTISAMPLE: u32 = 0x9101
TEXTURE_2D_MULTISAMPLE_ARRAY
Constant ยท Source
pub const TEXTURE_2D_MULTISAMPLE_ARRAY: u32 = 0x9102
PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY
Constant ยท Source
pub const PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY: u32 = 0x9103
TEXTURE_BINDING_2D_MULTISAMPLE
Constant ยท Source
pub const TEXTURE_BINDING_2D_MULTISAMPLE: u32 = 0x9104
TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY
Constant ยท Source
pub const TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY: u32 = 0x9105
TEXTURE_SAMPLES
Constant ยท Source
pub const TEXTURE_SAMPLES: u32 = 0x9106
TEXTURE_FIXED_SAMPLE_LOCATIONS
Constant ยท Source
pub const TEXTURE_FIXED_SAMPLE_LOCATIONS: u32 = 0x9107
SAMPLER_2D_MULTISAMPLE
Constant ยท Source
pub const SAMPLER_2D_MULTISAMPLE: u32 = 0x9108
INT_SAMPLER_2D_MULTISAMPLE
Constant ยท Source
pub const INT_SAMPLER_2D_MULTISAMPLE: u32 = 0x9109
UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE
Constant ยท Source
pub const UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE: u32 = 0x910a
SAMPLER_2D_MULTISAMPLE_ARRAY
Constant ยท Source
pub const SAMPLER_2D_MULTISAMPLE_ARRAY: u32 = 0x910b
INT_SAMPLER_2D_MULTISAMPLE_ARRAY
Constant ยท Source
pub const INT_SAMPLER_2D_MULTISAMPLE_ARRAY: u32 = 0x910c
UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY
Constant ยท Source
pub const UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY: u32 = 0x910d
MAX_COLOR_TEXTURE_SAMPLES
Constant ยท Source
pub const MAX_COLOR_TEXTURE_SAMPLES: u32 = 0x910e
MAX_DEPTH_TEXTURE_SAMPLES
Constant ยท Source
pub const MAX_DEPTH_TEXTURE_SAMPLES: u32 = 0x910f
MAX_INTEGER_SAMPLES
Constant ยท Source
pub const MAX_INTEGER_SAMPLES: u32 = 0x9110
VERTEX_ATTRIB_ARRAY_DIVISOR
Constant ยท Source
pub const VERTEX_ATTRIB_ARRAY_DIVISOR: u32 = 0x88fe
SRC1_COLOR
Constant ยท Source
pub const SRC1_COLOR: u32 = 0x88f9
ONE_MINUS_SRC1_COLOR
Constant ยท Source
pub const ONE_MINUS_SRC1_COLOR: u32 = 0x88fa
ONE_MINUS_SRC1_ALPHA
Constant ยท Source
pub const ONE_MINUS_SRC1_ALPHA: u32 = 0x88fb
MAX_DUAL_SOURCE_DRAW_BUFFERS
Constant ยท Source
pub const MAX_DUAL_SOURCE_DRAW_BUFFERS: u32 = 0x88fc
ANY_SAMPLES_PASSED
Constant ยท Source
pub const ANY_SAMPLES_PASSED: u32 = 0x8c2f
SAMPLER_BINDING
Constant ยท Source
pub const SAMPLER_BINDING: u32 = 0x8919
RGB10_A2UI
Constant ยท Source
pub const RGB10_A2UI: u32 = 0x906f
TEXTURE_SWIZZLE_R
Constant ยท Source
pub const TEXTURE_SWIZZLE_R: u32 = 0x8e42
TEXTURE_SWIZZLE_G
Constant ยท Source
pub const TEXTURE_SWIZZLE_G: u32 = 0x8e43
TEXTURE_SWIZZLE_B
Constant ยท Source
pub const TEXTURE_SWIZZLE_B: u32 = 0x8e44
TEXTURE_SWIZZLE_A
Constant ยท Source
pub const TEXTURE_SWIZZLE_A: u32 = 0x8e45
TEXTURE_SWIZZLE_RGBA
Constant ยท Source
pub const TEXTURE_SWIZZLE_RGBA: u32 = 0x8e46
TIME_ELAPSED
Constant ยท Source
pub const TIME_ELAPSED: u32 = 0x88bf
TIMESTAMP
Constant ยท Source
pub const TIMESTAMP: u32 = 0x8e28
INT_2_10_10_10_REV
Constant ยท Source
pub const INT_2_10_10_10_REV: u32 = 0x8d9f
SAMPLE_SHADING
Constant ยท Source
pub const SAMPLE_SHADING: u32 = 0x8c36
MIN_SAMPLE_SHADING_VALUE
Constant ยท Source
pub const MIN_SAMPLE_SHADING_VALUE: u32 = 0x8c37
MIN_PROGRAM_TEXTURE_GATHER_OFFSET
Constant ยท Source
pub const MIN_PROGRAM_TEXTURE_GATHER_OFFSET: u32 = 0x8e5e
MAX_PROGRAM_TEXTURE_GATHER_OFFSET
Constant ยท Source
pub const MAX_PROGRAM_TEXTURE_GATHER_OFFSET: u32 = 0x8e5f
TEXTURE_CUBE_MAP_ARRAY
Constant ยท Source
pub const TEXTURE_CUBE_MAP_ARRAY: u32 = 0x9009
TEXTURE_BINDING_CUBE_MAP_ARRAY
Constant ยท Source
pub const TEXTURE_BINDING_CUBE_MAP_ARRAY: u32 = 0x900a
PROXY_TEXTURE_CUBE_MAP_ARRAY
Constant ยท Source
pub const PROXY_TEXTURE_CUBE_MAP_ARRAY: u32 = 0x900b
SAMPLER_CUBE_MAP_ARRAY
Constant ยท Source
pub const SAMPLER_CUBE_MAP_ARRAY: u32 = 0x900c
SAMPLER_CUBE_MAP_ARRAY_SHADOW
Constant ยท Source
pub const SAMPLER_CUBE_MAP_ARRAY_SHADOW: u32 = 0x900d
INT_SAMPLER_CUBE_MAP_ARRAY
Constant ยท Source
pub const INT_SAMPLER_CUBE_MAP_ARRAY: u32 = 0x900e
UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY
Constant ยท Source
pub const UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY: u32 = 0x900f
DRAW_INDIRECT_BUFFER
Constant ยท Source
pub const DRAW_INDIRECT_BUFFER: u32 = 0x8f3f
DRAW_INDIRECT_BUFFER_BINDING
Constant ยท Source
pub const DRAW_INDIRECT_BUFFER_BINDING: u32 = 0x8f43
GEOMETRY_SHADER_INVOCATIONS
Constant ยท Source
pub const GEOMETRY_SHADER_INVOCATIONS: u32 = 0x887f
MAX_GEOMETRY_SHADER_INVOCATIONS
Constant ยท Source
pub const MAX_GEOMETRY_SHADER_INVOCATIONS: u32 = 0x8e5a
MIN_FRAGMENT_INTERPOLATION_OFFSET
Constant ยท Source
pub const MIN_FRAGMENT_INTERPOLATION_OFFSET: u32 = 0x8e5b
MAX_FRAGMENT_INTERPOLATION_OFFSET
Constant ยท Source
pub const MAX_FRAGMENT_INTERPOLATION_OFFSET: u32 = 0x8e5c
FRAGMENT_INTERPOLATION_OFFSET_BITS
Constant ยท Source
pub const FRAGMENT_INTERPOLATION_OFFSET_BITS: u32 = 0x8e5d
MAX_VERTEX_STREAMS
Constant ยท Source
pub const MAX_VERTEX_STREAMS: u32 = 0x8e71
DOUBLE_VEC2
Constant ยท Source
pub const DOUBLE_VEC2: u32 = 0x8ffc
DOUBLE_VEC3
Constant ยท Source
pub const DOUBLE_VEC3: u32 = 0x8ffd
DOUBLE_VEC4
Constant ยท Source
pub const DOUBLE_VEC4: u32 = 0x8ffe
DOUBLE_MAT2
Constant ยท Source
pub const DOUBLE_MAT2: u32 = 0x8f46
DOUBLE_MAT3
Constant ยท Source
pub const DOUBLE_MAT3: u32 = 0x8f47
DOUBLE_MAT4
Constant ยท Source
pub const DOUBLE_MAT4: u32 = 0x8f48
DOUBLE_MAT2x3
Constant ยท Source
pub const DOUBLE_MAT2x3: u32 = 0x8f49
DOUBLE_MAT2x4
Constant ยท Source
pub const DOUBLE_MAT2x4: u32 = 0x8f4a
DOUBLE_MAT3x2
Constant ยท Source
pub const DOUBLE_MAT3x2: u32 = 0x8f4b
DOUBLE_MAT3x4
Constant ยท Source
pub const DOUBLE_MAT3x4: u32 = 0x8f4c
DOUBLE_MAT4x2
Constant ยท Source
pub const DOUBLE_MAT4x2: u32 = 0x8f4d
DOUBLE_MAT4x3
Constant ยท Source
pub const DOUBLE_MAT4x3: u32 = 0x8f4e
ACTIVE_SUBROUTINES
Constant ยท Source
pub const ACTIVE_SUBROUTINES: u32 = 0x8de5
ACTIVE_SUBROUTINE_UNIFORMS
Constant ยท Source
pub const ACTIVE_SUBROUTINE_UNIFORMS: u32 = 0x8de6
ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS
Constant ยท Source
pub const ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS: u32 = 0x8e47
ACTIVE_SUBROUTINE_MAX_LENGTH
Constant ยท Source
pub const ACTIVE_SUBROUTINE_MAX_LENGTH: u32 = 0x8e48
ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH
Constant ยท Source
pub const ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH: u32 = 0x8e49
MAX_SUBROUTINES
Constant ยท Source
pub const MAX_SUBROUTINES: u32 = 0x8de7
MAX_SUBROUTINE_UNIFORM_LOCATIONS
Constant ยท Source
pub const MAX_SUBROUTINE_UNIFORM_LOCATIONS: u32 = 0x8de8
NUM_COMPATIBLE_SUBROUTINES
Constant ยท Source
pub const NUM_COMPATIBLE_SUBROUTINES: u32 = 0x8e4a
COMPATIBLE_SUBROUTINES
Constant ยท Source
pub const COMPATIBLE_SUBROUTINES: u32 = 0x8e4b
PATCHES
Constant ยท Source
pub const PATCHES: u32 = 0x000e
PATCH_VERTICES
Constant ยท Source
pub const PATCH_VERTICES: u32 = 0x8e72
PATCH_DEFAULT_INNER_LEVEL
Constant ยท Source
pub const PATCH_DEFAULT_INNER_LEVEL: u32 = 0x8e73
PATCH_DEFAULT_OUTER_LEVEL
Constant ยท Source
pub const PATCH_DEFAULT_OUTER_LEVEL: u32 = 0x8e74
TESS_CONTROL_OUTPUT_VERTICES
Constant ยท Source
pub const TESS_CONTROL_OUTPUT_VERTICES: u32 = 0x8e75
TESS_GEN_MODE
Constant ยท Source
pub const TESS_GEN_MODE: u32 = 0x8e76
TESS_GEN_SPACING
Constant ยท Source
pub const TESS_GEN_SPACING: u32 = 0x8e77
TESS_GEN_VERTEX_ORDER
Constant ยท Source
pub const TESS_GEN_VERTEX_ORDER: u32 = 0x8e78
TESS_GEN_POINT_MODE
Constant ยท Source
pub const TESS_GEN_POINT_MODE: u32 = 0x8e79
ISOLINES
Constant ยท Source
pub const ISOLINES: u32 = 0x8e7a
FRACTIONAL_ODD
Constant ยท Source
pub const FRACTIONAL_ODD: u32 = 0x8e7b
FRACTIONAL_EVEN
Constant ยท Source
pub const FRACTIONAL_EVEN: u32 = 0x8e7c
MAX_PATCH_VERTICES
Constant ยท Source
pub const MAX_PATCH_VERTICES: u32 = 0x8e7d
MAX_TESS_GEN_LEVEL
Constant ยท Source
pub const MAX_TESS_GEN_LEVEL: u32 = 0x8e7e
MAX_TESS_CONTROL_UNIFORM_COMPONENTS
Constant ยท Source
pub const MAX_TESS_CONTROL_UNIFORM_COMPONENTS: u32 = 0x8e7f
MAX_TESS_EVALUATION_UNIFORM_COMPONENTS
Constant ยท Source
pub const MAX_TESS_EVALUATION_UNIFORM_COMPONENTS: u32 = 0x8e80
MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS
Constant ยท Source
pub const MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS: u32 = 0x8e81
MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS
Constant ยท Source
pub const MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS: u32 = 0x8e82
MAX_TESS_CONTROL_OUTPUT_COMPONENTS
Constant ยท Source
pub const MAX_TESS_CONTROL_OUTPUT_COMPONENTS: u32 = 0x8e83
MAX_TESS_PATCH_COMPONENTS
Constant ยท Source
pub const MAX_TESS_PATCH_COMPONENTS: u32 = 0x8e84
MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS
Constant ยท Source
pub const MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS: u32 = 0x8e85
MAX_TESS_EVALUATION_OUTPUT_COMPONENTS
Constant ยท Source
pub const MAX_TESS_EVALUATION_OUTPUT_COMPONENTS: u32 = 0x8e86
MAX_TESS_CONTROL_UNIFORM_BLOCKS
Constant ยท Source
pub const MAX_TESS_CONTROL_UNIFORM_BLOCKS: u32 = 0x8e89
MAX_TESS_EVALUATION_UNIFORM_BLOCKS
Constant ยท Source
pub const MAX_TESS_EVALUATION_UNIFORM_BLOCKS: u32 = 0x8e8a
MAX_TESS_CONTROL_INPUT_COMPONENTS
Constant ยท Source
pub const MAX_TESS_CONTROL_INPUT_COMPONENTS: u32 = 0x886c
MAX_TESS_EVALUATION_INPUT_COMPONENTS
Constant ยท Source
pub const MAX_TESS_EVALUATION_INPUT_COMPONENTS: u32 = 0x886d
MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS
Constant ยท Source
pub const MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS: u32 = 0x8e1e
MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS
Constant ยท Source
pub const MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS: u32 = 0x8e1f
UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER
Constant ยท Source
pub const UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER: u32 = 0x84f0
UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER
Constant ยท Source
pub const UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER: u32 = 0x84f1
TESS_EVALUATION_SHADER
Constant ยท Source
pub const TESS_EVALUATION_SHADER: u32 = 0x8e87
TESS_CONTROL_SHADER
Constant ยท Source
pub const TESS_CONTROL_SHADER: u32 = 0x8e88
TRANSFORM_FEEDBACK
Constant ยท Source
pub const TRANSFORM_FEEDBACK: u32 = 0x8e22
TRANSFORM_FEEDBACK_BUFFER_PAUSED
Constant ยท Source
pub const TRANSFORM_FEEDBACK_BUFFER_PAUSED: u32 = 0x8e23
TRANSFORM_FEEDBACK_BUFFER_ACTIVE
Constant ยท Source
pub const TRANSFORM_FEEDBACK_BUFFER_ACTIVE: u32 = 0x8e24
TRANSFORM_FEEDBACK_BINDING
Constant ยท Source
pub const TRANSFORM_FEEDBACK_BINDING: u32 = 0x8e25
MAX_TRANSFORM_FEEDBACK_BUFFERS
Constant ยท Source
pub const MAX_TRANSFORM_FEEDBACK_BUFFERS: u32 = 0x8e70
FIXED
Constant ยท Source
pub const FIXED: u32 = 0x140c
IMPLEMENTATION_COLOR_READ_TYPE
Constant ยท Source
pub const IMPLEMENTATION_COLOR_READ_TYPE: u32 = 0x8b9a
IMPLEMENTATION_COLOR_READ_FORMAT
Constant ยท Source
pub const IMPLEMENTATION_COLOR_READ_FORMAT: u32 = 0x8b9b
LOW_FLOAT
Constant ยท Source
pub const LOW_FLOAT: u32 = 0x8df0
MEDIUM_FLOAT
Constant ยท Source
pub const MEDIUM_FLOAT: u32 = 0x8df1
HIGH_FLOAT
Constant ยท Source
pub const HIGH_FLOAT: u32 = 0x8df2
LOW_INT
Constant ยท Source
pub const LOW_INT: u32 = 0x8df3
MEDIUM_INT
Constant ยท Source
pub const MEDIUM_INT: u32 = 0x8df4
HIGH_INT
Constant ยท Source
pub const HIGH_INT: u32 = 0x8df5
SHADER_COMPILER
Constant ยท Source
pub const SHADER_COMPILER: u32 = 0x8dfa
SHADER_BINARY_FORMATS
Constant ยท Source
pub const SHADER_BINARY_FORMATS: u32 = 0x8df8
NUM_SHADER_BINARY_FORMATS
Constant ยท Source
pub const NUM_SHADER_BINARY_FORMATS: u32 = 0x8df9
MAX_VERTEX_UNIFORM_VECTORS
Constant ยท Source
pub const MAX_VERTEX_UNIFORM_VECTORS: u32 = 0x8dfb
MAX_VARYING_VECTORS
Constant ยท Source
pub const MAX_VARYING_VECTORS: u32 = 0x8dfc
MAX_FRAGMENT_UNIFORM_VECTORS
Constant ยท Source
pub const MAX_FRAGMENT_UNIFORM_VECTORS: u32 = 0x8dfd
RGB565
Constant ยท Source
pub const RGB565: u32 = 0x8d62
PROGRAM_BINARY_RETRIEVABLE_HINT
Constant ยท Source
pub const PROGRAM_BINARY_RETRIEVABLE_HINT: u32 = 0x8257
PROGRAM_BINARY_LENGTH
Constant ยท Source
pub const PROGRAM_BINARY_LENGTH: u32 = 0x8741
NUM_PROGRAM_BINARY_FORMATS
Constant ยท Source
pub const NUM_PROGRAM_BINARY_FORMATS: u32 = 0x87fe
PROGRAM_BINARY_FORMATS
Constant ยท Source
pub const PROGRAM_BINARY_FORMATS: u32 = 0x87ff
VERTEX_SHADER_BIT
Constant ยท Source
pub const VERTEX_SHADER_BIT: u32 = 0x00000001
FRAGMENT_SHADER_BIT
Constant ยท Source
pub const FRAGMENT_SHADER_BIT: u32 = 0x00000002
GEOMETRY_SHADER_BIT
Constant ยท Source
pub const GEOMETRY_SHADER_BIT: u32 = 0x00000004
TESS_CONTROL_SHADER_BIT
Constant ยท Source
pub const TESS_CONTROL_SHADER_BIT: u32 = 0x00000008
TESS_EVALUATION_SHADER_BIT
Constant ยท Source
pub const TESS_EVALUATION_SHADER_BIT: u32 = 0x00000010
ALL_SHADER_BITS
Constant ยท Source
pub const ALL_SHADER_BITS: u32 = 0xffffffff
PROGRAM_SEPARABLE
Constant ยท Source
pub const PROGRAM_SEPARABLE: u32 = 0x8258
ACTIVE_PROGRAM
Constant ยท Source
pub const ACTIVE_PROGRAM: u32 = 0x8259
PROGRAM_PIPELINE_BINDING
Constant ยท Source
pub const PROGRAM_PIPELINE_BINDING: u32 = 0x825a
MAX_VIEWPORTS
Constant ยท Source
pub const MAX_VIEWPORTS: u32 = 0x825b
VIEWPORT_SUBPIXEL_BITS
Constant ยท Source
pub const VIEWPORT_SUBPIXEL_BITS: u32 = 0x825c
VIEWPORT_BOUNDS_RANGE
Constant ยท Source
pub const VIEWPORT_BOUNDS_RANGE: u32 = 0x825d
LAYER_PROVOKING_VERTEX
Constant ยท Source
pub const LAYER_PROVOKING_VERTEX: u32 = 0x825e
VIEWPORT_INDEX_PROVOKING_VERTEX
Constant ยท Source
pub const VIEWPORT_INDEX_PROVOKING_VERTEX: u32 = 0x825f
UNDEFINED_VERTEX
Constant ยท Source
pub const UNDEFINED_VERTEX: u32 = 0x8260
COPY_READ_BUFFER_BINDING
Constant ยท Source
pub const COPY_READ_BUFFER_BINDING: u32 = 0x8f36
COPY_WRITE_BUFFER_BINDING
Constant ยท Source
pub const COPY_WRITE_BUFFER_BINDING: u32 = 0x8f37
TRANSFORM_FEEDBACK_ACTIVE
Constant ยท Source
pub const TRANSFORM_FEEDBACK_ACTIVE: u32 = 0x8e24
TRANSFORM_FEEDBACK_PAUSED
Constant ยท Source
pub const TRANSFORM_FEEDBACK_PAUSED: u32 = 0x8e23
UNPACK_COMPRESSED_BLOCK_WIDTH
Constant ยท Source
pub const UNPACK_COMPRESSED_BLOCK_WIDTH: u32 = 0x9127
UNPACK_COMPRESSED_BLOCK_HEIGHT
Constant ยท Source
pub const UNPACK_COMPRESSED_BLOCK_HEIGHT: u32 = 0x9128
UNPACK_COMPRESSED_BLOCK_DEPTH
Constant ยท Source
pub const UNPACK_COMPRESSED_BLOCK_DEPTH: u32 = 0x9129
UNPACK_COMPRESSED_BLOCK_SIZE
Constant ยท Source
pub const UNPACK_COMPRESSED_BLOCK_SIZE: u32 = 0x912a
PACK_COMPRESSED_BLOCK_WIDTH
Constant ยท Source
pub const PACK_COMPRESSED_BLOCK_WIDTH: u32 = 0x912b
PACK_COMPRESSED_BLOCK_HEIGHT
Constant ยท Source
pub const PACK_COMPRESSED_BLOCK_HEIGHT: u32 = 0x912c
PACK_COMPRESSED_BLOCK_DEPTH
Constant ยท Source
pub const PACK_COMPRESSED_BLOCK_DEPTH: u32 = 0x912d
PACK_COMPRESSED_BLOCK_SIZE
Constant ยท Source
pub const PACK_COMPRESSED_BLOCK_SIZE: u32 = 0x912e
NUM_SAMPLE_COUNTS
Constant ยท Source
pub const NUM_SAMPLE_COUNTS: u32 = 0x9380
MIN_MAP_BUFFER_ALIGNMENT
Constant ยท Source
pub const MIN_MAP_BUFFER_ALIGNMENT: u32 = 0x90bc
ATOMIC_COUNTER_BUFFER
Constant ยท Source
pub const ATOMIC_COUNTER_BUFFER: u32 = 0x92c0
ATOMIC_COUNTER_BUFFER_BINDING
Constant ยท Source
pub const ATOMIC_COUNTER_BUFFER_BINDING: u32 = 0x92c1
ATOMIC_COUNTER_BUFFER_START
Constant ยท Source
pub const ATOMIC_COUNTER_BUFFER_START: u32 = 0x92c2
ATOMIC_COUNTER_BUFFER_SIZE
Constant ยท Source
pub const ATOMIC_COUNTER_BUFFER_SIZE: u32 = 0x92c3
ATOMIC_COUNTER_BUFFER_DATA_SIZE
Constant ยท Source
pub const ATOMIC_COUNTER_BUFFER_DATA_SIZE: u32 = 0x92c4
ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS
Constant ยท Source
pub const ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS: u32 = 0x92c5
ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES
Constant ยท Source
pub const ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES: u32 = 0x92c6
ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER
Constant ยท Source
pub const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER: u32 = 0x92c7
ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER
Constant ยท Source
pub const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER: u32 = 0x92c8
ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER
Constant ยท Source
pub const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER: u32 = 0x92c9
ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER
Constant ยท Source
pub const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER: u32 = 0x92ca
ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER
Constant ยท Source
pub const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER: u32 = 0x92cb
MAX_VERTEX_ATOMIC_COUNTER_BUFFERS
Constant ยท Source
pub const MAX_VERTEX_ATOMIC_COUNTER_BUFFERS: u32 = 0x92cc
MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS
Constant ยท Source
pub const MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS: u32 = 0x92cd
MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS
Constant ยท Source
pub const MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS: u32 = 0x92ce
MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS
Constant ยท Source
pub const MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS: u32 = 0x92cf
MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS
Constant ยท Source
pub const MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS: u32 = 0x92d0
MAX_COMBINED_ATOMIC_COUNTER_BUFFERS
Constant ยท Source
pub const MAX_COMBINED_ATOMIC_COUNTER_BUFFERS: u32 = 0x92d1
MAX_VERTEX_ATOMIC_COUNTERS
Constant ยท Source
pub const MAX_VERTEX_ATOMIC_COUNTERS: u32 = 0x92d2
MAX_TESS_CONTROL_ATOMIC_COUNTERS
Constant ยท Source
pub const MAX_TESS_CONTROL_ATOMIC_COUNTERS: u32 = 0x92d3
MAX_TESS_EVALUATION_ATOMIC_COUNTERS
Constant ยท Source
pub const MAX_TESS_EVALUATION_ATOMIC_COUNTERS: u32 = 0x92d4
MAX_GEOMETRY_ATOMIC_COUNTERS
Constant ยท Source
pub const MAX_GEOMETRY_ATOMIC_COUNTERS: u32 = 0x92d5
MAX_FRAGMENT_ATOMIC_COUNTERS
Constant ยท Source
pub const MAX_FRAGMENT_ATOMIC_COUNTERS: u32 = 0x92d6
MAX_COMBINED_ATOMIC_COUNTERS
Constant ยท Source
pub const MAX_COMBINED_ATOMIC_COUNTERS: u32 = 0x92d7
MAX_ATOMIC_COUNTER_BUFFER_SIZE
Constant ยท Source
pub const MAX_ATOMIC_COUNTER_BUFFER_SIZE: u32 = 0x92d8
MAX_ATOMIC_COUNTER_BUFFER_BINDINGS
Constant ยท Source
pub const MAX_ATOMIC_COUNTER_BUFFER_BINDINGS: u32 = 0x92dc
ACTIVE_ATOMIC_COUNTER_BUFFERS
Constant ยท Source
pub const ACTIVE_ATOMIC_COUNTER_BUFFERS: u32 = 0x92d9
UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX
Constant ยท Source
pub const UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX: u32 = 0x92da
UNSIGNED_INT_ATOMIC_COUNTER
Constant ยท Source
pub const UNSIGNED_INT_ATOMIC_COUNTER: u32 = 0x92db
VERTEX_ATTRIB_ARRAY_BARRIER_BIT
Constant ยท Source
pub const VERTEX_ATTRIB_ARRAY_BARRIER_BIT: u32 = 0x00000001
ELEMENT_ARRAY_BARRIER_BIT
Constant ยท Source
pub const ELEMENT_ARRAY_BARRIER_BIT: u32 = 0x00000002
UNIFORM_BARRIER_BIT
Constant ยท Source
pub const UNIFORM_BARRIER_BIT: u32 = 0x00000004
TEXTURE_FETCH_BARRIER_BIT
Constant ยท Source
pub const TEXTURE_FETCH_BARRIER_BIT: u32 = 0x00000008
SHADER_IMAGE_ACCESS_BARRIER_BIT
Constant ยท Source
pub const SHADER_IMAGE_ACCESS_BARRIER_BIT: u32 = 0x00000020
COMMAND_BARRIER_BIT
Constant ยท Source
pub const COMMAND_BARRIER_BIT: u32 = 0x00000040
PIXEL_BUFFER_BARRIER_BIT
Constant ยท Source
pub const PIXEL_BUFFER_BARRIER_BIT: u32 = 0x00000080
TEXTURE_UPDATE_BARRIER_BIT
Constant ยท Source
pub const TEXTURE_UPDATE_BARRIER_BIT: u32 = 0x00000100
BUFFER_UPDATE_BARRIER_BIT
Constant ยท Source
pub const BUFFER_UPDATE_BARRIER_BIT: u32 = 0x00000200
FRAMEBUFFER_BARRIER_BIT
Constant ยท Source
pub const FRAMEBUFFER_BARRIER_BIT: u32 = 0x00000400
TRANSFORM_FEEDBACK_BARRIER_BIT
Constant ยท Source
pub const TRANSFORM_FEEDBACK_BARRIER_BIT: u32 = 0x00000800
ATOMIC_COUNTER_BARRIER_BIT
Constant ยท Source
pub const ATOMIC_COUNTER_BARRIER_BIT: u32 = 0x00001000
ALL_BARRIER_BITS
Constant ยท Source
pub const ALL_BARRIER_BITS: u32 = 0xffffffff
MAX_IMAGE_UNITS
Constant ยท Source
pub const MAX_IMAGE_UNITS: u32 = 0x8f38
MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS
Constant ยท Source
pub const MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS: u32 = 0x8f39
IMAGE_BINDING_NAME
Constant ยท Source
pub const IMAGE_BINDING_NAME: u32 = 0x8f3a
IMAGE_BINDING_LEVEL
Constant ยท Source
pub const IMAGE_BINDING_LEVEL: u32 = 0x8f3b
IMAGE_BINDING_LAYERED
Constant ยท Source
pub const IMAGE_BINDING_LAYERED: u32 = 0x8f3c
IMAGE_BINDING_LAYER
Constant ยท Source
pub const IMAGE_BINDING_LAYER: u32 = 0x8f3d
IMAGE_BINDING_ACCESS
Constant ยท Source
pub const IMAGE_BINDING_ACCESS: u32 = 0x8f3e
IMAGE_1D
Constant ยท Source
pub const IMAGE_1D: u32 = 0x904c
IMAGE_2D
Constant ยท Source
pub const IMAGE_2D: u32 = 0x904d
IMAGE_3D
Constant ยท Source
pub const IMAGE_3D: u32 = 0x904e
IMAGE_2D_RECT
Constant ยท Source
pub const IMAGE_2D_RECT: u32 = 0x904f
IMAGE_CUBE
Constant ยท Source
pub const IMAGE_CUBE: u32 = 0x9050
IMAGE_BUFFER
Constant ยท Source
pub const IMAGE_BUFFER: u32 = 0x9051
IMAGE_1D_ARRAY
Constant ยท Source
pub const IMAGE_1D_ARRAY: u32 = 0x9052
IMAGE_2D_ARRAY
Constant ยท Source
pub const IMAGE_2D_ARRAY: u32 = 0x9053
IMAGE_CUBE_MAP_ARRAY
Constant ยท Source
pub const IMAGE_CUBE_MAP_ARRAY: u32 = 0x9054
IMAGE_2D_MULTISAMPLE
Constant ยท Source
pub const IMAGE_2D_MULTISAMPLE: u32 = 0x9055
IMAGE_2D_MULTISAMPLE_ARRAY
Constant ยท Source
pub const IMAGE_2D_MULTISAMPLE_ARRAY: u32 = 0x9056
INT_IMAGE_1D
Constant ยท Source
pub const INT_IMAGE_1D: u32 = 0x9057
INT_IMAGE_2D
Constant ยท Source
pub const INT_IMAGE_2D: u32 = 0x9058
INT_IMAGE_3D
Constant ยท Source
pub const INT_IMAGE_3D: u32 = 0x9059
INT_IMAGE_2D_RECT
Constant ยท Source
pub const INT_IMAGE_2D_RECT: u32 = 0x905a
INT_IMAGE_CUBE
Constant ยท Source
pub const INT_IMAGE_CUBE: u32 = 0x905b
INT_IMAGE_BUFFER
Constant ยท Source
pub const INT_IMAGE_BUFFER: u32 = 0x905c
INT_IMAGE_1D_ARRAY
Constant ยท Source
pub const INT_IMAGE_1D_ARRAY: u32 = 0x905d
INT_IMAGE_2D_ARRAY
Constant ยท Source
pub const INT_IMAGE_2D_ARRAY: u32 = 0x905e
INT_IMAGE_CUBE_MAP_ARRAY
Constant ยท Source
pub const INT_IMAGE_CUBE_MAP_ARRAY: u32 = 0x905f
INT_IMAGE_2D_MULTISAMPLE
Constant ยท Source
pub const INT_IMAGE_2D_MULTISAMPLE: u32 = 0x9060
INT_IMAGE_2D_MULTISAMPLE_ARRAY
Constant ยท Source
pub const INT_IMAGE_2D_MULTISAMPLE_ARRAY: u32 = 0x9061
UNSIGNED_INT_IMAGE_1D
Constant ยท Source
pub const UNSIGNED_INT_IMAGE_1D: u32 = 0x9062
UNSIGNED_INT_IMAGE_2D
Constant ยท Source
pub const UNSIGNED_INT_IMAGE_2D: u32 = 0x9063
UNSIGNED_INT_IMAGE_3D
Constant ยท Source
pub const UNSIGNED_INT_IMAGE_3D: u32 = 0x9064
UNSIGNED_INT_IMAGE_2D_RECT
Constant ยท Source
pub const UNSIGNED_INT_IMAGE_2D_RECT: u32 = 0x9065
UNSIGNED_INT_IMAGE_CUBE
Constant ยท Source
pub const UNSIGNED_INT_IMAGE_CUBE: u32 = 0x9066
UNSIGNED_INT_IMAGE_BUFFER
Constant ยท Source
pub const UNSIGNED_INT_IMAGE_BUFFER: u32 = 0x9067
UNSIGNED_INT_IMAGE_1D_ARRAY
Constant ยท Source
pub const UNSIGNED_INT_IMAGE_1D_ARRAY: u32 = 0x9068
UNSIGNED_INT_IMAGE_2D_ARRAY
Constant ยท Source
pub const UNSIGNED_INT_IMAGE_2D_ARRAY: u32 = 0x9069
UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY
Constant ยท Source
pub const UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY: u32 = 0x906a
UNSIGNED_INT_IMAGE_2D_MULTISAMPLE
Constant ยท Source
pub const UNSIGNED_INT_IMAGE_2D_MULTISAMPLE: u32 = 0x906b
UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY
Constant ยท Source
pub const UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY: u32 = 0x906c
MAX_IMAGE_SAMPLES
Constant ยท Source
pub const MAX_IMAGE_SAMPLES: u32 = 0x906d
IMAGE_BINDING_FORMAT
Constant ยท Source
pub const IMAGE_BINDING_FORMAT: u32 = 0x906e
IMAGE_FORMAT_COMPATIBILITY_TYPE
Constant ยท Source
pub const IMAGE_FORMAT_COMPATIBILITY_TYPE: u32 = 0x90c7
IMAGE_FORMAT_COMPATIBILITY_BY_SIZE
Constant ยท Source
pub const IMAGE_FORMAT_COMPATIBILITY_BY_SIZE: u32 = 0x90c8
IMAGE_FORMAT_COMPATIBILITY_BY_CLASS
Constant ยท Source
pub const IMAGE_FORMAT_COMPATIBILITY_BY_CLASS: u32 = 0x90c9
MAX_VERTEX_IMAGE_UNIFORMS
Constant ยท Source
pub const MAX_VERTEX_IMAGE_UNIFORMS: u32 = 0x90ca
MAX_TESS_CONTROL_IMAGE_UNIFORMS
Constant ยท Source
pub const MAX_TESS_CONTROL_IMAGE_UNIFORMS: u32 = 0x90cb
MAX_TESS_EVALUATION_IMAGE_UNIFORMS
Constant ยท Source
pub const MAX_TESS_EVALUATION_IMAGE_UNIFORMS: u32 = 0x90cc
MAX_GEOMETRY_IMAGE_UNIFORMS
Constant ยท Source
pub const MAX_GEOMETRY_IMAGE_UNIFORMS: u32 = 0x90cd
MAX_FRAGMENT_IMAGE_UNIFORMS
Constant ยท Source
pub const MAX_FRAGMENT_IMAGE_UNIFORMS: u32 = 0x90ce
MAX_COMBINED_IMAGE_UNIFORMS
Constant ยท Source
pub const MAX_COMBINED_IMAGE_UNIFORMS: u32 = 0x90cf
COMPRESSED_RGBA_BPTC_UNORM
Constant ยท Source
pub const COMPRESSED_RGBA_BPTC_UNORM: u32 = 0x8e8c
COMPRESSED_SRGB_ALPHA_BPTC_UNORM
Constant ยท Source
pub const COMPRESSED_SRGB_ALPHA_BPTC_UNORM: u32 = 0x8e8d
COMPRESSED_RGB_BPTC_SIGNED_FLOAT
Constant ยท Source
pub const COMPRESSED_RGB_BPTC_SIGNED_FLOAT: u32 = 0x8e8e
COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT
Constant ยท Source
pub const COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT: u32 = 0x8e8f
TEXTURE_IMMUTABLE_FORMAT
Constant ยท Source
pub const TEXTURE_IMMUTABLE_FORMAT: u32 = 0x912f
NUM_SHADING_LANGUAGE_VERSIONS
Constant ยท Source
pub const NUM_SHADING_LANGUAGE_VERSIONS: u32 = 0x82e9
VERTEX_ATTRIB_ARRAY_LONG
Constant ยท Source
pub const VERTEX_ATTRIB_ARRAY_LONG: u32 = 0x874e
COMPRESSED_RGB8_ETC2
Constant ยท Source
pub const COMPRESSED_RGB8_ETC2: u32 = 0x9274
COMPRESSED_SRGB8_ETC2
Constant ยท Source
pub const COMPRESSED_SRGB8_ETC2: u32 = 0x9275
COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2
Constant ยท Source
pub const COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2: u32 = 0x9276
COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2
Constant ยท Source
pub const COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2: u32 = 0x9277
COMPRESSED_RGBA8_ETC2_EAC
Constant ยท Source
pub const COMPRESSED_RGBA8_ETC2_EAC: u32 = 0x9278
COMPRESSED_SRGB8_ALPHA8_ETC2_EAC
Constant ยท Source
pub const COMPRESSED_SRGB8_ALPHA8_ETC2_EAC: u32 = 0x9279
COMPRESSED_R11_EAC
Constant ยท Source
pub const COMPRESSED_R11_EAC: u32 = 0x9270
COMPRESSED_SIGNED_R11_EAC
Constant ยท Source
pub const COMPRESSED_SIGNED_R11_EAC: u32 = 0x9271
COMPRESSED_RG11_EAC
Constant ยท Source
pub const COMPRESSED_RG11_EAC: u32 = 0x9272
COMPRESSED_SIGNED_RG11_EAC
Constant ยท Source
pub const COMPRESSED_SIGNED_RG11_EAC: u32 = 0x9273
PRIMITIVE_RESTART_FIXED_INDEX
Constant ยท Source
pub const PRIMITIVE_RESTART_FIXED_INDEX: u32 = 0x8d69
ANY_SAMPLES_PASSED_CONSERVATIVE
Constant ยท Source
pub const ANY_SAMPLES_PASSED_CONSERVATIVE: u32 = 0x8d6a
MAX_ELEMENT_INDEX
Constant ยท Source
pub const MAX_ELEMENT_INDEX: u32 = 0x8d6b
COMPUTE_SHADER
Constant ยท Source
pub const COMPUTE_SHADER: u32 = 0x91b9
MAX_COMPUTE_UNIFORM_BLOCKS
Constant ยท Source
pub const MAX_COMPUTE_UNIFORM_BLOCKS: u32 = 0x91bb
MAX_COMPUTE_TEXTURE_IMAGE_UNITS
Constant ยท Source
pub const MAX_COMPUTE_TEXTURE_IMAGE_UNITS: u32 = 0x91bc
MAX_COMPUTE_IMAGE_UNIFORMS
Constant ยท Source
pub const MAX_COMPUTE_IMAGE_UNIFORMS: u32 = 0x91bd
MAX_COMPUTE_SHARED_MEMORY_SIZE
Constant ยท Source
pub const MAX_COMPUTE_SHARED_MEMORY_SIZE: u32 = 0x8262
MAX_COMPUTE_UNIFORM_COMPONENTS
Constant ยท Source
pub const MAX_COMPUTE_UNIFORM_COMPONENTS: u32 = 0x8263
MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS
Constant ยท Source
pub const MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS: u32 = 0x8264
MAX_COMPUTE_ATOMIC_COUNTERS
Constant ยท Source
pub const MAX_COMPUTE_ATOMIC_COUNTERS: u32 = 0x8265
MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS
Constant ยท Source
pub const MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS: u32 = 0x8266
MAX_COMPUTE_WORK_GROUP_INVOCATIONS
Constant ยท Source
pub const MAX_COMPUTE_WORK_GROUP_INVOCATIONS: u32 = 0x90eb
MAX_COMPUTE_WORK_GROUP_COUNT
Constant ยท Source
pub const MAX_COMPUTE_WORK_GROUP_COUNT: u32 = 0x91be
MAX_COMPUTE_WORK_GROUP_SIZE
Constant ยท Source
pub const MAX_COMPUTE_WORK_GROUP_SIZE: u32 = 0x91bf
COMPUTE_WORK_GROUP_SIZE
Constant ยท Source
pub const COMPUTE_WORK_GROUP_SIZE: u32 = 0x8267
UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER
Constant ยท Source
pub const UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER: u32 = 0x90ec
ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER
Constant ยท Source
pub const ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER: u32 = 0x90ed
DISPATCH_INDIRECT_BUFFER
Constant ยท Source
pub const DISPATCH_INDIRECT_BUFFER: u32 = 0x90ee
DISPATCH_INDIRECT_BUFFER_BINDING
Constant ยท Source
pub const DISPATCH_INDIRECT_BUFFER_BINDING: u32 = 0x90ef
COMPUTE_SHADER_BIT
Constant ยท Source
pub const COMPUTE_SHADER_BIT: u32 = 0x00000020
DEBUG_OUTPUT_SYNCHRONOUS
Constant ยท Source
pub const DEBUG_OUTPUT_SYNCHRONOUS: u32 = 0x8242
DEBUG_NEXT_LOGGED_MESSAGE_LENGTH
Constant ยท Source
pub const DEBUG_NEXT_LOGGED_MESSAGE_LENGTH: u32 = 0x8243
DEBUG_CALLBACK_FUNCTION
Constant ยท Source
pub const DEBUG_CALLBACK_FUNCTION: u32 = 0x8244
DEBUG_CALLBACK_USER_PARAM
Constant ยท Source
pub const DEBUG_CALLBACK_USER_PARAM: u32 = 0x8245
DEBUG_SOURCE_API
Constant ยท Source
pub const DEBUG_SOURCE_API: u32 = 0x8246
DEBUG_SOURCE_WINDOW_SYSTEM
Constant ยท Source
pub const DEBUG_SOURCE_WINDOW_SYSTEM: u32 = 0x8247
DEBUG_SOURCE_SHADER_COMPILER
Constant ยท Source
pub const DEBUG_SOURCE_SHADER_COMPILER: u32 = 0x8248
DEBUG_SOURCE_THIRD_PARTY
Constant ยท Source
pub const DEBUG_SOURCE_THIRD_PARTY: u32 = 0x8249
DEBUG_SOURCE_APPLICATION
Constant ยท Source
pub const DEBUG_SOURCE_APPLICATION: u32 = 0x824a
DEBUG_SOURCE_OTHER
Constant ยท Source
pub const DEBUG_SOURCE_OTHER: u32 = 0x824b
DEBUG_TYPE_ERROR
Constant ยท Source
pub const DEBUG_TYPE_ERROR: u32 = 0x824c
DEBUG_TYPE_DEPRECATED_BEHAVIOR
Constant ยท Source
pub const DEBUG_TYPE_DEPRECATED_BEHAVIOR: u32 = 0x824d
DEBUG_TYPE_UNDEFINED_BEHAVIOR
Constant ยท Source
pub const DEBUG_TYPE_UNDEFINED_BEHAVIOR: u32 = 0x824e
DEBUG_TYPE_PORTABILITY
Constant ยท Source
pub const DEBUG_TYPE_PORTABILITY: u32 = 0x824f
DEBUG_TYPE_PERFORMANCE
Constant ยท Source
pub const DEBUG_TYPE_PERFORMANCE: u32 = 0x8250
DEBUG_TYPE_OTHER
Constant ยท Source
pub const DEBUG_TYPE_OTHER: u32 = 0x8251
MAX_DEBUG_MESSAGE_LENGTH
Constant ยท Source
pub const MAX_DEBUG_MESSAGE_LENGTH: u32 = 0x9143
MAX_DEBUG_LOGGED_MESSAGES
Constant ยท Source
pub const MAX_DEBUG_LOGGED_MESSAGES: u32 = 0x9144
DEBUG_LOGGED_MESSAGES
Constant ยท Source
pub const DEBUG_LOGGED_MESSAGES: u32 = 0x9145
DEBUG_SEVERITY_HIGH
Constant ยท Source
pub const DEBUG_SEVERITY_HIGH: u32 = 0x9146
DEBUG_SEVERITY_MEDIUM
Constant ยท Source
pub const DEBUG_SEVERITY_MEDIUM: u32 = 0x9147
DEBUG_SEVERITY_LOW
Constant ยท Source
pub const DEBUG_SEVERITY_LOW: u32 = 0x9148
DEBUG_TYPE_MARKER
Constant ยท Source
pub const DEBUG_TYPE_MARKER: u32 = 0x8268
DEBUG_TYPE_PUSH_GROUP
Constant ยท Source
pub const DEBUG_TYPE_PUSH_GROUP: u32 = 0x8269
DEBUG_TYPE_POP_GROUP
Constant ยท Source
pub const DEBUG_TYPE_POP_GROUP: u32 = 0x826a
DEBUG_SEVERITY_NOTIFICATION
Constant ยท Source
pub const DEBUG_SEVERITY_NOTIFICATION: u32 = 0x826b
MAX_DEBUG_GROUP_STACK_DEPTH
Constant ยท Source
pub const MAX_DEBUG_GROUP_STACK_DEPTH: u32 = 0x826c
DEBUG_GROUP_STACK_DEPTH
Constant ยท Source
pub const DEBUG_GROUP_STACK_DEPTH: u32 = 0x826d
BUFFER
Constant ยท Source
pub const BUFFER: u32 = 0x82e0
SHADER
Constant ยท Source
pub const SHADER: u32 = 0x82e1
PROGRAM
Constant ยท Source
pub const PROGRAM: u32 = 0x82e2
QUERY
Constant ยท Source
pub const QUERY: u32 = 0x82e3
PROGRAM_PIPELINE
Constant ยท Source
pub const PROGRAM_PIPELINE: u32 = 0x82e4
SAMPLER
Constant ยท Source
pub const SAMPLER: u32 = 0x82e6
MAX_LABEL_LENGTH
Constant ยท Source
pub const MAX_LABEL_LENGTH: u32 = 0x82e8
DEBUG_OUTPUT
Constant ยท Source
pub const DEBUG_OUTPUT: u32 = 0x92e0
CONTEXT_FLAG_DEBUG_BIT
Constant ยท Source
pub const CONTEXT_FLAG_DEBUG_BIT: u32 = 0x00000002
MAX_UNIFORM_LOCATIONS
Constant ยท Source
pub const MAX_UNIFORM_LOCATIONS: u32 = 0x826e
FRAMEBUFFER_DEFAULT_WIDTH
Constant ยท Source
pub const FRAMEBUFFER_DEFAULT_WIDTH: u32 = 0x9310
FRAMEBUFFER_DEFAULT_HEIGHT
Constant ยท Source
pub const FRAMEBUFFER_DEFAULT_HEIGHT: u32 = 0x9311
FRAMEBUFFER_DEFAULT_LAYERS
Constant ยท Source
pub const FRAMEBUFFER_DEFAULT_LAYERS: u32 = 0x9312
FRAMEBUFFER_DEFAULT_SAMPLES
Constant ยท Source
pub const FRAMEBUFFER_DEFAULT_SAMPLES: u32 = 0x9313
FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS
Constant ยท Source
pub const FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS: u32 = 0x9314
MAX_FRAMEBUFFER_WIDTH
Constant ยท Source
pub const MAX_FRAMEBUFFER_WIDTH: u32 = 0x9315
MAX_FRAMEBUFFER_HEIGHT
Constant ยท Source
pub const MAX_FRAMEBUFFER_HEIGHT: u32 = 0x9316
MAX_FRAMEBUFFER_LAYERS
Constant ยท Source
pub const MAX_FRAMEBUFFER_LAYERS: u32 = 0x9317
MAX_FRAMEBUFFER_SAMPLES
Constant ยท Source
pub const MAX_FRAMEBUFFER_SAMPLES: u32 = 0x9318
INTERNALFORMAT_SUPPORTED
Constant ยท Source
pub const INTERNALFORMAT_SUPPORTED: u32 = 0x826f
INTERNALFORMAT_PREFERRED
Constant ยท Source
pub const INTERNALFORMAT_PREFERRED: u32 = 0x8270
INTERNALFORMAT_RED_SIZE
Constant ยท Source
pub const INTERNALFORMAT_RED_SIZE: u32 = 0x8271
INTERNALFORMAT_GREEN_SIZE
Constant ยท Source
pub const INTERNALFORMAT_GREEN_SIZE: u32 = 0x8272
INTERNALFORMAT_BLUE_SIZE
Constant ยท Source
pub const INTERNALFORMAT_BLUE_SIZE: u32 = 0x8273
INTERNALFORMAT_ALPHA_SIZE
Constant ยท Source
pub const INTERNALFORMAT_ALPHA_SIZE: u32 = 0x8274
INTERNALFORMAT_DEPTH_SIZE
Constant ยท Source
pub const INTERNALFORMAT_DEPTH_SIZE: u32 = 0x8275
INTERNALFORMAT_STENCIL_SIZE
Constant ยท Source
pub const INTERNALFORMAT_STENCIL_SIZE: u32 = 0x8276
INTERNALFORMAT_SHARED_SIZE
Constant ยท Source
pub const INTERNALFORMAT_SHARED_SIZE: u32 = 0x8277
INTERNALFORMAT_RED_TYPE
Constant ยท Source
pub const INTERNALFORMAT_RED_TYPE: u32 = 0x8278
INTERNALFORMAT_GREEN_TYPE
Constant ยท Source
pub const INTERNALFORMAT_GREEN_TYPE: u32 = 0x8279
INTERNALFORMAT_BLUE_TYPE
Constant ยท Source
pub const INTERNALFORMAT_BLUE_TYPE: u32 = 0x827a
INTERNALFORMAT_ALPHA_TYPE
Constant ยท Source
pub const INTERNALFORMAT_ALPHA_TYPE: u32 = 0x827b
INTERNALFORMAT_DEPTH_TYPE
Constant ยท Source
pub const INTERNALFORMAT_DEPTH_TYPE: u32 = 0x827c
INTERNALFORMAT_STENCIL_TYPE
Constant ยท Source
pub const INTERNALFORMAT_STENCIL_TYPE: u32 = 0x827d
MAX_WIDTH
Constant ยท Source
pub const MAX_WIDTH: u32 = 0x827e
MAX_HEIGHT
Constant ยท Source
pub const MAX_HEIGHT: u32 = 0x827f
MAX_DEPTH
Constant ยท Source
pub const MAX_DEPTH: u32 = 0x8280
MAX_LAYERS
Constant ยท Source
pub const MAX_LAYERS: u32 = 0x8281
MAX_COMBINED_DIMENSIONS
Constant ยท Source
pub const MAX_COMBINED_DIMENSIONS: u32 = 0x8282
COLOR_COMPONENTS
Constant ยท Source
pub const COLOR_COMPONENTS: u32 = 0x8283
DEPTH_COMPONENTS
Constant ยท Source
pub const DEPTH_COMPONENTS: u32 = 0x8284
STENCIL_COMPONENTS
Constant ยท Source
pub const STENCIL_COMPONENTS: u32 = 0x8285
COLOR_RENDERABLE
Constant ยท Source
pub const COLOR_RENDERABLE: u32 = 0x8286
DEPTH_RENDERABLE
Constant ยท Source
pub const DEPTH_RENDERABLE: u32 = 0x8287
STENCIL_RENDERABLE
Constant ยท Source
pub const STENCIL_RENDERABLE: u32 = 0x8288
FRAMEBUFFER_RENDERABLE
Constant ยท Source
pub const FRAMEBUFFER_RENDERABLE: u32 = 0x8289
FRAMEBUFFER_RENDERABLE_LAYERED
Constant ยท Source
pub const FRAMEBUFFER_RENDERABLE_LAYERED: u32 = 0x828a
FRAMEBUFFER_BLEND
Constant ยท Source
pub const FRAMEBUFFER_BLEND: u32 = 0x828b
READ_PIXELS
Constant ยท Source
pub const READ_PIXELS: u32 = 0x828c
READ_PIXELS_FORMAT
Constant ยท Source
pub const READ_PIXELS_FORMAT: u32 = 0x828d
READ_PIXELS_TYPE
Constant ยท Source
pub const READ_PIXELS_TYPE: u32 = 0x828e
TEXTURE_IMAGE_FORMAT
Constant ยท Source
pub const TEXTURE_IMAGE_FORMAT: u32 = 0x828f
TEXTURE_IMAGE_TYPE
Constant ยท Source
pub const TEXTURE_IMAGE_TYPE: u32 = 0x8290
GET_TEXTURE_IMAGE_FORMAT
Constant ยท Source
pub const GET_TEXTURE_IMAGE_FORMAT: u32 = 0x8291
GET_TEXTURE_IMAGE_TYPE
Constant ยท Source
pub const GET_TEXTURE_IMAGE_TYPE: u32 = 0x8292
MIPMAP
Constant ยท Source
pub const MIPMAP: u32 = 0x8293
MANUAL_GENERATE_MIPMAP
Constant ยท Source
pub const MANUAL_GENERATE_MIPMAP: u32 = 0x8294
AUTO_GENERATE_MIPMAP
Constant ยท Source
pub const AUTO_GENERATE_MIPMAP: u32 = 0x8295
COLOR_ENCODING
Constant ยท Source
pub const COLOR_ENCODING: u32 = 0x8296
SRGB_READ
Constant ยท Source
pub const SRGB_READ: u32 = 0x8297
SRGB_WRITE
Constant ยท Source
pub const SRGB_WRITE: u32 = 0x8298
FILTER
Constant ยท Source
pub const FILTER: u32 = 0x829a
VERTEX_TEXTURE
Constant ยท Source
pub const VERTEX_TEXTURE: u32 = 0x829b
TESS_CONTROL_TEXTURE
Constant ยท Source
pub const TESS_CONTROL_TEXTURE: u32 = 0x829c
TESS_EVALUATION_TEXTURE
Constant ยท Source
pub const TESS_EVALUATION_TEXTURE: u32 = 0x829d
GEOMETRY_TEXTURE
Constant ยท Source
pub const GEOMETRY_TEXTURE: u32 = 0x829e
FRAGMENT_TEXTURE
Constant ยท Source
pub const FRAGMENT_TEXTURE: u32 = 0x829f
COMPUTE_TEXTURE
Constant ยท Source
pub const COMPUTE_TEXTURE: u32 = 0x82a0
TEXTURE_SHADOW
Constant ยท Source
pub const TEXTURE_SHADOW: u32 = 0x82a1
TEXTURE_GATHER
Constant ยท Source
pub const TEXTURE_GATHER: u32 = 0x82a2
TEXTURE_GATHER_SHADOW
Constant ยท Source
pub const TEXTURE_GATHER_SHADOW: u32 = 0x82a3
SHADER_IMAGE_LOAD
Constant ยท Source
pub const SHADER_IMAGE_LOAD: u32 = 0x82a4
SHADER_IMAGE_STORE
Constant ยท Source
pub const SHADER_IMAGE_STORE: u32 = 0x82a5
SHADER_IMAGE_ATOMIC
Constant ยท Source
pub const SHADER_IMAGE_ATOMIC: u32 = 0x82a6
IMAGE_TEXEL_SIZE
Constant ยท Source
pub const IMAGE_TEXEL_SIZE: u32 = 0x82a7
IMAGE_COMPATIBILITY_CLASS
Constant ยท Source
pub const IMAGE_COMPATIBILITY_CLASS: u32 = 0x82a8
IMAGE_PIXEL_FORMAT
Constant ยท Source
pub const IMAGE_PIXEL_FORMAT: u32 = 0x82a9
IMAGE_PIXEL_TYPE
Constant ยท Source
pub const IMAGE_PIXEL_TYPE: u32 = 0x82aa
SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST
Constant ยท Source
pub const SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST: u32 = 0x82ac
SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST
Constant ยท Source
pub const SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST: u32 = 0x82ad
SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE
Constant ยท Source
pub const SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE: u32 = 0x82ae
SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE
Constant ยท Source
pub const SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE: u32 = 0x82af
TEXTURE_COMPRESSED_BLOCK_WIDTH
Constant ยท Source
pub const TEXTURE_COMPRESSED_BLOCK_WIDTH: u32 = 0x82b1
TEXTURE_COMPRESSED_BLOCK_HEIGHT
Constant ยท Source
pub const TEXTURE_COMPRESSED_BLOCK_HEIGHT: u32 = 0x82b2
TEXTURE_COMPRESSED_BLOCK_SIZE
Constant ยท Source
pub const TEXTURE_COMPRESSED_BLOCK_SIZE: u32 = 0x82b3
CLEAR_BUFFER
Constant ยท Source
pub const CLEAR_BUFFER: u32 = 0x82b4
TEXTURE_VIEW
Constant ยท Source
pub const TEXTURE_VIEW: u32 = 0x82b5
VIEW_COMPATIBILITY_CLASS
Constant ยท Source
pub const VIEW_COMPATIBILITY_CLASS: u32 = 0x82b6
FULL_SUPPORT
Constant ยท Source
pub const FULL_SUPPORT: u32 = 0x82b7
CAVEAT_SUPPORT
Constant ยท Source
pub const CAVEAT_SUPPORT: u32 = 0x82b8
IMAGE_CLASS_4_X_32
Constant ยท Source
pub const IMAGE_CLASS_4_X_32: u32 = 0x82b9
IMAGE_CLASS_2_X_32
Constant ยท Source
pub const IMAGE_CLASS_2_X_32: u32 = 0x82ba
IMAGE_CLASS_1_X_32
Constant ยท Source
pub const IMAGE_CLASS_1_X_32: u32 = 0x82bb
IMAGE_CLASS_4_X_16
Constant ยท Source
pub const IMAGE_CLASS_4_X_16: u32 = 0x82bc
IMAGE_CLASS_2_X_16
Constant ยท Source
pub const IMAGE_CLASS_2_X_16: u32 = 0x82bd
IMAGE_CLASS_1_X_16
Constant ยท Source
pub const IMAGE_CLASS_1_X_16: u32 = 0x82be
IMAGE_CLASS_4_X_8
Constant ยท Source
pub const IMAGE_CLASS_4_X_8: u32 = 0x82bf
IMAGE_CLASS_2_X_8
Constant ยท Source
pub const IMAGE_CLASS_2_X_8: u32 = 0x82c0
IMAGE_CLASS_1_X_8
Constant ยท Source
pub const IMAGE_CLASS_1_X_8: u32 = 0x82c1
IMAGE_CLASS_11_11_10
Constant ยท Source
pub const IMAGE_CLASS_11_11_10: u32 = 0x82c2
IMAGE_CLASS_10_10_10_2
Constant ยท Source
pub const IMAGE_CLASS_10_10_10_2: u32 = 0x82c3
VIEW_CLASS_128_BITS
Constant ยท Source
pub const VIEW_CLASS_128_BITS: u32 = 0x82c4
VIEW_CLASS_96_BITS
Constant ยท Source
pub const VIEW_CLASS_96_BITS: u32 = 0x82c5
VIEW_CLASS_64_BITS
Constant ยท Source
pub const VIEW_CLASS_64_BITS: u32 = 0x82c6
VIEW_CLASS_48_BITS
Constant ยท Source
pub const VIEW_CLASS_48_BITS: u32 = 0x82c7
VIEW_CLASS_32_BITS
Constant ยท Source
pub const VIEW_CLASS_32_BITS: u32 = 0x82c8
VIEW_CLASS_24_BITS
Constant ยท Source
pub const VIEW_CLASS_24_BITS: u32 = 0x82c9
VIEW_CLASS_16_BITS
Constant ยท Source
pub const VIEW_CLASS_16_BITS: u32 = 0x82ca
VIEW_CLASS_8_BITS
Constant ยท Source
pub const VIEW_CLASS_8_BITS: u32 = 0x82cb
VIEW_CLASS_S3TC_DXT1_RGB
Constant ยท Source
pub const VIEW_CLASS_S3TC_DXT1_RGB: u32 = 0x82cc
VIEW_CLASS_S3TC_DXT1_RGBA
Constant ยท Source
pub const VIEW_CLASS_S3TC_DXT1_RGBA: u32 = 0x82cd
VIEW_CLASS_S3TC_DXT3_RGBA
Constant ยท Source
pub const VIEW_CLASS_S3TC_DXT3_RGBA: u32 = 0x82ce
VIEW_CLASS_S3TC_DXT5_RGBA
Constant ยท Source
pub const VIEW_CLASS_S3TC_DXT5_RGBA: u32 = 0x82cf
VIEW_CLASS_RGTC1_RED
Constant ยท Source
pub const VIEW_CLASS_RGTC1_RED: u32 = 0x82d0
VIEW_CLASS_RGTC2_RG
Constant ยท Source
pub const VIEW_CLASS_RGTC2_RG: u32 = 0x82d1
VIEW_CLASS_BPTC_UNORM
Constant ยท Source
pub const VIEW_CLASS_BPTC_UNORM: u32 = 0x82d2
VIEW_CLASS_BPTC_FLOAT
Constant ยท Source
pub const VIEW_CLASS_BPTC_FLOAT: u32 = 0x82d3
UNIFORM
Constant ยท Source
pub const UNIFORM: u32 = 0x92e1
UNIFORM_BLOCK
Constant ยท Source
pub const UNIFORM_BLOCK: u32 = 0x92e2
PROGRAM_INPUT
Constant ยท Source
pub const PROGRAM_INPUT: u32 = 0x92e3
PROGRAM_OUTPUT
Constant ยท Source
pub const PROGRAM_OUTPUT: u32 = 0x92e4
BUFFER_VARIABLE
Constant ยท Source
pub const BUFFER_VARIABLE: u32 = 0x92e5
SHADER_STORAGE_BLOCK
Constant ยท Source
pub const SHADER_STORAGE_BLOCK: u32 = 0x92e6
VERTEX_SUBROUTINE
Constant ยท Source
pub const VERTEX_SUBROUTINE: u32 = 0x92e8
TESS_CONTROL_SUBROUTINE
Constant ยท Source
pub const TESS_CONTROL_SUBROUTINE: u32 = 0x92e9
TESS_EVALUATION_SUBROUTINE
Constant ยท Source
pub const TESS_EVALUATION_SUBROUTINE: u32 = 0x92ea
GEOMETRY_SUBROUTINE
Constant ยท Source
pub const GEOMETRY_SUBROUTINE: u32 = 0x92eb
FRAGMENT_SUBROUTINE
Constant ยท Source
pub const FRAGMENT_SUBROUTINE: u32 = 0x92ec
COMPUTE_SUBROUTINE
Constant ยท Source
pub const COMPUTE_SUBROUTINE: u32 = 0x92ed
VERTEX_SUBROUTINE_UNIFORM
Constant ยท Source
pub const VERTEX_SUBROUTINE_UNIFORM: u32 = 0x92ee
TESS_CONTROL_SUBROUTINE_UNIFORM
Constant ยท Source
pub const TESS_CONTROL_SUBROUTINE_UNIFORM: u32 = 0x92ef
TESS_EVALUATION_SUBROUTINE_UNIFORM
Constant ยท Source
pub const TESS_EVALUATION_SUBROUTINE_UNIFORM: u32 = 0x92f0
GEOMETRY_SUBROUTINE_UNIFORM
Constant ยท Source
pub const GEOMETRY_SUBROUTINE_UNIFORM: u32 = 0x92f1
FRAGMENT_SUBROUTINE_UNIFORM
Constant ยท Source
pub const FRAGMENT_SUBROUTINE_UNIFORM: u32 = 0x92f2
COMPUTE_SUBROUTINE_UNIFORM
Constant ยท Source
pub const COMPUTE_SUBROUTINE_UNIFORM: u32 = 0x92f3
TRANSFORM_FEEDBACK_VARYING
Constant ยท Source
pub const TRANSFORM_FEEDBACK_VARYING: u32 = 0x92f4
ACTIVE_RESOURCES
Constant ยท Source
pub const ACTIVE_RESOURCES: u32 = 0x92f5
MAX_NAME_LENGTH
Constant ยท Source
pub const MAX_NAME_LENGTH: u32 = 0x92f6
MAX_NUM_ACTIVE_VARIABLES
Constant ยท Source
pub const MAX_NUM_ACTIVE_VARIABLES: u32 = 0x92f7
MAX_NUM_COMPATIBLE_SUBROUTINES
Constant ยท Source
pub const MAX_NUM_COMPATIBLE_SUBROUTINES: u32 = 0x92f8
NAME_LENGTH
Constant ยท Source
pub const NAME_LENGTH: u32 = 0x92f9
TYPE
Constant ยท Source
pub const TYPE: u32 = 0x92fa
ARRAY_SIZE
Constant ยท Source
pub const ARRAY_SIZE: u32 = 0x92fb
OFFSET
Constant ยท Source
pub const OFFSET: u32 = 0x92fc
BLOCK_INDEX
Constant ยท Source
pub const BLOCK_INDEX: u32 = 0x92fd
ARRAY_STRIDE
Constant ยท Source
pub const ARRAY_STRIDE: u32 = 0x92fe
MATRIX_STRIDE
Constant ยท Source
pub const MATRIX_STRIDE: u32 = 0x92ff
IS_ROW_MAJOR
Constant ยท Source
pub const IS_ROW_MAJOR: u32 = 0x9300
ATOMIC_COUNTER_BUFFER_INDEX
Constant ยท Source
pub const ATOMIC_COUNTER_BUFFER_INDEX: u32 = 0x9301
BUFFER_BINDING
Constant ยท Source
pub const BUFFER_BINDING: u32 = 0x9302
BUFFER_DATA_SIZE
Constant ยท Source
pub const BUFFER_DATA_SIZE: u32 = 0x9303
NUM_ACTIVE_VARIABLES
Constant ยท Source
pub const NUM_ACTIVE_VARIABLES: u32 = 0x9304
ACTIVE_VARIABLES
Constant ยท Source
pub const ACTIVE_VARIABLES: u32 = 0x9305
REFERENCED_BY_VERTEX_SHADER
Constant ยท Source
pub const REFERENCED_BY_VERTEX_SHADER: u32 = 0x9306
REFERENCED_BY_TESS_CONTROL_SHADER
Constant ยท Source
pub const REFERENCED_BY_TESS_CONTROL_SHADER: u32 = 0x9307
REFERENCED_BY_TESS_EVALUATION_SHADER
Constant ยท Source
pub const REFERENCED_BY_TESS_EVALUATION_SHADER: u32 = 0x9308
REFERENCED_BY_GEOMETRY_SHADER
Constant ยท Source
pub const REFERENCED_BY_GEOMETRY_SHADER: u32 = 0x9309
REFERENCED_BY_FRAGMENT_SHADER
Constant ยท Source
pub const REFERENCED_BY_FRAGMENT_SHADER: u32 = 0x930a
REFERENCED_BY_COMPUTE_SHADER
Constant ยท Source
pub const REFERENCED_BY_COMPUTE_SHADER: u32 = 0x930b
TOP_LEVEL_ARRAY_SIZE
Constant ยท Source
pub const TOP_LEVEL_ARRAY_SIZE: u32 = 0x930c
TOP_LEVEL_ARRAY_STRIDE
Constant ยท Source
pub const TOP_LEVEL_ARRAY_STRIDE: u32 = 0x930d
LOCATION
Constant ยท Source
pub const LOCATION: u32 = 0x930e
LOCATION_INDEX
Constant ยท Source
pub const LOCATION_INDEX: u32 = 0x930f
IS_PER_PATCH
Constant ยท Source
pub const IS_PER_PATCH: u32 = 0x92e7
SHADER_STORAGE_BUFFER
Constant ยท Source
pub const SHADER_STORAGE_BUFFER: u32 = 0x90d2
SHADER_STORAGE_BUFFER_BINDING
Constant ยท Source
pub const SHADER_STORAGE_BUFFER_BINDING: u32 = 0x90d3
SHADER_STORAGE_BUFFER_START
Constant ยท Source
pub const SHADER_STORAGE_BUFFER_START: u32 = 0x90d4
SHADER_STORAGE_BUFFER_SIZE
Constant ยท Source
pub const SHADER_STORAGE_BUFFER_SIZE: u32 = 0x90d5
MAX_VERTEX_SHADER_STORAGE_BLOCKS
Constant ยท Source
pub const MAX_VERTEX_SHADER_STORAGE_BLOCKS: u32 = 0x90d6
MAX_GEOMETRY_SHADER_STORAGE_BLOCKS
Constant ยท Source
pub const MAX_GEOMETRY_SHADER_STORAGE_BLOCKS: u32 = 0x90d7
MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS
Constant ยท Source
pub const MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS: u32 = 0x90d8
MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS
Constant ยท Source
pub const MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS: u32 = 0x90d9
MAX_FRAGMENT_SHADER_STORAGE_BLOCKS
Constant ยท Source
pub const MAX_FRAGMENT_SHADER_STORAGE_BLOCKS: u32 = 0x90da
MAX_COMPUTE_SHADER_STORAGE_BLOCKS
Constant ยท Source
pub const MAX_COMPUTE_SHADER_STORAGE_BLOCKS: u32 = 0x90db
MAX_COMBINED_SHADER_STORAGE_BLOCKS
Constant ยท Source
pub const MAX_COMBINED_SHADER_STORAGE_BLOCKS: u32 = 0x90dc
MAX_SHADER_STORAGE_BUFFER_BINDINGS
Constant ยท Source
pub const MAX_SHADER_STORAGE_BUFFER_BINDINGS: u32 = 0x90dd
MAX_SHADER_STORAGE_BLOCK_SIZE
Constant ยท Source
pub const MAX_SHADER_STORAGE_BLOCK_SIZE: u32 = 0x90de
SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT
Constant ยท Source
pub const SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT: u32 = 0x90df
SHADER_STORAGE_BARRIER_BIT
Constant ยท Source
pub const SHADER_STORAGE_BARRIER_BIT: u32 = 0x00002000
MAX_COMBINED_SHADER_OUTPUT_RESOURCES
Constant ยท Source
pub const MAX_COMBINED_SHADER_OUTPUT_RESOURCES: u32 = 0x8f39
DEPTH_STENCIL_TEXTURE_MODE
Constant ยท Source
pub const DEPTH_STENCIL_TEXTURE_MODE: u32 = 0x90ea
TEXTURE_BUFFER_OFFSET
Constant ยท Source
pub const TEXTURE_BUFFER_OFFSET: u32 = 0x919d
TEXTURE_BUFFER_SIZE
Constant ยท Source
pub const TEXTURE_BUFFER_SIZE: u32 = 0x919e
TEXTURE_BUFFER_OFFSET_ALIGNMENT
Constant ยท Source
pub const TEXTURE_BUFFER_OFFSET_ALIGNMENT: u32 = 0x919f
TEXTURE_VIEW_MIN_LEVEL
Constant ยท Source
pub const TEXTURE_VIEW_MIN_LEVEL: u32 = 0x82db
TEXTURE_VIEW_NUM_LEVELS
Constant ยท Source
pub const TEXTURE_VIEW_NUM_LEVELS: u32 = 0x82dc
TEXTURE_VIEW_MIN_LAYER
Constant ยท Source
pub const TEXTURE_VIEW_MIN_LAYER: u32 = 0x82dd
TEXTURE_VIEW_NUM_LAYERS
Constant ยท Source
pub const TEXTURE_VIEW_NUM_LAYERS: u32 = 0x82de
TEXTURE_IMMUTABLE_LEVELS
Constant ยท Source
pub const TEXTURE_IMMUTABLE_LEVELS: u32 = 0x82df
VERTEX_ATTRIB_BINDING
Constant ยท Source
pub const VERTEX_ATTRIB_BINDING: u32 = 0x82d4
VERTEX_ATTRIB_RELATIVE_OFFSET
Constant ยท Source
pub const VERTEX_ATTRIB_RELATIVE_OFFSET: u32 = 0x82d5
VERTEX_BINDING_DIVISOR
Constant ยท Source
pub const VERTEX_BINDING_DIVISOR: u32 = 0x82d6
VERTEX_BINDING_OFFSET
Constant ยท Source
pub const VERTEX_BINDING_OFFSET: u32 = 0x82d7
VERTEX_BINDING_STRIDE
Constant ยท Source
pub const VERTEX_BINDING_STRIDE: u32 = 0x82d8
MAX_VERTEX_ATTRIB_RELATIVE_OFFSET
Constant ยท Source
pub const MAX_VERTEX_ATTRIB_RELATIVE_OFFSET: u32 = 0x82d9
MAX_VERTEX_ATTRIB_BINDINGS
Constant ยท Source
pub const MAX_VERTEX_ATTRIB_BINDINGS: u32 = 0x82da
VERTEX_BINDING_BUFFER
Constant ยท Source
pub const VERTEX_BINDING_BUFFER: u32 = 0x8f4f
MAX_VERTEX_ATTRIB_STRIDE
Constant ยท Source
pub const MAX_VERTEX_ATTRIB_STRIDE: u32 = 0x82e5
PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED
Constant ยท Source
pub const PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED: u32 = 0x8221
TEXTURE_BUFFER_BINDING
Constant ยท Source
pub const TEXTURE_BUFFER_BINDING: u32 = 0x8c2a
MAP_PERSISTENT_BIT
Constant ยท Source
pub const MAP_PERSISTENT_BIT: u32 = 0x0040
MAP_COHERENT_BIT
Constant ยท Source
pub const MAP_COHERENT_BIT: u32 = 0x0080
DYNAMIC_STORAGE_BIT
Constant ยท Source
pub const DYNAMIC_STORAGE_BIT: u32 = 0x0100
CLIENT_STORAGE_BIT
Constant ยท Source
pub const CLIENT_STORAGE_BIT: u32 = 0x0200
CLIENT_MAPPED_BUFFER_BARRIER_BIT
Constant ยท Source
pub const CLIENT_MAPPED_BUFFER_BARRIER_BIT: u32 = 0x00004000
BUFFER_IMMUTABLE_STORAGE
Constant ยท Source
pub const BUFFER_IMMUTABLE_STORAGE: u32 = 0x821f
BUFFER_STORAGE_FLAGS
Constant ยท Source
pub const BUFFER_STORAGE_FLAGS: u32 = 0x8220
CLEAR_TEXTURE
Constant ยท Source
pub const CLEAR_TEXTURE: u32 = 0x9365
LOCATION_COMPONENT
Constant ยท Source
pub const LOCATION_COMPONENT: u32 = 0x934a
TRANSFORM_FEEDBACK_BUFFER_INDEX
Constant ยท Source
pub const TRANSFORM_FEEDBACK_BUFFER_INDEX: u32 = 0x934b
TRANSFORM_FEEDBACK_BUFFER_STRIDE
Constant ยท Source
pub const TRANSFORM_FEEDBACK_BUFFER_STRIDE: u32 = 0x934c
QUERY_BUFFER
Constant ยท Source
pub const QUERY_BUFFER: u32 = 0x9192
QUERY_BUFFER_BARRIER_BIT
Constant ยท Source
pub const QUERY_BUFFER_BARRIER_BIT: u32 = 0x00008000
QUERY_BUFFER_BINDING
Constant ยท Source
pub const QUERY_BUFFER_BINDING: u32 = 0x9193
QUERY_RESULT_NO_WAIT
Constant ยท Source
pub const QUERY_RESULT_NO_WAIT: u32 = 0x9194
MIRROR_CLAMP_TO_EDGE
Constant ยท Source
pub const MIRROR_CLAMP_TO_EDGE: u32 = 0x8743
CONTEXT_LOST
Constant ยท Source
pub const CONTEXT_LOST: u32 = 0x0507
NEGATIVE_ONE_TO_ONE
Constant ยท Source
pub const NEGATIVE_ONE_TO_ONE: u32 = 0x935e
ZERO_TO_ONE
Constant ยท Source
pub const ZERO_TO_ONE: u32 = 0x935f
CLIP_ORIGIN
Constant ยท Source
pub const CLIP_ORIGIN: u32 = 0x935c
CLIP_DEPTH_MODE
Constant ยท Source
pub const CLIP_DEPTH_MODE: u32 = 0x935d
QUERY_WAIT_INVERTED
Constant ยท Source
pub const QUERY_WAIT_INVERTED: u32 = 0x8e17
QUERY_NO_WAIT_INVERTED
Constant ยท Source
pub const QUERY_NO_WAIT_INVERTED: u32 = 0x8e18
QUERY_BY_REGION_WAIT_INVERTED
Constant ยท Source
pub const QUERY_BY_REGION_WAIT_INVERTED: u32 = 0x8e19
QUERY_BY_REGION_NO_WAIT_INVERTED
Constant ยท Source
pub const QUERY_BY_REGION_NO_WAIT_INVERTED: u32 = 0x8e1a
MAX_CULL_DISTANCES
Constant ยท Source
pub const MAX_CULL_DISTANCES: u32 = 0x82f9
MAX_COMBINED_CLIP_AND_CULL_DISTANCES
Constant ยท Source
pub const MAX_COMBINED_CLIP_AND_CULL_DISTANCES: u32 = 0x82fa
TEXTURE_TARGET
Constant ยท Source
pub const TEXTURE_TARGET: u32 = 0x1006
QUERY_TARGET
Constant ยท Source
pub const QUERY_TARGET: u32 = 0x82ea
GUILTY_CONTEXT_RESET
Constant ยท Source
pub const GUILTY_CONTEXT_RESET: u32 = 0x8253
INNOCENT_CONTEXT_RESET
Constant ยท Source
pub const INNOCENT_CONTEXT_RESET: u32 = 0x8254
UNKNOWN_CONTEXT_RESET
Constant ยท Source
pub const UNKNOWN_CONTEXT_RESET: u32 = 0x8255
RESET_NOTIFICATION_STRATEGY
Constant ยท Source
pub const RESET_NOTIFICATION_STRATEGY: u32 = 0x8256
LOSE_CONTEXT_ON_RESET
Constant ยท Source
pub const LOSE_CONTEXT_ON_RESET: u32 = 0x8252
NO_RESET_NOTIFICATION
Constant ยท Source
pub const NO_RESET_NOTIFICATION: u32 = 0x8261
CONTEXT_FLAG_ROBUST_ACCESS_BIT
Constant ยท Source
pub const CONTEXT_FLAG_ROBUST_ACCESS_BIT: u32 = 0x00000004
CONTEXT_RELEASE_BEHAVIOR
Constant ยท Source
pub const CONTEXT_RELEASE_BEHAVIOR: u32 = 0x82fb
CONTEXT_RELEASE_BEHAVIOR_FLUSH
Constant ยท Source
pub const CONTEXT_RELEASE_BEHAVIOR_FLUSH: u32 = 0x82fc
SHADER_BINARY_FORMAT_SPIR_V
Constant ยท Source
pub const SHADER_BINARY_FORMAT_SPIR_V: u32 = 0x9551
SPIR_V_BINARY
Constant ยท Source
pub const SPIR_V_BINARY: u32 = 0x9552
PARAMETER_BUFFER
Constant ยท Source
pub const PARAMETER_BUFFER: u32 = 0x80ee
PARAMETER_BUFFER_BINDING
Constant ยท Source
pub const PARAMETER_BUFFER_BINDING: u32 = 0x80ef
CONTEXT_FLAG_NO_ERROR_BIT
Constant ยท Source
pub const CONTEXT_FLAG_NO_ERROR_BIT: u32 = 0x00000008
VERTICES_SUBMITTED
Constant ยท Source
pub const VERTICES_SUBMITTED: u32 = 0x82ee
PRIMITIVES_SUBMITTED
Constant ยท Source
pub const PRIMITIVES_SUBMITTED: u32 = 0x82ef
VERTEX_SHADER_INVOCATIONS
Constant ยท Source
pub const VERTEX_SHADER_INVOCATIONS: u32 = 0x82f0
TESS_CONTROL_SHADER_PATCHES
Constant ยท Source
pub const TESS_CONTROL_SHADER_PATCHES: u32 = 0x82f1
TESS_EVALUATION_SHADER_INVOCATIONS
Constant ยท Source
pub const TESS_EVALUATION_SHADER_INVOCATIONS: u32 = 0x82f2
GEOMETRY_SHADER_PRIMITIVES_EMITTED
Constant ยท Source
pub const GEOMETRY_SHADER_PRIMITIVES_EMITTED: u32 = 0x82f3
FRAGMENT_SHADER_INVOCATIONS
Constant ยท Source
pub const FRAGMENT_SHADER_INVOCATIONS: u32 = 0x82f4
COMPUTE_SHADER_INVOCATIONS
Constant ยท Source
pub const COMPUTE_SHADER_INVOCATIONS: u32 = 0x82f5
CLIPPING_INPUT_PRIMITIVES
Constant ยท Source
pub const CLIPPING_INPUT_PRIMITIVES: u32 = 0x82f6
CLIPPING_OUTPUT_PRIMITIVES
Constant ยท Source
pub const CLIPPING_OUTPUT_PRIMITIVES: u32 = 0x82f7
POLYGON_OFFSET_CLAMP
Constant ยท Source
pub const POLYGON_OFFSET_CLAMP: u32 = 0x8e1b
SPIR_V_EXTENSIONS
Constant ยท Source
pub const SPIR_V_EXTENSIONS: u32 = 0x9553
NUM_SPIR_V_EXTENSIONS
Constant ยท Source
pub const NUM_SPIR_V_EXTENSIONS: u32 = 0x9554
TEXTURE_MAX_ANISOTROPY
Constant ยท Source
pub const TEXTURE_MAX_ANISOTROPY: u32 = 0x84fe
MAX_TEXTURE_MAX_ANISOTROPY
Constant ยท Source
pub const MAX_TEXTURE_MAX_ANISOTROPY: u32 = 0x84ff
TRANSFORM_FEEDBACK_OVERFLOW
Constant ยท Source
pub const TRANSFORM_FEEDBACK_OVERFLOW: u32 = 0x82ec
TRANSFORM_FEEDBACK_STREAM_OVERFLOW
Constant ยท Source
pub const TRANSFORM_FEEDBACK_STREAM_OVERFLOW: u32 = 0x82ed
cull_face
Function ยท Source
glCullFace, OpenGL 1.0.
pub unsafe fn cull_face(mode: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
front_face
Function ยท Source
glFrontFace, OpenGL 1.0.
pub unsafe fn front_face(mode: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
hint
Function ยท Source
glHint, OpenGL 1.0.
pub unsafe fn hint(target: u32, mode: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
line_width
Function ยท Source
glLineWidth, OpenGL 1.0.
pub unsafe fn line_width(width: f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
point_size
Function ยท Source
glPointSize, OpenGL 1.0.
pub unsafe fn point_size(size: f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
polygon_mode
Function ยท Source
glPolygonMode, OpenGL 1.0.
pub unsafe fn polygon_mode(face: u32, mode: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
scissor
Function ยท Source
glScissor, OpenGL 1.0.
pub unsafe fn scissor(x: i32, y: i32, width: i32, height: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
tex_parameterf
Function ยท Source
glTexParameterf, OpenGL 1.0.
pub unsafe fn tex_parameterf(target: u32, pname: u32, param: f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
tex_parameterfv
Function ยท Source
glTexParameterfv, OpenGL 1.0.
pub unsafe fn tex_parameterfv(target: u32, pname: u32, params: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
tex_parameteri
Function ยท Source
glTexParameteri, OpenGL 1.0.
pub unsafe fn tex_parameteri(target: u32, pname: u32, param: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
tex_parameteriv
Function ยท Source
glTexParameteriv, OpenGL 1.0.
pub unsafe fn tex_parameteriv(target: u32, pname: u32, params: *const i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
tex_image_1d
Function ยท Source
glTexImage1D, OpenGL 1.0.
pub unsafe fn tex_image_1d(target: u32, level: i32, internalformat: i32, width: i32, border: i32, format: u32, type_: u32, pixels: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
tex_image_2d
Function ยท Source
glTexImage2D, OpenGL 1.0.
pub unsafe fn tex_image_2d(target: u32, level: i32, internalformat: i32, width: i32, height: i32, border: i32, format: u32, type_: u32, pixels: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
draw_buffer
Function ยท Source
glDrawBuffer, OpenGL 1.0.
pub unsafe fn draw_buffer(buf: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
clear
Function ยท Source
glClear, OpenGL 1.0.
pub unsafe fn clear(mask: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
clear_color
Function ยท Source
glClearColor, OpenGL 1.0.
pub unsafe fn clear_color(red: f32, green: f32, blue: f32, alpha: f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
clear_stencil
Function ยท Source
glClearStencil, OpenGL 1.0.
pub unsafe fn clear_stencil(s: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
clear_depth
Function ยท Source
glClearDepth, OpenGL 1.0.
pub unsafe fn clear_depth(depth: f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
stencil_mask
Function ยท Source
glStencilMask, OpenGL 1.0.
pub unsafe fn stencil_mask(mask: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
color_mask
Function ยท Source
glColorMask, OpenGL 1.0.
pub unsafe fn color_mask(red: u8, green: u8, blue: u8, alpha: u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
depth_mask
Function ยท Source
glDepthMask, OpenGL 1.0.
pub unsafe fn depth_mask(flag: u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
disable
Function ยท Source
glDisable, OpenGL 1.0.
pub unsafe fn disable(cap: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
enable
Function ยท Source
glEnable, OpenGL 1.0.
pub unsafe fn enable(cap: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
finish
Function ยท Source
glFinish, OpenGL 1.0.
pub unsafe fn finish()
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
flush
Function ยท Source
glFlush, OpenGL 1.0.
pub unsafe fn flush()
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
blend_func
Function ยท Source
glBlendFunc, OpenGL 1.0.
pub unsafe fn blend_func(sfactor: u32, dfactor: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
logic_op
Function ยท Source
glLogicOp, OpenGL 1.0.
pub unsafe fn logic_op(opcode: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
stencil_func
Function ยท Source
glStencilFunc, OpenGL 1.0.
pub unsafe fn stencil_func(func: u32, ref: i32, mask: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
stencil_op
Function ยท Source
glStencilOp, OpenGL 1.0.
pub unsafe fn stencil_op(fail: u32, zfail: u32, zpass: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
depth_func
Function ยท Source
glDepthFunc, OpenGL 1.0.
pub unsafe fn depth_func(func: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
pixel_storef
Function ยท Source
glPixelStoref, OpenGL 1.0.
pub unsafe fn pixel_storef(pname: u32, param: f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
pixel_storei
Function ยท Source
glPixelStorei, OpenGL 1.0.
pub unsafe fn pixel_storei(pname: u32, param: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
read_buffer
Function ยท Source
glReadBuffer, OpenGL 1.0.
pub unsafe fn read_buffer(src: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
read_pixels
Function ยท Source
glReadPixels, OpenGL 1.0.
pub unsafe fn read_pixels(x: i32, y: i32, width: i32, height: i32, format: u32, type_: u32, pixels: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_booleanv
Function ยท Source
glGetBooleanv, OpenGL 1.0.
pub unsafe fn get_booleanv(pname: u32, data: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_doublev
Function ยท Source
glGetDoublev, OpenGL 1.0.
pub unsafe fn get_doublev(pname: u32, data: *mut f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_error
Function ยท Source
glGetError, OpenGL 1.0.
pub unsafe fn get_error() -> u32
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_floatv
Function ยท Source
glGetFloatv, OpenGL 1.0.
pub unsafe fn get_floatv(pname: u32, data: *mut f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_integerv
Function ยท Source
glGetIntegerv, OpenGL 1.0.
pub unsafe fn get_integerv(pname: u32, data: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_string
Function ยท Source
glGetString, OpenGL 1.0.
pub unsafe fn get_string(name: u32) -> *const u8
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_tex_image
Function ยท Source
glGetTexImage, OpenGL 1.0.
pub unsafe fn get_tex_image(target: u32, level: i32, format: u32, type_: u32, pixels: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_tex_parameterfv
Function ยท Source
glGetTexParameterfv, OpenGL 1.0.
pub unsafe fn get_tex_parameterfv(target: u32, pname: u32, params: *mut f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_tex_parameteriv
Function ยท Source
glGetTexParameteriv, OpenGL 1.0.
pub unsafe fn get_tex_parameteriv(target: u32, pname: u32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_tex_level_parameterfv
Function ยท Source
glGetTexLevelParameterfv, OpenGL 1.0.
pub unsafe fn get_tex_level_parameterfv(target: u32, level: i32, pname: u32, params: *mut f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_tex_level_parameteriv
Function ยท Source
glGetTexLevelParameteriv, OpenGL 1.0.
pub unsafe fn get_tex_level_parameteriv(target: u32, level: i32, pname: u32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
is_enabled
Function ยท Source
glIsEnabled, OpenGL 1.0.
pub unsafe fn is_enabled(cap: u32) -> u8
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
depth_range
Function ยท Source
glDepthRange, OpenGL 1.0.
pub unsafe fn depth_range(n: f64, f: f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
viewport
Function ยท Source
glViewport, OpenGL 1.0.
pub unsafe fn viewport(x: i32, y: i32, width: i32, height: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
draw_arrays
Function ยท Source
glDrawArrays, OpenGL 1.1.
pub unsafe fn draw_arrays(mode: u32, first: i32, count: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
draw_elements
Function ยท Source
glDrawElements, OpenGL 1.1.
pub unsafe fn draw_elements(mode: u32, count: i32, type_: u32, indices: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
polygon_offset
Function ยท Source
glPolygonOffset, OpenGL 1.1.
pub unsafe fn polygon_offset(factor: f32, units: f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
copy_tex_image_1d
Function ยท Source
glCopyTexImage1D, OpenGL 1.1.
pub unsafe fn copy_tex_image_1d(target: u32, level: i32, internalformat: u32, x: i32, y: i32, width: i32, border: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
copy_tex_image_2d
Function ยท Source
glCopyTexImage2D, OpenGL 1.1.
pub unsafe fn copy_tex_image_2d(target: u32, level: i32, internalformat: u32, x: i32, y: i32, width: i32, height: i32, border: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
copy_tex_sub_image_1d
Function ยท Source
glCopyTexSubImage1D, OpenGL 1.1.
pub unsafe fn copy_tex_sub_image_1d(target: u32, level: i32, xoffset: i32, x: i32, y: i32, width: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
copy_tex_sub_image_2d
Function ยท Source
glCopyTexSubImage2D, OpenGL 1.1.
pub unsafe fn copy_tex_sub_image_2d(target: u32, level: i32, xoffset: i32, yoffset: i32, x: i32, y: i32, width: i32, height: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
tex_sub_image_1d
Function ยท Source
glTexSubImage1D, OpenGL 1.1.
pub unsafe fn tex_sub_image_1d(target: u32, level: i32, xoffset: i32, width: i32, format: u32, type_: u32, pixels: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
tex_sub_image_2d
Function ยท Source
glTexSubImage2D, OpenGL 1.1.
pub unsafe fn tex_sub_image_2d(target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, type_: u32, pixels: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
bind_texture
Function ยท Source
glBindTexture, OpenGL 1.1.
pub unsafe fn bind_texture(target: u32, texture: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
delete_textures
Function ยท Source
glDeleteTextures, OpenGL 1.1.
pub unsafe fn delete_textures(n: i32, textures: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
gen_textures
Function ยท Source
glGenTextures, OpenGL 1.1.
pub unsafe fn gen_textures(n: i32, textures: *mut u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
is_texture
Function ยท Source
glIsTexture, OpenGL 1.1.
pub unsafe fn is_texture(texture: u32) -> u8
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
draw_range_elements
Function ยท Source
glDrawRangeElements, OpenGL 1.2.
pub unsafe fn draw_range_elements(mode: u32, start: u32, end: u32, count: i32, type_: u32, indices: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
tex_image_3d
Function ยท Source
glTexImage3D, OpenGL 1.2.
pub unsafe fn tex_image_3d(target: u32, level: i32, internalformat: i32, width: i32, height: i32, depth: i32, border: i32, format: u32, type_: u32, pixels: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
tex_sub_image_3d
Function ยท Source
glTexSubImage3D, OpenGL 1.2.
pub unsafe fn tex_sub_image_3d(target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, pixels: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
copy_tex_sub_image_3d
Function ยท Source
glCopyTexSubImage3D, OpenGL 1.2.
pub unsafe fn copy_tex_sub_image_3d(target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, x: i32, y: i32, width: i32, height: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
active_texture
Function ยท Source
glActiveTexture, OpenGL 1.3.
pub unsafe fn active_texture(texture: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
sample_coverage
Function ยท Source
glSampleCoverage, OpenGL 1.3.
pub unsafe fn sample_coverage(value: f32, invert: u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
compressed_tex_image_3d
Function ยท Source
glCompressedTexImage3D, OpenGL 1.3.
pub unsafe fn compressed_tex_image_3d(target: u32, level: i32, internalformat: u32, width: i32, height: i32, depth: i32, border: i32, image_size: i32, data: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
compressed_tex_image_2d
Function ยท Source
glCompressedTexImage2D, OpenGL 1.3.
pub unsafe fn compressed_tex_image_2d(target: u32, level: i32, internalformat: u32, width: i32, height: i32, border: i32, image_size: i32, data: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
compressed_tex_image_1d
Function ยท Source
glCompressedTexImage1D, OpenGL 1.3.
pub unsafe fn compressed_tex_image_1d(target: u32, level: i32, internalformat: u32, width: i32, border: i32, image_size: i32, data: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
compressed_tex_sub_image_3d
Function ยท Source
glCompressedTexSubImage3D, OpenGL 1.3.
pub unsafe fn compressed_tex_sub_image_3d(target: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, image_size: i32, data: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
compressed_tex_sub_image_2d
Function ยท Source
glCompressedTexSubImage2D, OpenGL 1.3.
pub unsafe fn compressed_tex_sub_image_2d(target: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, image_size: i32, data: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
compressed_tex_sub_image_1d
Function ยท Source
glCompressedTexSubImage1D, OpenGL 1.3.
pub unsafe fn compressed_tex_sub_image_1d(target: u32, level: i32, xoffset: i32, width: i32, format: u32, image_size: i32, data: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_compressed_tex_image
Function ยท Source
glGetCompressedTexImage, OpenGL 1.3.
pub unsafe fn get_compressed_tex_image(target: u32, level: i32, img: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
blend_func_separate
Function ยท Source
glBlendFuncSeparate, OpenGL 1.4.
pub unsafe fn blend_func_separate(sfactor_rgb: u32, dfactor_rgb: u32, sfactor_alpha: u32, dfactor_alpha: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
multi_draw_arrays
Function ยท Source
glMultiDrawArrays, OpenGL 1.4.
pub unsafe fn multi_draw_arrays(mode: u32, first: *const i32, count: *const i32, drawcount: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
multi_draw_elements
Function ยท Source
glMultiDrawElements, OpenGL 1.4.
pub unsafe fn multi_draw_elements(mode: u32, count: *const i32, type_: u32, indices: *const *const u8, drawcount: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
point_parameterf
Function ยท Source
glPointParameterf, OpenGL 1.4.
pub unsafe fn point_parameterf(pname: u32, param: f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
point_parameterfv
Function ยท Source
glPointParameterfv, OpenGL 1.4.
pub unsafe fn point_parameterfv(pname: u32, params: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
point_parameteri
Function ยท Source
glPointParameteri, OpenGL 1.4.
pub unsafe fn point_parameteri(pname: u32, param: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
point_parameteriv
Function ยท Source
glPointParameteriv, OpenGL 1.4.
pub unsafe fn point_parameteriv(pname: u32, params: *const i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
blend_color
Function ยท Source
glBlendColor, OpenGL 1.4.
pub unsafe fn blend_color(red: f32, green: f32, blue: f32, alpha: f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
blend_equation
Function ยท Source
glBlendEquation, OpenGL 1.4.
pub unsafe fn blend_equation(mode: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
gen_queries
Function ยท Source
glGenQueries, OpenGL 1.5.
pub unsafe fn gen_queries(n: i32, ids: *mut u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
delete_queries
Function ยท Source
glDeleteQueries, OpenGL 1.5.
pub unsafe fn delete_queries(n: i32, ids: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
is_query
Function ยท Source
glIsQuery, OpenGL 1.5.
pub unsafe fn is_query(id: u32) -> u8
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
begin_query
Function ยท Source
glBeginQuery, OpenGL 1.5.
pub unsafe fn begin_query(target: u32, id: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
end_query
Function ยท Source
glEndQuery, OpenGL 1.5.
pub unsafe fn end_query(target: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_queryiv
Function ยท Source
glGetQueryiv, OpenGL 1.5.
pub unsafe fn get_queryiv(target: u32, pname: u32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_query_objectiv
Function ยท Source
glGetQueryObjectiv, OpenGL 1.5.
pub unsafe fn get_query_objectiv(id: u32, pname: u32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_query_objectuiv
Function ยท Source
glGetQueryObjectuiv, OpenGL 1.5.
pub unsafe fn get_query_objectuiv(id: u32, pname: u32, params: *mut u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
bind_buffer
Function ยท Source
glBindBuffer, OpenGL 1.5.
pub unsafe fn bind_buffer(target: u32, buffer: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
delete_buffers
Function ยท Source
glDeleteBuffers, OpenGL 1.5.
pub unsafe fn delete_buffers(n: i32, buffers: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
gen_buffers
Function ยท Source
glGenBuffers, OpenGL 1.5.
pub unsafe fn gen_buffers(n: i32, buffers: *mut u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
is_buffer
Function ยท Source
glIsBuffer, OpenGL 1.5.
pub unsafe fn is_buffer(buffer: u32) -> u8
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
buffer_data
Function ยท Source
glBufferData, OpenGL 1.5.
pub unsafe fn buffer_data(target: u32, size: isize, data: *const u8, usage: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
buffer_sub_data
Function ยท Source
glBufferSubData, OpenGL 1.5.
pub unsafe fn buffer_sub_data(target: u32, offset: isize, size: isize, data: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_buffer_sub_data
Function ยท Source
glGetBufferSubData, OpenGL 1.5.
pub unsafe fn get_buffer_sub_data(target: u32, offset: isize, size: isize, data: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
map_buffer
Function ยท Source
glMapBuffer, OpenGL 1.5.
pub unsafe fn map_buffer(target: u32, access: u32) -> *mut u8
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
unmap_buffer
Function ยท Source
glUnmapBuffer, OpenGL 1.5.
pub unsafe fn unmap_buffer(target: u32) -> u8
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_buffer_parameteriv
Function ยท Source
glGetBufferParameteriv, OpenGL 1.5.
pub unsafe fn get_buffer_parameteriv(target: u32, pname: u32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_buffer_pointerv
Function ยท Source
glGetBufferPointerv, OpenGL 1.5.
pub unsafe fn get_buffer_pointerv(target: u32, pname: u32, params: *mut *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
blend_equation_separate
Function ยท Source
glBlendEquationSeparate, OpenGL 2.0.
pub unsafe fn blend_equation_separate(mode_rgb: u32, mode_alpha: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
draw_buffers
Function ยท Source
glDrawBuffers, OpenGL 2.0.
pub unsafe fn draw_buffers(n: i32, bufs: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
stencil_op_separate
Function ยท Source
glStencilOpSeparate, OpenGL 2.0.
pub unsafe fn stencil_op_separate(face: u32, sfail: u32, dpfail: u32, dppass: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
stencil_func_separate
Function ยท Source
glStencilFuncSeparate, OpenGL 2.0.
pub unsafe fn stencil_func_separate(face: u32, func: u32, ref: i32, mask: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
stencil_mask_separate
Function ยท Source
glStencilMaskSeparate, OpenGL 2.0.
pub unsafe fn stencil_mask_separate(face: u32, mask: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
attach_shader
Function ยท Source
glAttachShader, OpenGL 2.0.
pub unsafe fn attach_shader(program: u32, shader: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
bind_attrib_location
Function ยท Source
glBindAttribLocation, OpenGL 2.0.
pub unsafe fn bind_attrib_location(program: u32, index: u32, name: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
compile_shader
Function ยท Source
glCompileShader, OpenGL 2.0.
pub unsafe fn compile_shader(shader: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
create_program
Function ยท Source
glCreateProgram, OpenGL 2.0.
pub unsafe fn create_program() -> u32
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
create_shader
Function ยท Source
glCreateShader, OpenGL 2.0.
pub unsafe fn create_shader(type_: u32) -> u32
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
delete_program
Function ยท Source
glDeleteProgram, OpenGL 2.0.
pub unsafe fn delete_program(program: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
delete_shader
Function ยท Source
glDeleteShader, OpenGL 2.0.
pub unsafe fn delete_shader(shader: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
detach_shader
Function ยท Source
glDetachShader, OpenGL 2.0.
pub unsafe fn detach_shader(program: u32, shader: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
disable_vertex_attrib_array
Function ยท Source
glDisableVertexAttribArray, OpenGL 2.0.
pub unsafe fn disable_vertex_attrib_array(index: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
enable_vertex_attrib_array
Function ยท Source
glEnableVertexAttribArray, OpenGL 2.0.
pub unsafe fn enable_vertex_attrib_array(index: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_active_attrib
Function ยท Source
glGetActiveAttrib, OpenGL 2.0.
pub unsafe fn get_active_attrib(program: u32, index: u32, buf_size: i32, length: *mut i32, size: *mut i32, type_: *mut u32, name: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_active_uniform
Function ยท Source
glGetActiveUniform, OpenGL 2.0.
pub unsafe fn get_active_uniform(program: u32, index: u32, buf_size: i32, length: *mut i32, size: *mut i32, type_: *mut u32, name: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_attached_shaders
Function ยท Source
glGetAttachedShaders, OpenGL 2.0.
pub unsafe fn get_attached_shaders(program: u32, max_count: i32, count: *mut i32, shaders: *mut u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_attrib_location
Function ยท Source
glGetAttribLocation, OpenGL 2.0.
pub unsafe fn get_attrib_location(program: u32, name: *const u8) -> i32
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_programiv
Function ยท Source
glGetProgramiv, OpenGL 2.0.
pub unsafe fn get_programiv(program: u32, pname: u32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_program_info_log
Function ยท Source
glGetProgramInfoLog, OpenGL 2.0.
pub unsafe fn get_program_info_log(program: u32, buf_size: i32, length: *mut i32, info_log: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_shaderiv
Function ยท Source
glGetShaderiv, OpenGL 2.0.
pub unsafe fn get_shaderiv(shader: u32, pname: u32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_shader_info_log
Function ยท Source
glGetShaderInfoLog, OpenGL 2.0.
pub unsafe fn get_shader_info_log(shader: u32, buf_size: i32, length: *mut i32, info_log: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_shader_source
Function ยท Source
glGetShaderSource, OpenGL 2.0.
pub unsafe fn get_shader_source(shader: u32, buf_size: i32, length: *mut i32, source: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_uniform_location
Function ยท Source
glGetUniformLocation, OpenGL 2.0.
pub unsafe fn get_uniform_location(program: u32, name: *const u8) -> i32
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_uniformfv
Function ยท Source
glGetUniformfv, OpenGL 2.0.
pub unsafe fn get_uniformfv(program: u32, location: i32, params: *mut f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_uniformiv
Function ยท Source
glGetUniformiv, OpenGL 2.0.
pub unsafe fn get_uniformiv(program: u32, location: i32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_vertex_attribdv
Function ยท Source
glGetVertexAttribdv, OpenGL 2.0.
pub unsafe fn get_vertex_attribdv(index: u32, pname: u32, params: *mut f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_vertex_attribfv
Function ยท Source
glGetVertexAttribfv, OpenGL 2.0.
pub unsafe fn get_vertex_attribfv(index: u32, pname: u32, params: *mut f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_vertex_attribiv
Function ยท Source
glGetVertexAttribiv, OpenGL 2.0.
pub unsafe fn get_vertex_attribiv(index: u32, pname: u32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_vertex_attrib_pointerv
Function ยท Source
glGetVertexAttribPointerv, OpenGL 2.0.
pub unsafe fn get_vertex_attrib_pointerv(index: u32, pname: u32, pointer: *mut *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
is_program
Function ยท Source
glIsProgram, OpenGL 2.0.
pub unsafe fn is_program(program: u32) -> u8
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
is_shader
Function ยท Source
glIsShader, OpenGL 2.0.
pub unsafe fn is_shader(shader: u32) -> u8
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
link_program
Function ยท Source
glLinkProgram, OpenGL 2.0.
pub unsafe fn link_program(program: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
shader_source
Function ยท Source
glShaderSource, OpenGL 2.0.
pub unsafe fn shader_source(shader: u32, count: i32, string: *const *const u8, length: *const i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
use_program
Function ยท Source
glUseProgram, OpenGL 2.0.
pub unsafe fn use_program(program: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_1f
Function ยท Source
glUniform1f, OpenGL 2.0.
pub unsafe fn uniform_1f(location: i32, v_0: f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_2f
Function ยท Source
glUniform2f, OpenGL 2.0.
pub unsafe fn uniform_2f(location: i32, v_0: f32, v_1: f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_3f
Function ยท Source
glUniform3f, OpenGL 2.0.
pub unsafe fn uniform_3f(location: i32, v_0: f32, v_1: f32, v_2: f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_4f
Function ยท Source
glUniform4f, OpenGL 2.0.
pub unsafe fn uniform_4f(location: i32, v_0: f32, v_1: f32, v_2: f32, v_3: f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_1i
Function ยท Source
glUniform1i, OpenGL 2.0.
pub unsafe fn uniform_1i(location: i32, v_0: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_2i
Function ยท Source
glUniform2i, OpenGL 2.0.
pub unsafe fn uniform_2i(location: i32, v_0: i32, v_1: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_3i
Function ยท Source
glUniform3i, OpenGL 2.0.
pub unsafe fn uniform_3i(location: i32, v_0: i32, v_1: i32, v_2: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_4i
Function ยท Source
glUniform4i, OpenGL 2.0.
pub unsafe fn uniform_4i(location: i32, v_0: i32, v_1: i32, v_2: i32, v_3: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_1fv
Function ยท Source
glUniform1fv, OpenGL 2.0.
pub unsafe fn uniform_1fv(location: i32, count: i32, value: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_2fv
Function ยท Source
glUniform2fv, OpenGL 2.0.
pub unsafe fn uniform_2fv(location: i32, count: i32, value: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_3fv
Function ยท Source
glUniform3fv, OpenGL 2.0.
pub unsafe fn uniform_3fv(location: i32, count: i32, value: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_4fv
Function ยท Source
glUniform4fv, OpenGL 2.0.
pub unsafe fn uniform_4fv(location: i32, count: i32, value: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_1iv
Function ยท Source
glUniform1iv, OpenGL 2.0.
pub unsafe fn uniform_1iv(location: i32, count: i32, value: *const i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_2iv
Function ยท Source
glUniform2iv, OpenGL 2.0.
pub unsafe fn uniform_2iv(location: i32, count: i32, value: *const i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_3iv
Function ยท Source
glUniform3iv, OpenGL 2.0.
pub unsafe fn uniform_3iv(location: i32, count: i32, value: *const i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_4iv
Function ยท Source
glUniform4iv, OpenGL 2.0.
pub unsafe fn uniform_4iv(location: i32, count: i32, value: *const i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_matrix_2fv
Function ยท Source
glUniformMatrix2fv, OpenGL 2.0.
pub unsafe fn uniform_matrix_2fv(location: i32, count: i32, transpose: u8, value: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_matrix_3fv
Function ยท Source
glUniformMatrix3fv, OpenGL 2.0.
pub unsafe fn uniform_matrix_3fv(location: i32, count: i32, transpose: u8, value: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_matrix_4fv
Function ยท Source
glUniformMatrix4fv, OpenGL 2.0.
pub unsafe fn uniform_matrix_4fv(location: i32, count: i32, transpose: u8, value: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
validate_program
Function ยท Source
glValidateProgram, OpenGL 2.0.
pub unsafe fn validate_program(program: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_1d
Function ยท Source
glVertexAttrib1d, OpenGL 2.0.
pub unsafe fn vertex_attrib_1d(index: u32, x: f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_1dv
Function ยท Source
glVertexAttrib1dv, OpenGL 2.0.
pub unsafe fn vertex_attrib_1dv(index: u32, v: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_1f
Function ยท Source
glVertexAttrib1f, OpenGL 2.0.
pub unsafe fn vertex_attrib_1f(index: u32, x: f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_1fv
Function ยท Source
glVertexAttrib1fv, OpenGL 2.0.
pub unsafe fn vertex_attrib_1fv(index: u32, v: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_1s
Function ยท Source
glVertexAttrib1s, OpenGL 2.0.
pub unsafe fn vertex_attrib_1s(index: u32, x: i16)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_1sv
Function ยท Source
glVertexAttrib1sv, OpenGL 2.0.
pub unsafe fn vertex_attrib_1sv(index: u32, v: *const i16)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_2d
Function ยท Source
glVertexAttrib2d, OpenGL 2.0.
pub unsafe fn vertex_attrib_2d(index: u32, x: f64, y: f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_2dv
Function ยท Source
glVertexAttrib2dv, OpenGL 2.0.
pub unsafe fn vertex_attrib_2dv(index: u32, v: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_2f
Function ยท Source
glVertexAttrib2f, OpenGL 2.0.
pub unsafe fn vertex_attrib_2f(index: u32, x: f32, y: f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_2fv
Function ยท Source
glVertexAttrib2fv, OpenGL 2.0.
pub unsafe fn vertex_attrib_2fv(index: u32, v: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_2s
Function ยท Source
glVertexAttrib2s, OpenGL 2.0.
pub unsafe fn vertex_attrib_2s(index: u32, x: i16, y: i16)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_2sv
Function ยท Source
glVertexAttrib2sv, OpenGL 2.0.
pub unsafe fn vertex_attrib_2sv(index: u32, v: *const i16)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_3d
Function ยท Source
glVertexAttrib3d, OpenGL 2.0.
pub unsafe fn vertex_attrib_3d(index: u32, x: f64, y: f64, z: f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_3dv
Function ยท Source
glVertexAttrib3dv, OpenGL 2.0.
pub unsafe fn vertex_attrib_3dv(index: u32, v: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_3f
Function ยท Source
glVertexAttrib3f, OpenGL 2.0.
pub unsafe fn vertex_attrib_3f(index: u32, x: f32, y: f32, z: f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_3fv
Function ยท Source
glVertexAttrib3fv, OpenGL 2.0.
pub unsafe fn vertex_attrib_3fv(index: u32, v: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_3s
Function ยท Source
glVertexAttrib3s, OpenGL 2.0.
pub unsafe fn vertex_attrib_3s(index: u32, x: i16, y: i16, z: i16)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_3sv
Function ยท Source
glVertexAttrib3sv, OpenGL 2.0.
pub unsafe fn vertex_attrib_3sv(index: u32, v: *const i16)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_4nbv
Function ยท Source
glVertexAttrib4Nbv, OpenGL 2.0.
pub unsafe fn vertex_attrib_4nbv(index: u32, v: *const i8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_4niv
Function ยท Source
glVertexAttrib4Niv, OpenGL 2.0.
pub unsafe fn vertex_attrib_4niv(index: u32, v: *const i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_4nsv
Function ยท Source
glVertexAttrib4Nsv, OpenGL 2.0.
pub unsafe fn vertex_attrib_4nsv(index: u32, v: *const i16)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_4nub
Function ยท Source
glVertexAttrib4Nub, OpenGL 2.0.
pub unsafe fn vertex_attrib_4nub(index: u32, x: u8, y: u8, z: u8, w: u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_4nubv
Function ยท Source
glVertexAttrib4Nubv, OpenGL 2.0.
pub unsafe fn vertex_attrib_4nubv(index: u32, v: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_4nuiv
Function ยท Source
glVertexAttrib4Nuiv, OpenGL 2.0.
pub unsafe fn vertex_attrib_4nuiv(index: u32, v: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_4nusv
Function ยท Source
glVertexAttrib4Nusv, OpenGL 2.0.
pub unsafe fn vertex_attrib_4nusv(index: u32, v: *const u16)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_4bv
Function ยท Source
glVertexAttrib4bv, OpenGL 2.0.
pub unsafe fn vertex_attrib_4bv(index: u32, v: *const i8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_4d
Function ยท Source
glVertexAttrib4d, OpenGL 2.0.
pub unsafe fn vertex_attrib_4d(index: u32, x: f64, y: f64, z: f64, w: f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_4dv
Function ยท Source
glVertexAttrib4dv, OpenGL 2.0.
pub unsafe fn vertex_attrib_4dv(index: u32, v: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_4f
Function ยท Source
glVertexAttrib4f, OpenGL 2.0.
pub unsafe fn vertex_attrib_4f(index: u32, x: f32, y: f32, z: f32, w: f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_4fv
Function ยท Source
glVertexAttrib4fv, OpenGL 2.0.
pub unsafe fn vertex_attrib_4fv(index: u32, v: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_4iv
Function ยท Source
glVertexAttrib4iv, OpenGL 2.0.
pub unsafe fn vertex_attrib_4iv(index: u32, v: *const i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_4s
Function ยท Source
glVertexAttrib4s, OpenGL 2.0.
pub unsafe fn vertex_attrib_4s(index: u32, x: i16, y: i16, z: i16, w: i16)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_4sv
Function ยท Source
glVertexAttrib4sv, OpenGL 2.0.
pub unsafe fn vertex_attrib_4sv(index: u32, v: *const i16)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_4ubv
Function ยท Source
glVertexAttrib4ubv, OpenGL 2.0.
pub unsafe fn vertex_attrib_4ubv(index: u32, v: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_4uiv
Function ยท Source
glVertexAttrib4uiv, OpenGL 2.0.
pub unsafe fn vertex_attrib_4uiv(index: u32, v: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_4usv
Function ยท Source
glVertexAttrib4usv, OpenGL 2.0.
pub unsafe fn vertex_attrib_4usv(index: u32, v: *const u16)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_pointer
Function ยท Source
glVertexAttribPointer, OpenGL 2.0.
pub unsafe fn vertex_attrib_pointer(index: u32, size: i32, type_: u32, normalized: u8, stride: i32, pointer: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_matrix_2x3fv
Function ยท Source
glUniformMatrix2x3fv, OpenGL 2.1.
pub unsafe fn uniform_matrix_2x3fv(location: i32, count: i32, transpose: u8, value: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_matrix_3x2fv
Function ยท Source
glUniformMatrix3x2fv, OpenGL 2.1.
pub unsafe fn uniform_matrix_3x2fv(location: i32, count: i32, transpose: u8, value: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_matrix_2x4fv
Function ยท Source
glUniformMatrix2x4fv, OpenGL 2.1.
pub unsafe fn uniform_matrix_2x4fv(location: i32, count: i32, transpose: u8, value: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_matrix_4x2fv
Function ยท Source
glUniformMatrix4x2fv, OpenGL 2.1.
pub unsafe fn uniform_matrix_4x2fv(location: i32, count: i32, transpose: u8, value: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_matrix_3x4fv
Function ยท Source
glUniformMatrix3x4fv, OpenGL 2.1.
pub unsafe fn uniform_matrix_3x4fv(location: i32, count: i32, transpose: u8, value: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_matrix_4x3fv
Function ยท Source
glUniformMatrix4x3fv, OpenGL 2.1.
pub unsafe fn uniform_matrix_4x3fv(location: i32, count: i32, transpose: u8, value: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
color_maski
Function ยท Source
glColorMaski, OpenGL 3.0.
pub unsafe fn color_maski(index: u32, r: u8, g: u8, b: u8, a: u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_booleani_v
Function ยท Source
glGetBooleani_v, OpenGL 3.0.
pub unsafe fn get_booleani_v(target: u32, index: u32, data: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_integeri_v
Function ยท Source
glGetIntegeri_v, OpenGL 3.0.
pub unsafe fn get_integeri_v(target: u32, index: u32, data: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
enablei
Function ยท Source
glEnablei, OpenGL 3.0.
pub unsafe fn enablei(target: u32, index: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
disablei
Function ยท Source
glDisablei, OpenGL 3.0.
pub unsafe fn disablei(target: u32, index: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
is_enabledi
Function ยท Source
glIsEnabledi, OpenGL 3.0.
pub unsafe fn is_enabledi(target: u32, index: u32) -> u8
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
begin_transform_feedback
Function ยท Source
glBeginTransformFeedback, OpenGL 3.0.
pub unsafe fn begin_transform_feedback(primitive_mode: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
end_transform_feedback
Function ยท Source
glEndTransformFeedback, OpenGL 3.0.
pub unsafe fn end_transform_feedback()
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
bind_buffer_range
Function ยท Source
glBindBufferRange, OpenGL 3.0.
pub unsafe fn bind_buffer_range(target: u32, index: u32, buffer: u32, offset: isize, size: isize)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
bind_buffer_base
Function ยท Source
glBindBufferBase, OpenGL 3.0.
pub unsafe fn bind_buffer_base(target: u32, index: u32, buffer: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
transform_feedback_varyings
Function ยท Source
glTransformFeedbackVaryings, OpenGL 3.0.
pub unsafe fn transform_feedback_varyings(program: u32, count: i32, varyings: *const *const u8, buffer_mode: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_transform_feedback_varying
Function ยท Source
glGetTransformFeedbackVarying, OpenGL 3.0.
pub unsafe fn get_transform_feedback_varying(program: u32, index: u32, buf_size: i32, length: *mut i32, size: *mut i32, type_: *mut u32, name: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
clamp_color
Function ยท Source
glClampColor, OpenGL 3.0.
pub unsafe fn clamp_color(target: u32, clamp: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
begin_conditional_render
Function ยท Source
glBeginConditionalRender, OpenGL 3.0.
pub unsafe fn begin_conditional_render(id: u32, mode: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
end_conditional_render
Function ยท Source
glEndConditionalRender, OpenGL 3.0.
pub unsafe fn end_conditional_render()
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_i_pointer
Function ยท Source
glVertexAttribIPointer, OpenGL 3.0.
pub unsafe fn vertex_attrib_i_pointer(index: u32, size: i32, type_: u32, stride: i32, pointer: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_vertex_attrib_iiv
Function ยท Source
glGetVertexAttribIiv, OpenGL 3.0.
pub unsafe fn get_vertex_attrib_iiv(index: u32, pname: u32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_vertex_attrib_iuiv
Function ยท Source
glGetVertexAttribIuiv, OpenGL 3.0.
pub unsafe fn get_vertex_attrib_iuiv(index: u32, pname: u32, params: *mut u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_i1i
Function ยท Source
glVertexAttribI1i, OpenGL 3.0.
pub unsafe fn vertex_attrib_i1i(index: u32, x: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_i2i
Function ยท Source
glVertexAttribI2i, OpenGL 3.0.
pub unsafe fn vertex_attrib_i2i(index: u32, x: i32, y: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_i3i
Function ยท Source
glVertexAttribI3i, OpenGL 3.0.
pub unsafe fn vertex_attrib_i3i(index: u32, x: i32, y: i32, z: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_i4i
Function ยท Source
glVertexAttribI4i, OpenGL 3.0.
pub unsafe fn vertex_attrib_i4i(index: u32, x: i32, y: i32, z: i32, w: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_i1ui
Function ยท Source
glVertexAttribI1ui, OpenGL 3.0.
pub unsafe fn vertex_attrib_i1ui(index: u32, x: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_i2ui
Function ยท Source
glVertexAttribI2ui, OpenGL 3.0.
pub unsafe fn vertex_attrib_i2ui(index: u32, x: u32, y: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_i3ui
Function ยท Source
glVertexAttribI3ui, OpenGL 3.0.
pub unsafe fn vertex_attrib_i3ui(index: u32, x: u32, y: u32, z: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_i4ui
Function ยท Source
glVertexAttribI4ui, OpenGL 3.0.
pub unsafe fn vertex_attrib_i4ui(index: u32, x: u32, y: u32, z: u32, w: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_i1iv
Function ยท Source
glVertexAttribI1iv, OpenGL 3.0.
pub unsafe fn vertex_attrib_i1iv(index: u32, v: *const i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_i2iv
Function ยท Source
glVertexAttribI2iv, OpenGL 3.0.
pub unsafe fn vertex_attrib_i2iv(index: u32, v: *const i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_i3iv
Function ยท Source
glVertexAttribI3iv, OpenGL 3.0.
pub unsafe fn vertex_attrib_i3iv(index: u32, v: *const i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_i4iv
Function ยท Source
glVertexAttribI4iv, OpenGL 3.0.
pub unsafe fn vertex_attrib_i4iv(index: u32, v: *const i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_i1uiv
Function ยท Source
glVertexAttribI1uiv, OpenGL 3.0.
pub unsafe fn vertex_attrib_i1uiv(index: u32, v: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_i2uiv
Function ยท Source
glVertexAttribI2uiv, OpenGL 3.0.
pub unsafe fn vertex_attrib_i2uiv(index: u32, v: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_i3uiv
Function ยท Source
glVertexAttribI3uiv, OpenGL 3.0.
pub unsafe fn vertex_attrib_i3uiv(index: u32, v: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_i4uiv
Function ยท Source
glVertexAttribI4uiv, OpenGL 3.0.
pub unsafe fn vertex_attrib_i4uiv(index: u32, v: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_i4bv
Function ยท Source
glVertexAttribI4bv, OpenGL 3.0.
pub unsafe fn vertex_attrib_i4bv(index: u32, v: *const i8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_i4sv
Function ยท Source
glVertexAttribI4sv, OpenGL 3.0.
pub unsafe fn vertex_attrib_i4sv(index: u32, v: *const i16)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_i4ubv
Function ยท Source
glVertexAttribI4ubv, OpenGL 3.0.
pub unsafe fn vertex_attrib_i4ubv(index: u32, v: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_i4usv
Function ยท Source
glVertexAttribI4usv, OpenGL 3.0.
pub unsafe fn vertex_attrib_i4usv(index: u32, v: *const u16)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_uniformuiv
Function ยท Source
glGetUniformuiv, OpenGL 3.0.
pub unsafe fn get_uniformuiv(program: u32, location: i32, params: *mut u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
bind_frag_data_location
Function ยท Source
glBindFragDataLocation, OpenGL 3.0.
pub unsafe fn bind_frag_data_location(program: u32, color: u32, name: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_frag_data_location
Function ยท Source
glGetFragDataLocation, OpenGL 3.0.
pub unsafe fn get_frag_data_location(program: u32, name: *const u8) -> i32
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_1ui
Function ยท Source
glUniform1ui, OpenGL 3.0.
pub unsafe fn uniform_1ui(location: i32, v_0: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_2ui
Function ยท Source
glUniform2ui, OpenGL 3.0.
pub unsafe fn uniform_2ui(location: i32, v_0: u32, v_1: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_3ui
Function ยท Source
glUniform3ui, OpenGL 3.0.
pub unsafe fn uniform_3ui(location: i32, v_0: u32, v_1: u32, v_2: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_4ui
Function ยท Source
glUniform4ui, OpenGL 3.0.
pub unsafe fn uniform_4ui(location: i32, v_0: u32, v_1: u32, v_2: u32, v_3: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_1uiv
Function ยท Source
glUniform1uiv, OpenGL 3.0.
pub unsafe fn uniform_1uiv(location: i32, count: i32, value: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_2uiv
Function ยท Source
glUniform2uiv, OpenGL 3.0.
pub unsafe fn uniform_2uiv(location: i32, count: i32, value: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_3uiv
Function ยท Source
glUniform3uiv, OpenGL 3.0.
pub unsafe fn uniform_3uiv(location: i32, count: i32, value: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_4uiv
Function ยท Source
glUniform4uiv, OpenGL 3.0.
pub unsafe fn uniform_4uiv(location: i32, count: i32, value: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
tex_parameter_iiv
Function ยท Source
glTexParameterIiv, OpenGL 3.0.
pub unsafe fn tex_parameter_iiv(target: u32, pname: u32, params: *const i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
tex_parameter_iuiv
Function ยท Source
glTexParameterIuiv, OpenGL 3.0.
pub unsafe fn tex_parameter_iuiv(target: u32, pname: u32, params: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_tex_parameter_iiv
Function ยท Source
glGetTexParameterIiv, OpenGL 3.0.
pub unsafe fn get_tex_parameter_iiv(target: u32, pname: u32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_tex_parameter_iuiv
Function ยท Source
glGetTexParameterIuiv, OpenGL 3.0.
pub unsafe fn get_tex_parameter_iuiv(target: u32, pname: u32, params: *mut u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
clear_bufferiv
Function ยท Source
glClearBufferiv, OpenGL 3.0.
pub unsafe fn clear_bufferiv(buffer: u32, drawbuffer: i32, value: *const i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
clear_bufferuiv
Function ยท Source
glClearBufferuiv, OpenGL 3.0.
pub unsafe fn clear_bufferuiv(buffer: u32, drawbuffer: i32, value: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
clear_bufferfv
Function ยท Source
glClearBufferfv, OpenGL 3.0.
pub unsafe fn clear_bufferfv(buffer: u32, drawbuffer: i32, value: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
clear_bufferfi
Function ยท Source
glClearBufferfi, OpenGL 3.0.
pub unsafe fn clear_bufferfi(buffer: u32, drawbuffer: i32, depth: f32, stencil: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_stringi
Function ยท Source
glGetStringi, OpenGL 3.0.
pub unsafe fn get_stringi(name: u32, index: u32) -> *const u8
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
is_renderbuffer
Function ยท Source
glIsRenderbuffer, OpenGL 3.0.
pub unsafe fn is_renderbuffer(renderbuffer: u32) -> u8
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
bind_renderbuffer
Function ยท Source
glBindRenderbuffer, OpenGL 3.0.
pub unsafe fn bind_renderbuffer(target: u32, renderbuffer: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
delete_renderbuffers
Function ยท Source
glDeleteRenderbuffers, OpenGL 3.0.
pub unsafe fn delete_renderbuffers(n: i32, renderbuffers: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
gen_renderbuffers
Function ยท Source
glGenRenderbuffers, OpenGL 3.0.
pub unsafe fn gen_renderbuffers(n: i32, renderbuffers: *mut u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
renderbuffer_storage
Function ยท Source
glRenderbufferStorage, OpenGL 3.0.
pub unsafe fn renderbuffer_storage(target: u32, internalformat: u32, width: i32, height: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_renderbuffer_parameteriv
Function ยท Source
glGetRenderbufferParameteriv, OpenGL 3.0.
pub unsafe fn get_renderbuffer_parameteriv(target: u32, pname: u32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
is_framebuffer
Function ยท Source
glIsFramebuffer, OpenGL 3.0.
pub unsafe fn is_framebuffer(framebuffer: u32) -> u8
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
bind_framebuffer
Function ยท Source
glBindFramebuffer, OpenGL 3.0.
pub unsafe fn bind_framebuffer(target: u32, framebuffer: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
delete_framebuffers
Function ยท Source
glDeleteFramebuffers, OpenGL 3.0.
pub unsafe fn delete_framebuffers(n: i32, framebuffers: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
gen_framebuffers
Function ยท Source
glGenFramebuffers, OpenGL 3.0.
pub unsafe fn gen_framebuffers(n: i32, framebuffers: *mut u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
check_framebuffer_status
Function ยท Source
glCheckFramebufferStatus, OpenGL 3.0.
pub unsafe fn check_framebuffer_status(target: u32) -> u32
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
framebuffer_texture_1d
Function ยท Source
glFramebufferTexture1D, OpenGL 3.0.
pub unsafe fn framebuffer_texture_1d(target: u32, attachment: u32, textarget: u32, texture: u32, level: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
framebuffer_texture_2d
Function ยท Source
glFramebufferTexture2D, OpenGL 3.0.
pub unsafe fn framebuffer_texture_2d(target: u32, attachment: u32, textarget: u32, texture: u32, level: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
framebuffer_texture_3d
Function ยท Source
glFramebufferTexture3D, OpenGL 3.0.
pub unsafe fn framebuffer_texture_3d(target: u32, attachment: u32, textarget: u32, texture: u32, level: i32, zoffset: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
framebuffer_renderbuffer
Function ยท Source
glFramebufferRenderbuffer, OpenGL 3.0.
pub unsafe fn framebuffer_renderbuffer(target: u32, attachment: u32, renderbuffertarget: u32, renderbuffer: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_framebuffer_attachment_parameteriv
Function ยท Source
glGetFramebufferAttachmentParameteriv, OpenGL 3.0.
pub unsafe fn get_framebuffer_attachment_parameteriv(target: u32, attachment: u32, pname: u32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
generate_mipmap
Function ยท Source
glGenerateMipmap, OpenGL 3.0.
pub unsafe fn generate_mipmap(target: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
blit_framebuffer
Function ยท Source
glBlitFramebuffer, OpenGL 3.0.
pub unsafe fn blit_framebuffer(src_x0: i32, src_y0: i32, src_x1: i32, src_y1: i32, dst_x0: i32, dst_y0: i32, dst_x1: i32, dst_y1: i32, mask: u32, filter: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
renderbuffer_storage_multisample
Function ยท Source
glRenderbufferStorageMultisample, OpenGL 3.0.
pub unsafe fn renderbuffer_storage_multisample(target: u32, samples: i32, internalformat: u32, width: i32, height: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
framebuffer_texture_layer
Function ยท Source
glFramebufferTextureLayer, OpenGL 3.0.
pub unsafe fn framebuffer_texture_layer(target: u32, attachment: u32, texture: u32, level: i32, layer: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
map_buffer_range
Function ยท Source
glMapBufferRange, OpenGL 3.0.
pub unsafe fn map_buffer_range(target: u32, offset: isize, length: isize, access: u32) -> *mut u8
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
flush_mapped_buffer_range
Function ยท Source
glFlushMappedBufferRange, OpenGL 3.0.
pub unsafe fn flush_mapped_buffer_range(target: u32, offset: isize, length: isize)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
bind_vertex_array
Function ยท Source
glBindVertexArray, OpenGL 3.0.
pub unsafe fn bind_vertex_array(array: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
delete_vertex_arrays
Function ยท Source
glDeleteVertexArrays, OpenGL 3.0.
pub unsafe fn delete_vertex_arrays(n: i32, arrays: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
gen_vertex_arrays
Function ยท Source
glGenVertexArrays, OpenGL 3.0.
pub unsafe fn gen_vertex_arrays(n: i32, arrays: *mut u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
is_vertex_array
Function ยท Source
glIsVertexArray, OpenGL 3.0.
pub unsafe fn is_vertex_array(array: u32) -> u8
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
draw_arrays_instanced
Function ยท Source
glDrawArraysInstanced, OpenGL 3.1.
pub unsafe fn draw_arrays_instanced(mode: u32, first: i32, count: i32, instancecount: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
draw_elements_instanced
Function ยท Source
glDrawElementsInstanced, OpenGL 3.1.
pub unsafe fn draw_elements_instanced(mode: u32, count: i32, type_: u32, indices: *const u8, instancecount: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
tex_buffer
Function ยท Source
glTexBuffer, OpenGL 3.1.
pub unsafe fn tex_buffer(target: u32, internalformat: u32, buffer: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
primitive_restart_index
Function ยท Source
glPrimitiveRestartIndex, OpenGL 3.1.
pub unsafe fn primitive_restart_index(index: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
copy_buffer_sub_data
Function ยท Source
glCopyBufferSubData, OpenGL 3.1.
pub unsafe fn copy_buffer_sub_data(read_target: u32, write_target: u32, read_offset: isize, write_offset: isize, size: isize)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_uniform_indices
Function ยท Source
glGetUniformIndices, OpenGL 3.1.
pub unsafe fn get_uniform_indices(program: u32, uniform_count: i32, uniform_names: *const *const u8, uniform_indices: *mut u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_active_uniformsiv
Function ยท Source
glGetActiveUniformsiv, OpenGL 3.1.
pub unsafe fn get_active_uniformsiv(program: u32, uniform_count: i32, uniform_indices: *const u32, pname: u32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_active_uniform_name
Function ยท Source
glGetActiveUniformName, OpenGL 3.1.
pub unsafe fn get_active_uniform_name(program: u32, uniform_index: u32, buf_size: i32, length: *mut i32, uniform_name: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_uniform_block_index
Function ยท Source
glGetUniformBlockIndex, OpenGL 3.1.
pub unsafe fn get_uniform_block_index(program: u32, uniform_block_name: *const u8) -> u32
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_active_uniform_blockiv
Function ยท Source
glGetActiveUniformBlockiv, OpenGL 3.1.
pub unsafe fn get_active_uniform_blockiv(program: u32, uniform_block_index: u32, pname: u32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_active_uniform_block_name
Function ยท Source
glGetActiveUniformBlockName, OpenGL 3.1.
pub unsafe fn get_active_uniform_block_name(program: u32, uniform_block_index: u32, buf_size: i32, length: *mut i32, uniform_block_name: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_block_binding
Function ยท Source
glUniformBlockBinding, OpenGL 3.1.
pub unsafe fn uniform_block_binding(program: u32, uniform_block_index: u32, uniform_block_binding: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
draw_elements_base_vertex
Function ยท Source
glDrawElementsBaseVertex, OpenGL 3.2.
pub unsafe fn draw_elements_base_vertex(mode: u32, count: i32, type_: u32, indices: *const u8, basevertex: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
draw_range_elements_base_vertex
Function ยท Source
glDrawRangeElementsBaseVertex, OpenGL 3.2.
pub unsafe fn draw_range_elements_base_vertex(mode: u32, start: u32, end: u32, count: i32, type_: u32, indices: *const u8, basevertex: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
draw_elements_instanced_base_vertex
Function ยท Source
glDrawElementsInstancedBaseVertex, OpenGL 3.2.
pub unsafe fn draw_elements_instanced_base_vertex(mode: u32, count: i32, type_: u32, indices: *const u8, instancecount: i32, basevertex: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
multi_draw_elements_base_vertex
Function ยท Source
glMultiDrawElementsBaseVertex, OpenGL 3.2.
pub unsafe fn multi_draw_elements_base_vertex(mode: u32, count: *const i32, type_: u32, indices: *const *const u8, drawcount: i32, basevertex: *const i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
provoking_vertex
Function ยท Source
glProvokingVertex, OpenGL 3.2.
pub unsafe fn provoking_vertex(mode: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
fence_sync
Function ยท Source
glFenceSync, OpenGL 3.2.
pub unsafe fn fence_sync(condition: u32, flags: u32) -> *mut u8
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
is_sync
Function ยท Source
glIsSync, OpenGL 3.2.
pub unsafe fn is_sync(sync: *mut u8) -> u8
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
delete_sync
Function ยท Source
glDeleteSync, OpenGL 3.2.
pub unsafe fn delete_sync(sync: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
client_wait_sync
Function ยท Source
glClientWaitSync, OpenGL 3.2.
pub unsafe fn client_wait_sync(sync: *mut u8, flags: u32, timeout: u64) -> u32
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
wait_sync
Function ยท Source
glWaitSync, OpenGL 3.2.
pub unsafe fn wait_sync(sync: *mut u8, flags: u32, timeout: u64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_integer_64v
Function ยท Source
glGetInteger64v, OpenGL 3.2.
pub unsafe fn get_integer_64v(pname: u32, data: *mut i64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_synciv
Function ยท Source
glGetSynciv, OpenGL 3.2.
pub unsafe fn get_synciv(sync: *mut u8, pname: u32, count: i32, length: *mut i32, values: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_integer_64i_v
Function ยท Source
glGetInteger64i_v, OpenGL 3.2.
pub unsafe fn get_integer_64i_v(target: u32, index: u32, data: *mut i64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_buffer_parameteri_64v
Function ยท Source
glGetBufferParameteri64v, OpenGL 3.2.
pub unsafe fn get_buffer_parameteri_64v(target: u32, pname: u32, params: *mut i64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
framebuffer_texture
Function ยท Source
glFramebufferTexture, OpenGL 3.2.
pub unsafe fn framebuffer_texture(target: u32, attachment: u32, texture: u32, level: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
tex_image_2d_multisample
Function ยท Source
glTexImage2DMultisample, OpenGL 3.2.
pub unsafe fn tex_image_2d_multisample(target: u32, samples: i32, internalformat: u32, width: i32, height: i32, fixedsamplelocations: u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
tex_image_3d_multisample
Function ยท Source
glTexImage3DMultisample, OpenGL 3.2.
pub unsafe fn tex_image_3d_multisample(target: u32, samples: i32, internalformat: u32, width: i32, height: i32, depth: i32, fixedsamplelocations: u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_multisamplefv
Function ยท Source
glGetMultisamplefv, OpenGL 3.2.
pub unsafe fn get_multisamplefv(pname: u32, index: u32, val: *mut f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
sample_maski
Function ยท Source
glSampleMaski, OpenGL 3.2.
pub unsafe fn sample_maski(mask_number: u32, mask: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
bind_frag_data_location_indexed
Function ยท Source
glBindFragDataLocationIndexed, OpenGL 3.3.
pub unsafe fn bind_frag_data_location_indexed(program: u32, color_number: u32, index: u32, name: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_frag_data_index
Function ยท Source
glGetFragDataIndex, OpenGL 3.3.
pub unsafe fn get_frag_data_index(program: u32, name: *const u8) -> i32
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
gen_samplers
Function ยท Source
glGenSamplers, OpenGL 3.3.
pub unsafe fn gen_samplers(count: i32, samplers: *mut u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
delete_samplers
Function ยท Source
glDeleteSamplers, OpenGL 3.3.
pub unsafe fn delete_samplers(count: i32, samplers: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
is_sampler
Function ยท Source
glIsSampler, OpenGL 3.3.
pub unsafe fn is_sampler(sampler: u32) -> u8
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
bind_sampler
Function ยท Source
glBindSampler, OpenGL 3.3.
pub unsafe fn bind_sampler(unit: u32, sampler: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
sampler_parameteri
Function ยท Source
glSamplerParameteri, OpenGL 3.3.
pub unsafe fn sampler_parameteri(sampler: u32, pname: u32, param: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
sampler_parameteriv
Function ยท Source
glSamplerParameteriv, OpenGL 3.3.
pub unsafe fn sampler_parameteriv(sampler: u32, pname: u32, param: *const i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
sampler_parameterf
Function ยท Source
glSamplerParameterf, OpenGL 3.3.
pub unsafe fn sampler_parameterf(sampler: u32, pname: u32, param: f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
sampler_parameterfv
Function ยท Source
glSamplerParameterfv, OpenGL 3.3.
pub unsafe fn sampler_parameterfv(sampler: u32, pname: u32, param: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
sampler_parameter_iiv
Function ยท Source
glSamplerParameterIiv, OpenGL 3.3.
pub unsafe fn sampler_parameter_iiv(sampler: u32, pname: u32, param: *const i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
sampler_parameter_iuiv
Function ยท Source
glSamplerParameterIuiv, OpenGL 3.3.
pub unsafe fn sampler_parameter_iuiv(sampler: u32, pname: u32, param: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_sampler_parameteriv
Function ยท Source
glGetSamplerParameteriv, OpenGL 3.3.
pub unsafe fn get_sampler_parameteriv(sampler: u32, pname: u32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_sampler_parameter_iiv
Function ยท Source
glGetSamplerParameterIiv, OpenGL 3.3.
pub unsafe fn get_sampler_parameter_iiv(sampler: u32, pname: u32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_sampler_parameterfv
Function ยท Source
glGetSamplerParameterfv, OpenGL 3.3.
pub unsafe fn get_sampler_parameterfv(sampler: u32, pname: u32, params: *mut f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_sampler_parameter_iuiv
Function ยท Source
glGetSamplerParameterIuiv, OpenGL 3.3.
pub unsafe fn get_sampler_parameter_iuiv(sampler: u32, pname: u32, params: *mut u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
query_counter
Function ยท Source
glQueryCounter, OpenGL 3.3.
pub unsafe fn query_counter(id: u32, target: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_query_objecti_64v
Function ยท Source
glGetQueryObjecti64v, OpenGL 3.3.
pub unsafe fn get_query_objecti_64v(id: u32, pname: u32, params: *mut i64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_query_objectui_64v
Function ยท Source
glGetQueryObjectui64v, OpenGL 3.3.
pub unsafe fn get_query_objectui_64v(id: u32, pname: u32, params: *mut u64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_divisor
Function ยท Source
glVertexAttribDivisor, OpenGL 3.3.
pub unsafe fn vertex_attrib_divisor(index: u32, divisor: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_p1ui
Function ยท Source
glVertexAttribP1ui, OpenGL 3.3.
pub unsafe fn vertex_attrib_p1ui(index: u32, type_: u32, normalized: u8, value: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_p1uiv
Function ยท Source
glVertexAttribP1uiv, OpenGL 3.3.
pub unsafe fn vertex_attrib_p1uiv(index: u32, type_: u32, normalized: u8, value: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_p2ui
Function ยท Source
glVertexAttribP2ui, OpenGL 3.3.
pub unsafe fn vertex_attrib_p2ui(index: u32, type_: u32, normalized: u8, value: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_p2uiv
Function ยท Source
glVertexAttribP2uiv, OpenGL 3.3.
pub unsafe fn vertex_attrib_p2uiv(index: u32, type_: u32, normalized: u8, value: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_p3ui
Function ยท Source
glVertexAttribP3ui, OpenGL 3.3.
pub unsafe fn vertex_attrib_p3ui(index: u32, type_: u32, normalized: u8, value: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_p3uiv
Function ยท Source
glVertexAttribP3uiv, OpenGL 3.3.
pub unsafe fn vertex_attrib_p3uiv(index: u32, type_: u32, normalized: u8, value: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_p4ui
Function ยท Source
glVertexAttribP4ui, OpenGL 3.3.
pub unsafe fn vertex_attrib_p4ui(index: u32, type_: u32, normalized: u8, value: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_p4uiv
Function ยท Source
glVertexAttribP4uiv, OpenGL 3.3.
pub unsafe fn vertex_attrib_p4uiv(index: u32, type_: u32, normalized: u8, value: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
min_sample_shading
Function ยท Source
glMinSampleShading, OpenGL 4.0.
pub unsafe fn min_sample_shading(value: f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
blend_equationi
Function ยท Source
glBlendEquationi, OpenGL 4.0.
pub unsafe fn blend_equationi(buf: u32, mode: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
blend_equation_separatei
Function ยท Source
glBlendEquationSeparatei, OpenGL 4.0.
pub unsafe fn blend_equation_separatei(buf: u32, mode_rgb: u32, mode_alpha: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
blend_funci
Function ยท Source
glBlendFunci, OpenGL 4.0.
pub unsafe fn blend_funci(buf: u32, src: u32, dst: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
blend_func_separatei
Function ยท Source
glBlendFuncSeparatei, OpenGL 4.0.
pub unsafe fn blend_func_separatei(buf: u32, src_rgb: u32, dst_rgb: u32, src_alpha: u32, dst_alpha: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
draw_arrays_indirect
Function ยท Source
glDrawArraysIndirect, OpenGL 4.0.
pub unsafe fn draw_arrays_indirect(mode: u32, indirect: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
draw_elements_indirect
Function ยท Source
glDrawElementsIndirect, OpenGL 4.0.
pub unsafe fn draw_elements_indirect(mode: u32, type_: u32, indirect: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_1d
Function ยท Source
glUniform1d, OpenGL 4.0.
pub unsafe fn uniform_1d(location: i32, x: f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_2d
Function ยท Source
glUniform2d, OpenGL 4.0.
pub unsafe fn uniform_2d(location: i32, x: f64, y: f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_3d
Function ยท Source
glUniform3d, OpenGL 4.0.
pub unsafe fn uniform_3d(location: i32, x: f64, y: f64, z: f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_4d
Function ยท Source
glUniform4d, OpenGL 4.0.
pub unsafe fn uniform_4d(location: i32, x: f64, y: f64, z: f64, w: f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_1dv
Function ยท Source
glUniform1dv, OpenGL 4.0.
pub unsafe fn uniform_1dv(location: i32, count: i32, value: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_2dv
Function ยท Source
glUniform2dv, OpenGL 4.0.
pub unsafe fn uniform_2dv(location: i32, count: i32, value: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_3dv
Function ยท Source
glUniform3dv, OpenGL 4.0.
pub unsafe fn uniform_3dv(location: i32, count: i32, value: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_4dv
Function ยท Source
glUniform4dv, OpenGL 4.0.
pub unsafe fn uniform_4dv(location: i32, count: i32, value: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_matrix_2dv
Function ยท Source
glUniformMatrix2dv, OpenGL 4.0.
pub unsafe fn uniform_matrix_2dv(location: i32, count: i32, transpose: u8, value: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_matrix_3dv
Function ยท Source
glUniformMatrix3dv, OpenGL 4.0.
pub unsafe fn uniform_matrix_3dv(location: i32, count: i32, transpose: u8, value: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_matrix_4dv
Function ยท Source
glUniformMatrix4dv, OpenGL 4.0.
pub unsafe fn uniform_matrix_4dv(location: i32, count: i32, transpose: u8, value: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_matrix_2x3dv
Function ยท Source
glUniformMatrix2x3dv, OpenGL 4.0.
pub unsafe fn uniform_matrix_2x3dv(location: i32, count: i32, transpose: u8, value: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_matrix_2x4dv
Function ยท Source
glUniformMatrix2x4dv, OpenGL 4.0.
pub unsafe fn uniform_matrix_2x4dv(location: i32, count: i32, transpose: u8, value: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_matrix_3x2dv
Function ยท Source
glUniformMatrix3x2dv, OpenGL 4.0.
pub unsafe fn uniform_matrix_3x2dv(location: i32, count: i32, transpose: u8, value: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_matrix_3x4dv
Function ยท Source
glUniformMatrix3x4dv, OpenGL 4.0.
pub unsafe fn uniform_matrix_3x4dv(location: i32, count: i32, transpose: u8, value: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_matrix_4x2dv
Function ยท Source
glUniformMatrix4x2dv, OpenGL 4.0.
pub unsafe fn uniform_matrix_4x2dv(location: i32, count: i32, transpose: u8, value: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_matrix_4x3dv
Function ยท Source
glUniformMatrix4x3dv, OpenGL 4.0.
pub unsafe fn uniform_matrix_4x3dv(location: i32, count: i32, transpose: u8, value: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_uniformdv
Function ยท Source
glGetUniformdv, OpenGL 4.0.
pub unsafe fn get_uniformdv(program: u32, location: i32, params: *mut f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_subroutine_uniform_location
Function ยท Source
glGetSubroutineUniformLocation, OpenGL 4.0.
pub unsafe fn get_subroutine_uniform_location(program: u32, shadertype: u32, name: *const u8) -> i32
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_subroutine_index
Function ยท Source
glGetSubroutineIndex, OpenGL 4.0.
pub unsafe fn get_subroutine_index(program: u32, shadertype: u32, name: *const u8) -> u32
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_active_subroutine_uniformiv
Function ยท Source
glGetActiveSubroutineUniformiv, OpenGL 4.0.
pub unsafe fn get_active_subroutine_uniformiv(program: u32, shadertype: u32, index: u32, pname: u32, values: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_active_subroutine_uniform_name
Function ยท Source
glGetActiveSubroutineUniformName, OpenGL 4.0.
pub unsafe fn get_active_subroutine_uniform_name(program: u32, shadertype: u32, index: u32, buf_size: i32, length: *mut i32, name: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_active_subroutine_name
Function ยท Source
glGetActiveSubroutineName, OpenGL 4.0.
pub unsafe fn get_active_subroutine_name(program: u32, shadertype: u32, index: u32, buf_size: i32, length: *mut i32, name: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
uniform_subroutinesuiv
Function ยท Source
glUniformSubroutinesuiv, OpenGL 4.0.
pub unsafe fn uniform_subroutinesuiv(shadertype: u32, count: i32, indices: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_uniform_subroutineuiv
Function ยท Source
glGetUniformSubroutineuiv, OpenGL 4.0.
pub unsafe fn get_uniform_subroutineuiv(shadertype: u32, location: i32, params: *mut u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_program_stageiv
Function ยท Source
glGetProgramStageiv, OpenGL 4.0.
pub unsafe fn get_program_stageiv(program: u32, shadertype: u32, pname: u32, values: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
patch_parameteri
Function ยท Source
glPatchParameteri, OpenGL 4.0.
pub unsafe fn patch_parameteri(pname: u32, value: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
patch_parameterfv
Function ยท Source
glPatchParameterfv, OpenGL 4.0.
pub unsafe fn patch_parameterfv(pname: u32, values: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
bind_transform_feedback
Function ยท Source
glBindTransformFeedback, OpenGL 4.0.
pub unsafe fn bind_transform_feedback(target: u32, id: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
delete_transform_feedbacks
Function ยท Source
glDeleteTransformFeedbacks, OpenGL 4.0.
pub unsafe fn delete_transform_feedbacks(n: i32, ids: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
gen_transform_feedbacks
Function ยท Source
glGenTransformFeedbacks, OpenGL 4.0.
pub unsafe fn gen_transform_feedbacks(n: i32, ids: *mut u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
is_transform_feedback
Function ยท Source
glIsTransformFeedback, OpenGL 4.0.
pub unsafe fn is_transform_feedback(id: u32) -> u8
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
pause_transform_feedback
Function ยท Source
glPauseTransformFeedback, OpenGL 4.0.
pub unsafe fn pause_transform_feedback()
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
resume_transform_feedback
Function ยท Source
glResumeTransformFeedback, OpenGL 4.0.
pub unsafe fn resume_transform_feedback()
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
draw_transform_feedback
Function ยท Source
glDrawTransformFeedback, OpenGL 4.0.
pub unsafe fn draw_transform_feedback(mode: u32, id: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
draw_transform_feedback_stream
Function ยท Source
glDrawTransformFeedbackStream, OpenGL 4.0.
pub unsafe fn draw_transform_feedback_stream(mode: u32, id: u32, stream: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
begin_query_indexed
Function ยท Source
glBeginQueryIndexed, OpenGL 4.0.
pub unsafe fn begin_query_indexed(target: u32, index: u32, id: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
end_query_indexed
Function ยท Source
glEndQueryIndexed, OpenGL 4.0.
pub unsafe fn end_query_indexed(target: u32, index: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_query_indexediv
Function ยท Source
glGetQueryIndexediv, OpenGL 4.0.
pub unsafe fn get_query_indexediv(target: u32, index: u32, pname: u32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
release_shader_compiler
Function ยท Source
glReleaseShaderCompiler, OpenGL 4.1.
pub unsafe fn release_shader_compiler()
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
shader_binary
Function ยท Source
glShaderBinary, OpenGL 4.1.
pub unsafe fn shader_binary(count: i32, shaders: *const u32, binary_format: u32, binary: *const u8, length: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_shader_precision_format
Function ยท Source
glGetShaderPrecisionFormat, OpenGL 4.1.
pub unsafe fn get_shader_precision_format(shadertype: u32, precisiontype: u32, range: *mut i32, precision: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
depth_rangef
Function ยท Source
glDepthRangef, OpenGL 4.1.
pub unsafe fn depth_rangef(n: f32, f: f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
clear_depthf
Function ยท Source
glClearDepthf, OpenGL 4.1.
pub unsafe fn clear_depthf(d: f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_program_binary
Function ยท Source
glGetProgramBinary, OpenGL 4.1.
pub unsafe fn get_program_binary(program: u32, buf_size: i32, length: *mut i32, binary_format: *mut u32, binary: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_binary
Function ยท Source
glProgramBinary, OpenGL 4.1.
pub unsafe fn program_binary(program: u32, binary_format: u32, binary: *const u8, length: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_parameteri
Function ยท Source
glProgramParameteri, OpenGL 4.1.
pub unsafe fn program_parameteri(program: u32, pname: u32, value: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
use_program_stages
Function ยท Source
glUseProgramStages, OpenGL 4.1.
pub unsafe fn use_program_stages(pipeline: u32, stages: u32, program: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
active_shader_program
Function ยท Source
glActiveShaderProgram, OpenGL 4.1.
pub unsafe fn active_shader_program(pipeline: u32, program: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
create_shader_programv
Function ยท Source
glCreateShaderProgramv, OpenGL 4.1.
pub unsafe fn create_shader_programv(type_: u32, count: i32, strings: *const *const u8) -> u32
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
bind_program_pipeline
Function ยท Source
glBindProgramPipeline, OpenGL 4.1.
pub unsafe fn bind_program_pipeline(pipeline: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
delete_program_pipelines
Function ยท Source
glDeleteProgramPipelines, OpenGL 4.1.
pub unsafe fn delete_program_pipelines(n: i32, pipelines: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
gen_program_pipelines
Function ยท Source
glGenProgramPipelines, OpenGL 4.1.
pub unsafe fn gen_program_pipelines(n: i32, pipelines: *mut u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
is_program_pipeline
Function ยท Source
glIsProgramPipeline, OpenGL 4.1.
pub unsafe fn is_program_pipeline(pipeline: u32) -> u8
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_program_pipelineiv
Function ยท Source
glGetProgramPipelineiv, OpenGL 4.1.
pub unsafe fn get_program_pipelineiv(pipeline: u32, pname: u32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_1i
Function ยท Source
glProgramUniform1i, OpenGL 4.1.
pub unsafe fn program_uniform_1i(program: u32, location: i32, v_0: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_1iv
Function ยท Source
glProgramUniform1iv, OpenGL 4.1.
pub unsafe fn program_uniform_1iv(program: u32, location: i32, count: i32, value: *const i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_1f
Function ยท Source
glProgramUniform1f, OpenGL 4.1.
pub unsafe fn program_uniform_1f(program: u32, location: i32, v_0: f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_1fv
Function ยท Source
glProgramUniform1fv, OpenGL 4.1.
pub unsafe fn program_uniform_1fv(program: u32, location: i32, count: i32, value: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_1d
Function ยท Source
glProgramUniform1d, OpenGL 4.1.
pub unsafe fn program_uniform_1d(program: u32, location: i32, v_0: f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_1dv
Function ยท Source
glProgramUniform1dv, OpenGL 4.1.
pub unsafe fn program_uniform_1dv(program: u32, location: i32, count: i32, value: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_1ui
Function ยท Source
glProgramUniform1ui, OpenGL 4.1.
pub unsafe fn program_uniform_1ui(program: u32, location: i32, v_0: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_1uiv
Function ยท Source
glProgramUniform1uiv, OpenGL 4.1.
pub unsafe fn program_uniform_1uiv(program: u32, location: i32, count: i32, value: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_2i
Function ยท Source
glProgramUniform2i, OpenGL 4.1.
pub unsafe fn program_uniform_2i(program: u32, location: i32, v_0: i32, v_1: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_2iv
Function ยท Source
glProgramUniform2iv, OpenGL 4.1.
pub unsafe fn program_uniform_2iv(program: u32, location: i32, count: i32, value: *const i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_2f
Function ยท Source
glProgramUniform2f, OpenGL 4.1.
pub unsafe fn program_uniform_2f(program: u32, location: i32, v_0: f32, v_1: f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_2fv
Function ยท Source
glProgramUniform2fv, OpenGL 4.1.
pub unsafe fn program_uniform_2fv(program: u32, location: i32, count: i32, value: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_2d
Function ยท Source
glProgramUniform2d, OpenGL 4.1.
pub unsafe fn program_uniform_2d(program: u32, location: i32, v_0: f64, v_1: f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_2dv
Function ยท Source
glProgramUniform2dv, OpenGL 4.1.
pub unsafe fn program_uniform_2dv(program: u32, location: i32, count: i32, value: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_2ui
Function ยท Source
glProgramUniform2ui, OpenGL 4.1.
pub unsafe fn program_uniform_2ui(program: u32, location: i32, v_0: u32, v_1: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_2uiv
Function ยท Source
glProgramUniform2uiv, OpenGL 4.1.
pub unsafe fn program_uniform_2uiv(program: u32, location: i32, count: i32, value: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_3i
Function ยท Source
glProgramUniform3i, OpenGL 4.1.
pub unsafe fn program_uniform_3i(program: u32, location: i32, v_0: i32, v_1: i32, v_2: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_3iv
Function ยท Source
glProgramUniform3iv, OpenGL 4.1.
pub unsafe fn program_uniform_3iv(program: u32, location: i32, count: i32, value: *const i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_3f
Function ยท Source
glProgramUniform3f, OpenGL 4.1.
pub unsafe fn program_uniform_3f(program: u32, location: i32, v_0: f32, v_1: f32, v_2: f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_3fv
Function ยท Source
glProgramUniform3fv, OpenGL 4.1.
pub unsafe fn program_uniform_3fv(program: u32, location: i32, count: i32, value: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_3d
Function ยท Source
glProgramUniform3d, OpenGL 4.1.
pub unsafe fn program_uniform_3d(program: u32, location: i32, v_0: f64, v_1: f64, v_2: f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_3dv
Function ยท Source
glProgramUniform3dv, OpenGL 4.1.
pub unsafe fn program_uniform_3dv(program: u32, location: i32, count: i32, value: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_3ui
Function ยท Source
glProgramUniform3ui, OpenGL 4.1.
pub unsafe fn program_uniform_3ui(program: u32, location: i32, v_0: u32, v_1: u32, v_2: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_3uiv
Function ยท Source
glProgramUniform3uiv, OpenGL 4.1.
pub unsafe fn program_uniform_3uiv(program: u32, location: i32, count: i32, value: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_4i
Function ยท Source
glProgramUniform4i, OpenGL 4.1.
pub unsafe fn program_uniform_4i(program: u32, location: i32, v_0: i32, v_1: i32, v_2: i32, v_3: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_4iv
Function ยท Source
glProgramUniform4iv, OpenGL 4.1.
pub unsafe fn program_uniform_4iv(program: u32, location: i32, count: i32, value: *const i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_4f
Function ยท Source
glProgramUniform4f, OpenGL 4.1.
pub unsafe fn program_uniform_4f(program: u32, location: i32, v_0: f32, v_1: f32, v_2: f32, v_3: f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_4fv
Function ยท Source
glProgramUniform4fv, OpenGL 4.1.
pub unsafe fn program_uniform_4fv(program: u32, location: i32, count: i32, value: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_4d
Function ยท Source
glProgramUniform4d, OpenGL 4.1.
pub unsafe fn program_uniform_4d(program: u32, location: i32, v_0: f64, v_1: f64, v_2: f64, v_3: f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_4dv
Function ยท Source
glProgramUniform4dv, OpenGL 4.1.
pub unsafe fn program_uniform_4dv(program: u32, location: i32, count: i32, value: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_4ui
Function ยท Source
glProgramUniform4ui, OpenGL 4.1.
pub unsafe fn program_uniform_4ui(program: u32, location: i32, v_0: u32, v_1: u32, v_2: u32, v_3: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_4uiv
Function ยท Source
glProgramUniform4uiv, OpenGL 4.1.
pub unsafe fn program_uniform_4uiv(program: u32, location: i32, count: i32, value: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_matrix_2fv
Function ยท Source
glProgramUniformMatrix2fv, OpenGL 4.1.
pub unsafe fn program_uniform_matrix_2fv(program: u32, location: i32, count: i32, transpose: u8, value: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_matrix_3fv
Function ยท Source
glProgramUniformMatrix3fv, OpenGL 4.1.
pub unsafe fn program_uniform_matrix_3fv(program: u32, location: i32, count: i32, transpose: u8, value: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_matrix_4fv
Function ยท Source
glProgramUniformMatrix4fv, OpenGL 4.1.
pub unsafe fn program_uniform_matrix_4fv(program: u32, location: i32, count: i32, transpose: u8, value: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_matrix_2dv
Function ยท Source
glProgramUniformMatrix2dv, OpenGL 4.1.
pub unsafe fn program_uniform_matrix_2dv(program: u32, location: i32, count: i32, transpose: u8, value: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_matrix_3dv
Function ยท Source
glProgramUniformMatrix3dv, OpenGL 4.1.
pub unsafe fn program_uniform_matrix_3dv(program: u32, location: i32, count: i32, transpose: u8, value: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_matrix_4dv
Function ยท Source
glProgramUniformMatrix4dv, OpenGL 4.1.
pub unsafe fn program_uniform_matrix_4dv(program: u32, location: i32, count: i32, transpose: u8, value: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_matrix_2x3fv
Function ยท Source
glProgramUniformMatrix2x3fv, OpenGL 4.1.
pub unsafe fn program_uniform_matrix_2x3fv(program: u32, location: i32, count: i32, transpose: u8, value: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_matrix_3x2fv
Function ยท Source
glProgramUniformMatrix3x2fv, OpenGL 4.1.
pub unsafe fn program_uniform_matrix_3x2fv(program: u32, location: i32, count: i32, transpose: u8, value: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_matrix_2x4fv
Function ยท Source
glProgramUniformMatrix2x4fv, OpenGL 4.1.
pub unsafe fn program_uniform_matrix_2x4fv(program: u32, location: i32, count: i32, transpose: u8, value: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_matrix_4x2fv
Function ยท Source
glProgramUniformMatrix4x2fv, OpenGL 4.1.
pub unsafe fn program_uniform_matrix_4x2fv(program: u32, location: i32, count: i32, transpose: u8, value: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_matrix_3x4fv
Function ยท Source
glProgramUniformMatrix3x4fv, OpenGL 4.1.
pub unsafe fn program_uniform_matrix_3x4fv(program: u32, location: i32, count: i32, transpose: u8, value: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_matrix_4x3fv
Function ยท Source
glProgramUniformMatrix4x3fv, OpenGL 4.1.
pub unsafe fn program_uniform_matrix_4x3fv(program: u32, location: i32, count: i32, transpose: u8, value: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_matrix_2x3dv
Function ยท Source
glProgramUniformMatrix2x3dv, OpenGL 4.1.
pub unsafe fn program_uniform_matrix_2x3dv(program: u32, location: i32, count: i32, transpose: u8, value: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_matrix_3x2dv
Function ยท Source
glProgramUniformMatrix3x2dv, OpenGL 4.1.
pub unsafe fn program_uniform_matrix_3x2dv(program: u32, location: i32, count: i32, transpose: u8, value: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_matrix_2x4dv
Function ยท Source
glProgramUniformMatrix2x4dv, OpenGL 4.1.
pub unsafe fn program_uniform_matrix_2x4dv(program: u32, location: i32, count: i32, transpose: u8, value: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_matrix_4x2dv
Function ยท Source
glProgramUniformMatrix4x2dv, OpenGL 4.1.
pub unsafe fn program_uniform_matrix_4x2dv(program: u32, location: i32, count: i32, transpose: u8, value: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_matrix_3x4dv
Function ยท Source
glProgramUniformMatrix3x4dv, OpenGL 4.1.
pub unsafe fn program_uniform_matrix_3x4dv(program: u32, location: i32, count: i32, transpose: u8, value: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
program_uniform_matrix_4x3dv
Function ยท Source
glProgramUniformMatrix4x3dv, OpenGL 4.1.
pub unsafe fn program_uniform_matrix_4x3dv(program: u32, location: i32, count: i32, transpose: u8, value: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
validate_program_pipeline
Function ยท Source
glValidateProgramPipeline, OpenGL 4.1.
pub unsafe fn validate_program_pipeline(pipeline: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_program_pipeline_info_log
Function ยท Source
glGetProgramPipelineInfoLog, OpenGL 4.1.
pub unsafe fn get_program_pipeline_info_log(pipeline: u32, buf_size: i32, length: *mut i32, info_log: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_l1d
Function ยท Source
glVertexAttribL1d, OpenGL 4.1.
pub unsafe fn vertex_attrib_l1d(index: u32, x: f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_l2d
Function ยท Source
glVertexAttribL2d, OpenGL 4.1.
pub unsafe fn vertex_attrib_l2d(index: u32, x: f64, y: f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_l3d
Function ยท Source
glVertexAttribL3d, OpenGL 4.1.
pub unsafe fn vertex_attrib_l3d(index: u32, x: f64, y: f64, z: f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_l4d
Function ยท Source
glVertexAttribL4d, OpenGL 4.1.
pub unsafe fn vertex_attrib_l4d(index: u32, x: f64, y: f64, z: f64, w: f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_l1dv
Function ยท Source
glVertexAttribL1dv, OpenGL 4.1.
pub unsafe fn vertex_attrib_l1dv(index: u32, v: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_l2dv
Function ยท Source
glVertexAttribL2dv, OpenGL 4.1.
pub unsafe fn vertex_attrib_l2dv(index: u32, v: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_l3dv
Function ยท Source
glVertexAttribL3dv, OpenGL 4.1.
pub unsafe fn vertex_attrib_l3dv(index: u32, v: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_l4dv
Function ยท Source
glVertexAttribL4dv, OpenGL 4.1.
pub unsafe fn vertex_attrib_l4dv(index: u32, v: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_l_pointer
Function ยท Source
glVertexAttribLPointer, OpenGL 4.1.
pub unsafe fn vertex_attrib_l_pointer(index: u32, size: i32, type_: u32, stride: i32, pointer: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_vertex_attrib_ldv
Function ยท Source
glGetVertexAttribLdv, OpenGL 4.1.
pub unsafe fn get_vertex_attrib_ldv(index: u32, pname: u32, params: *mut f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
viewport_arrayv
Function ยท Source
glViewportArrayv, OpenGL 4.1.
pub unsafe fn viewport_arrayv(first: u32, count: i32, v: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
viewport_indexedf
Function ยท Source
glViewportIndexedf, OpenGL 4.1.
pub unsafe fn viewport_indexedf(index: u32, x: f32, y: f32, w: f32, h: f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
viewport_indexedfv
Function ยท Source
glViewportIndexedfv, OpenGL 4.1.
pub unsafe fn viewport_indexedfv(index: u32, v: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
scissor_arrayv
Function ยท Source
glScissorArrayv, OpenGL 4.1.
pub unsafe fn scissor_arrayv(first: u32, count: i32, v: *const i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
scissor_indexed
Function ยท Source
glScissorIndexed, OpenGL 4.1.
pub unsafe fn scissor_indexed(index: u32, left: i32, bottom: i32, width: i32, height: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
scissor_indexedv
Function ยท Source
glScissorIndexedv, OpenGL 4.1.
pub unsafe fn scissor_indexedv(index: u32, v: *const i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
depth_range_arrayv
Function ยท Source
glDepthRangeArrayv, OpenGL 4.1.
pub unsafe fn depth_range_arrayv(first: u32, count: i32, v: *const f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
depth_range_indexed
Function ยท Source
glDepthRangeIndexed, OpenGL 4.1.
pub unsafe fn depth_range_indexed(index: u32, n: f64, f: f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_floati_v
Function ยท Source
glGetFloati_v, OpenGL 4.1.
pub unsafe fn get_floati_v(target: u32, index: u32, data: *mut f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_doublei_v
Function ยท Source
glGetDoublei_v, OpenGL 4.1.
pub unsafe fn get_doublei_v(target: u32, index: u32, data: *mut f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
draw_arrays_instanced_base_instance
Function ยท Source
glDrawArraysInstancedBaseInstance, OpenGL 4.2.
pub unsafe fn draw_arrays_instanced_base_instance(mode: u32, first: i32, count: i32, instancecount: i32, baseinstance: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
draw_elements_instanced_base_instance
Function ยท Source
glDrawElementsInstancedBaseInstance, OpenGL 4.2.
pub unsafe fn draw_elements_instanced_base_instance(mode: u32, count: i32, type_: u32, indices: *const u8, instancecount: i32, baseinstance: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
draw_elements_instanced_base_vertex_base_instance
Function ยท Source
glDrawElementsInstancedBaseVertexBaseInstance, OpenGL 4.2.
pub unsafe fn draw_elements_instanced_base_vertex_base_instance(mode: u32, count: i32, type_: u32, indices: *const u8, instancecount: i32, basevertex: i32, baseinstance: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_internalformativ
Function ยท Source
glGetInternalformativ, OpenGL 4.2.
pub unsafe fn get_internalformativ(target: u32, internalformat: u32, pname: u32, count: i32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_active_atomic_counter_bufferiv
Function ยท Source
glGetActiveAtomicCounterBufferiv, OpenGL 4.2.
pub unsafe fn get_active_atomic_counter_bufferiv(program: u32, buffer_index: u32, pname: u32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
bind_image_texture
Function ยท Source
glBindImageTexture, OpenGL 4.2.
pub unsafe fn bind_image_texture(unit: u32, texture: u32, level: i32, layered: u8, layer: i32, access: u32, format: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
memory_barrier
Function ยท Source
glMemoryBarrier, OpenGL 4.2.
pub unsafe fn memory_barrier(barriers: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
tex_storage_1d
Function ยท Source
glTexStorage1D, OpenGL 4.2.
pub unsafe fn tex_storage_1d(target: u32, levels: i32, internalformat: u32, width: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
tex_storage_2d
Function ยท Source
glTexStorage2D, OpenGL 4.2.
pub unsafe fn tex_storage_2d(target: u32, levels: i32, internalformat: u32, width: i32, height: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
tex_storage_3d
Function ยท Source
glTexStorage3D, OpenGL 4.2.
pub unsafe fn tex_storage_3d(target: u32, levels: i32, internalformat: u32, width: i32, height: i32, depth: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
draw_transform_feedback_instanced
Function ยท Source
glDrawTransformFeedbackInstanced, OpenGL 4.2.
pub unsafe fn draw_transform_feedback_instanced(mode: u32, id: u32, instancecount: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
draw_transform_feedback_stream_instanced
Function ยท Source
glDrawTransformFeedbackStreamInstanced, OpenGL 4.2.
pub unsafe fn draw_transform_feedback_stream_instanced(mode: u32, id: u32, stream: u32, instancecount: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
clear_buffer_data
Function ยท Source
glClearBufferData, OpenGL 4.3.
pub unsafe fn clear_buffer_data(target: u32, internalformat: u32, format: u32, type_: u32, data: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
clear_buffer_sub_data
Function ยท Source
glClearBufferSubData, OpenGL 4.3.
pub unsafe fn clear_buffer_sub_data(target: u32, internalformat: u32, offset: isize, size: isize, format: u32, type_: u32, data: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
dispatch_compute
Function ยท Source
glDispatchCompute, OpenGL 4.3.
pub unsafe fn dispatch_compute(num_groups_x: u32, num_groups_y: u32, num_groups_z: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
dispatch_compute_indirect
Function ยท Source
glDispatchComputeIndirect, OpenGL 4.3.
pub unsafe fn dispatch_compute_indirect(indirect: isize)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
copy_image_sub_data
Function ยท Source
glCopyImageSubData, OpenGL 4.3.
pub unsafe fn copy_image_sub_data(src_name: u32, src_target: u32, src_level: i32, src_x: i32, src_y: i32, src_z: i32, dst_name: u32, dst_target: u32, dst_level: i32, dst_x: i32, dst_y: i32, dst_z: i32, src_width: i32, src_height: i32, src_depth: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
framebuffer_parameteri
Function ยท Source
glFramebufferParameteri, OpenGL 4.3.
pub unsafe fn framebuffer_parameteri(target: u32, pname: u32, param: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_framebuffer_parameteriv
Function ยท Source
glGetFramebufferParameteriv, OpenGL 4.3.
pub unsafe fn get_framebuffer_parameteriv(target: u32, pname: u32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_internalformati_64v
Function ยท Source
glGetInternalformati64v, OpenGL 4.3.
pub unsafe fn get_internalformati_64v(target: u32, internalformat: u32, pname: u32, count: i32, params: *mut i64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
invalidate_tex_sub_image
Function ยท Source
glInvalidateTexSubImage, OpenGL 4.3.
pub unsafe fn invalidate_tex_sub_image(texture: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
invalidate_tex_image
Function ยท Source
glInvalidateTexImage, OpenGL 4.3.
pub unsafe fn invalidate_tex_image(texture: u32, level: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
invalidate_buffer_sub_data
Function ยท Source
glInvalidateBufferSubData, OpenGL 4.3.
pub unsafe fn invalidate_buffer_sub_data(buffer: u32, offset: isize, length: isize)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
invalidate_buffer_data
Function ยท Source
glInvalidateBufferData, OpenGL 4.3.
pub unsafe fn invalidate_buffer_data(buffer: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
invalidate_framebuffer
Function ยท Source
glInvalidateFramebuffer, OpenGL 4.3.
pub unsafe fn invalidate_framebuffer(target: u32, num_attachments: i32, attachments: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
invalidate_sub_framebuffer
Function ยท Source
glInvalidateSubFramebuffer, OpenGL 4.3.
pub unsafe fn invalidate_sub_framebuffer(target: u32, num_attachments: i32, attachments: *const u32, x: i32, y: i32, width: i32, height: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
multi_draw_arrays_indirect
Function ยท Source
glMultiDrawArraysIndirect, OpenGL 4.3.
pub unsafe fn multi_draw_arrays_indirect(mode: u32, indirect: *const u8, drawcount: i32, stride: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
multi_draw_elements_indirect
Function ยท Source
glMultiDrawElementsIndirect, OpenGL 4.3.
pub unsafe fn multi_draw_elements_indirect(mode: u32, type_: u32, indirect: *const u8, drawcount: i32, stride: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_program_interfaceiv
Function ยท Source
glGetProgramInterfaceiv, OpenGL 4.3.
pub unsafe fn get_program_interfaceiv(program: u32, program_interface: u32, pname: u32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_program_resource_index
Function ยท Source
glGetProgramResourceIndex, OpenGL 4.3.
pub unsafe fn get_program_resource_index(program: u32, program_interface: u32, name: *const u8) -> u32
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_program_resource_name
Function ยท Source
glGetProgramResourceName, OpenGL 4.3.
pub unsafe fn get_program_resource_name(program: u32, program_interface: u32, index: u32, buf_size: i32, length: *mut i32, name: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_program_resourceiv
Function ยท Source
glGetProgramResourceiv, OpenGL 4.3.
pub unsafe fn get_program_resourceiv(program: u32, program_interface: u32, index: u32, prop_count: i32, props: *const u32, count: i32, length: *mut i32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_program_resource_location
Function ยท Source
glGetProgramResourceLocation, OpenGL 4.3.
pub unsafe fn get_program_resource_location(program: u32, program_interface: u32, name: *const u8) -> i32
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_program_resource_location_index
Function ยท Source
glGetProgramResourceLocationIndex, OpenGL 4.3.
pub unsafe fn get_program_resource_location_index(program: u32, program_interface: u32, name: *const u8) -> i32
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
shader_storage_block_binding
Function ยท Source
glShaderStorageBlockBinding, OpenGL 4.3.
pub unsafe fn shader_storage_block_binding(program: u32, storage_block_index: u32, storage_block_binding: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
tex_buffer_range
Function ยท Source
glTexBufferRange, OpenGL 4.3.
pub unsafe fn tex_buffer_range(target: u32, internalformat: u32, buffer: u32, offset: isize, size: isize)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
tex_storage_2d_multisample
Function ยท Source
glTexStorage2DMultisample, OpenGL 4.3.
pub unsafe fn tex_storage_2d_multisample(target: u32, samples: i32, internalformat: u32, width: i32, height: i32, fixedsamplelocations: u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
tex_storage_3d_multisample
Function ยท Source
glTexStorage3DMultisample, OpenGL 4.3.
pub unsafe fn tex_storage_3d_multisample(target: u32, samples: i32, internalformat: u32, width: i32, height: i32, depth: i32, fixedsamplelocations: u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
texture_view
Function ยท Source
glTextureView, OpenGL 4.3.
pub unsafe fn texture_view(texture: u32, target: u32, origtexture: u32, internalformat: u32, minlevel: u32, numlevels: u32, minlayer: u32, numlayers: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
bind_vertex_buffer
Function ยท Source
glBindVertexBuffer, OpenGL 4.3.
pub unsafe fn bind_vertex_buffer(bindingindex: u32, buffer: u32, offset: isize, stride: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_format
Function ยท Source
glVertexAttribFormat, OpenGL 4.3.
pub unsafe fn vertex_attrib_format(attribindex: u32, size: i32, type_: u32, normalized: u8, relativeoffset: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_i_format
Function ยท Source
glVertexAttribIFormat, OpenGL 4.3.
pub unsafe fn vertex_attrib_i_format(attribindex: u32, size: i32, type_: u32, relativeoffset: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_l_format
Function ยท Source
glVertexAttribLFormat, OpenGL 4.3.
pub unsafe fn vertex_attrib_l_format(attribindex: u32, size: i32, type_: u32, relativeoffset: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_attrib_binding
Function ยท Source
glVertexAttribBinding, OpenGL 4.3.
pub unsafe fn vertex_attrib_binding(attribindex: u32, bindingindex: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_binding_divisor
Function ยท Source
glVertexBindingDivisor, OpenGL 4.3.
pub unsafe fn vertex_binding_divisor(bindingindex: u32, divisor: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
debug_message_control
Function ยท Source
glDebugMessageControl, OpenGL 4.3.
pub unsafe fn debug_message_control(source: u32, type_: u32, severity: u32, count: i32, ids: *const u32, enabled: u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
debug_message_insert
Function ยท Source
glDebugMessageInsert, OpenGL 4.3.
pub unsafe fn debug_message_insert(source: u32, type_: u32, id: u32, severity: u32, length: i32, buf: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
debug_message_callback
Function ยท Source
glDebugMessageCallback, OpenGL 4.3.
pub unsafe fn debug_message_callback(callback: extern "C" fn(u32, u32, u32, u32, i32, *const u8, *const u8), user_param: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_debug_message_log
Function ยท Source
glGetDebugMessageLog, OpenGL 4.3.
pub unsafe fn get_debug_message_log(count: u32, buf_size: i32, sources: *mut u32, types: *mut u32, ids: *mut u32, severities: *mut u32, lengths: *mut i32, message_log: *mut u8) -> u32
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
push_debug_group
Function ยท Source
glPushDebugGroup, OpenGL 4.3.
pub unsafe fn push_debug_group(source: u32, id: u32, length: i32, message: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
pop_debug_group
Function ยท Source
glPopDebugGroup, OpenGL 4.3.
pub unsafe fn pop_debug_group()
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
object_label
Function ยท Source
glObjectLabel, OpenGL 4.3.
pub unsafe fn object_label(identifier: u32, name: u32, length: i32, label: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_object_label
Function ยท Source
glGetObjectLabel, OpenGL 4.3.
pub unsafe fn get_object_label(identifier: u32, name: u32, buf_size: i32, length: *mut i32, label: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
object_ptr_label
Function ยท Source
glObjectPtrLabel, OpenGL 4.3.
pub unsafe fn object_ptr_label(ptr: *const u8, length: i32, label: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_object_ptr_label
Function ยท Source
glGetObjectPtrLabel, OpenGL 4.3.
pub unsafe fn get_object_ptr_label(ptr: *const u8, buf_size: i32, length: *mut i32, label: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
buffer_storage
Function ยท Source
glBufferStorage, OpenGL 4.4.
pub unsafe fn buffer_storage(target: u32, size: isize, data: *const u8, flags: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
clear_tex_image
Function ยท Source
glClearTexImage, OpenGL 4.4.
pub unsafe fn clear_tex_image(texture: u32, level: i32, format: u32, type_: u32, data: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
clear_tex_sub_image
Function ยท Source
glClearTexSubImage, OpenGL 4.4.
pub unsafe fn clear_tex_sub_image(texture: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, data: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
bind_buffers_base
Function ยท Source
glBindBuffersBase, OpenGL 4.4.
pub unsafe fn bind_buffers_base(target: u32, first: u32, count: i32, buffers: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
bind_buffers_range
Function ยท Source
glBindBuffersRange, OpenGL 4.4.
pub unsafe fn bind_buffers_range(target: u32, first: u32, count: i32, buffers: *const u32, offsets: *const isize, sizes: *const isize)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
bind_textures
Function ยท Source
glBindTextures, OpenGL 4.4.
pub unsafe fn bind_textures(first: u32, count: i32, textures: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
bind_samplers
Function ยท Source
glBindSamplers, OpenGL 4.4.
pub unsafe fn bind_samplers(first: u32, count: i32, samplers: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
bind_image_textures
Function ยท Source
glBindImageTextures, OpenGL 4.4.
pub unsafe fn bind_image_textures(first: u32, count: i32, textures: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
bind_vertex_buffers
Function ยท Source
glBindVertexBuffers, OpenGL 4.4.
pub unsafe fn bind_vertex_buffers(first: u32, count: i32, buffers: *const u32, offsets: *const isize, strides: *const i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
clip_control
Function ยท Source
glClipControl, OpenGL 4.5.
pub unsafe fn clip_control(origin: u32, depth: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
create_transform_feedbacks
Function ยท Source
glCreateTransformFeedbacks, OpenGL 4.5.
pub unsafe fn create_transform_feedbacks(n: i32, ids: *mut u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
transform_feedback_buffer_base
Function ยท Source
glTransformFeedbackBufferBase, OpenGL 4.5.
pub unsafe fn transform_feedback_buffer_base(xfb: u32, index: u32, buffer: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
transform_feedback_buffer_range
Function ยท Source
glTransformFeedbackBufferRange, OpenGL 4.5.
pub unsafe fn transform_feedback_buffer_range(xfb: u32, index: u32, buffer: u32, offset: isize, size: isize)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_transform_feedbackiv
Function ยท Source
glGetTransformFeedbackiv, OpenGL 4.5.
pub unsafe fn get_transform_feedbackiv(xfb: u32, pname: u32, param: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_transform_feedbacki_v
Function ยท Source
glGetTransformFeedbacki_v, OpenGL 4.5.
pub unsafe fn get_transform_feedbacki_v(xfb: u32, pname: u32, index: u32, param: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_transform_feedbacki_64_v
Function ยท Source
glGetTransformFeedbacki64_v, OpenGL 4.5.
pub unsafe fn get_transform_feedbacki_64_v(xfb: u32, pname: u32, index: u32, param: *mut i64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
create_buffers
Function ยท Source
glCreateBuffers, OpenGL 4.5.
pub unsafe fn create_buffers(n: i32, buffers: *mut u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
named_buffer_storage
Function ยท Source
glNamedBufferStorage, OpenGL 4.5.
pub unsafe fn named_buffer_storage(buffer: u32, size: isize, data: *const u8, flags: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
named_buffer_data
Function ยท Source
glNamedBufferData, OpenGL 4.5.
pub unsafe fn named_buffer_data(buffer: u32, size: isize, data: *const u8, usage: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
named_buffer_sub_data
Function ยท Source
glNamedBufferSubData, OpenGL 4.5.
pub unsafe fn named_buffer_sub_data(buffer: u32, offset: isize, size: isize, data: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
copy_named_buffer_sub_data
Function ยท Source
glCopyNamedBufferSubData, OpenGL 4.5.
pub unsafe fn copy_named_buffer_sub_data(read_buffer: u32, write_buffer: u32, read_offset: isize, write_offset: isize, size: isize)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
clear_named_buffer_data
Function ยท Source
glClearNamedBufferData, OpenGL 4.5.
pub unsafe fn clear_named_buffer_data(buffer: u32, internalformat: u32, format: u32, type_: u32, data: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
clear_named_buffer_sub_data
Function ยท Source
glClearNamedBufferSubData, OpenGL 4.5.
pub unsafe fn clear_named_buffer_sub_data(buffer: u32, internalformat: u32, offset: isize, size: isize, format: u32, type_: u32, data: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
map_named_buffer
Function ยท Source
glMapNamedBuffer, OpenGL 4.5.
pub unsafe fn map_named_buffer(buffer: u32, access: u32) -> *mut u8
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
map_named_buffer_range
Function ยท Source
glMapNamedBufferRange, OpenGL 4.5.
pub unsafe fn map_named_buffer_range(buffer: u32, offset: isize, length: isize, access: u32) -> *mut u8
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
unmap_named_buffer
Function ยท Source
glUnmapNamedBuffer, OpenGL 4.5.
pub unsafe fn unmap_named_buffer(buffer: u32) -> u8
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
flush_mapped_named_buffer_range
Function ยท Source
glFlushMappedNamedBufferRange, OpenGL 4.5.
pub unsafe fn flush_mapped_named_buffer_range(buffer: u32, offset: isize, length: isize)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_named_buffer_parameteriv
Function ยท Source
glGetNamedBufferParameteriv, OpenGL 4.5.
pub unsafe fn get_named_buffer_parameteriv(buffer: u32, pname: u32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_named_buffer_parameteri_64v
Function ยท Source
glGetNamedBufferParameteri64v, OpenGL 4.5.
pub unsafe fn get_named_buffer_parameteri_64v(buffer: u32, pname: u32, params: *mut i64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_named_buffer_pointerv
Function ยท Source
glGetNamedBufferPointerv, OpenGL 4.5.
pub unsafe fn get_named_buffer_pointerv(buffer: u32, pname: u32, params: *mut *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_named_buffer_sub_data
Function ยท Source
glGetNamedBufferSubData, OpenGL 4.5.
pub unsafe fn get_named_buffer_sub_data(buffer: u32, offset: isize, size: isize, data: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
create_framebuffers
Function ยท Source
glCreateFramebuffers, OpenGL 4.5.
pub unsafe fn create_framebuffers(n: i32, framebuffers: *mut u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
named_framebuffer_renderbuffer
Function ยท Source
glNamedFramebufferRenderbuffer, OpenGL 4.5.
pub unsafe fn named_framebuffer_renderbuffer(framebuffer: u32, attachment: u32, renderbuffertarget: u32, renderbuffer: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
named_framebuffer_parameteri
Function ยท Source
glNamedFramebufferParameteri, OpenGL 4.5.
pub unsafe fn named_framebuffer_parameteri(framebuffer: u32, pname: u32, param: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
named_framebuffer_texture
Function ยท Source
glNamedFramebufferTexture, OpenGL 4.5.
pub unsafe fn named_framebuffer_texture(framebuffer: u32, attachment: u32, texture: u32, level: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
named_framebuffer_texture_layer
Function ยท Source
glNamedFramebufferTextureLayer, OpenGL 4.5.
pub unsafe fn named_framebuffer_texture_layer(framebuffer: u32, attachment: u32, texture: u32, level: i32, layer: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
named_framebuffer_draw_buffer
Function ยท Source
glNamedFramebufferDrawBuffer, OpenGL 4.5.
pub unsafe fn named_framebuffer_draw_buffer(framebuffer: u32, buf: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
named_framebuffer_draw_buffers
Function ยท Source
glNamedFramebufferDrawBuffers, OpenGL 4.5.
pub unsafe fn named_framebuffer_draw_buffers(framebuffer: u32, n: i32, bufs: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
named_framebuffer_read_buffer
Function ยท Source
glNamedFramebufferReadBuffer, OpenGL 4.5.
pub unsafe fn named_framebuffer_read_buffer(framebuffer: u32, src: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
invalidate_named_framebuffer_data
Function ยท Source
glInvalidateNamedFramebufferData, OpenGL 4.5.
pub unsafe fn invalidate_named_framebuffer_data(framebuffer: u32, num_attachments: i32, attachments: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
invalidate_named_framebuffer_sub_data
Function ยท Source
glInvalidateNamedFramebufferSubData, OpenGL 4.5.
pub unsafe fn invalidate_named_framebuffer_sub_data(framebuffer: u32, num_attachments: i32, attachments: *const u32, x: i32, y: i32, width: i32, height: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
clear_named_framebufferiv
Function ยท Source
glClearNamedFramebufferiv, OpenGL 4.5.
pub unsafe fn clear_named_framebufferiv(framebuffer: u32, buffer: u32, drawbuffer: i32, value: *const i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
clear_named_framebufferuiv
Function ยท Source
glClearNamedFramebufferuiv, OpenGL 4.5.
pub unsafe fn clear_named_framebufferuiv(framebuffer: u32, buffer: u32, drawbuffer: i32, value: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
clear_named_framebufferfv
Function ยท Source
glClearNamedFramebufferfv, OpenGL 4.5.
pub unsafe fn clear_named_framebufferfv(framebuffer: u32, buffer: u32, drawbuffer: i32, value: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
clear_named_framebufferfi
Function ยท Source
glClearNamedFramebufferfi, OpenGL 4.5.
pub unsafe fn clear_named_framebufferfi(framebuffer: u32, buffer: u32, drawbuffer: i32, depth: f32, stencil: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
blit_named_framebuffer
Function ยท Source
glBlitNamedFramebuffer, OpenGL 4.5.
pub unsafe fn blit_named_framebuffer(read_framebuffer: u32, draw_framebuffer: u32, src_x0: i32, src_y0: i32, src_x1: i32, src_y1: i32, dst_x0: i32, dst_y0: i32, dst_x1: i32, dst_y1: i32, mask: u32, filter: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
check_named_framebuffer_status
Function ยท Source
glCheckNamedFramebufferStatus, OpenGL 4.5.
pub unsafe fn check_named_framebuffer_status(framebuffer: u32, target: u32) -> u32
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_named_framebuffer_parameteriv
Function ยท Source
glGetNamedFramebufferParameteriv, OpenGL 4.5.
pub unsafe fn get_named_framebuffer_parameteriv(framebuffer: u32, pname: u32, param: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_named_framebuffer_attachment_parameteriv
Function ยท Source
glGetNamedFramebufferAttachmentParameteriv, OpenGL 4.5.
pub unsafe fn get_named_framebuffer_attachment_parameteriv(framebuffer: u32, attachment: u32, pname: u32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
create_renderbuffers
Function ยท Source
glCreateRenderbuffers, OpenGL 4.5.
pub unsafe fn create_renderbuffers(n: i32, renderbuffers: *mut u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
named_renderbuffer_storage
Function ยท Source
glNamedRenderbufferStorage, OpenGL 4.5.
pub unsafe fn named_renderbuffer_storage(renderbuffer: u32, internalformat: u32, width: i32, height: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
named_renderbuffer_storage_multisample
Function ยท Source
glNamedRenderbufferStorageMultisample, OpenGL 4.5.
pub unsafe fn named_renderbuffer_storage_multisample(renderbuffer: u32, samples: i32, internalformat: u32, width: i32, height: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_named_renderbuffer_parameteriv
Function ยท Source
glGetNamedRenderbufferParameteriv, OpenGL 4.5.
pub unsafe fn get_named_renderbuffer_parameteriv(renderbuffer: u32, pname: u32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
create_textures
Function ยท Source
glCreateTextures, OpenGL 4.5.
pub unsafe fn create_textures(target: u32, n: i32, textures: *mut u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
texture_buffer
Function ยท Source
glTextureBuffer, OpenGL 4.5.
pub unsafe fn texture_buffer(texture: u32, internalformat: u32, buffer: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
texture_buffer_range
Function ยท Source
glTextureBufferRange, OpenGL 4.5.
pub unsafe fn texture_buffer_range(texture: u32, internalformat: u32, buffer: u32, offset: isize, size: isize)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
texture_storage_1d
Function ยท Source
glTextureStorage1D, OpenGL 4.5.
pub unsafe fn texture_storage_1d(texture: u32, levels: i32, internalformat: u32, width: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
texture_storage_2d
Function ยท Source
glTextureStorage2D, OpenGL 4.5.
pub unsafe fn texture_storage_2d(texture: u32, levels: i32, internalformat: u32, width: i32, height: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
texture_storage_3d
Function ยท Source
glTextureStorage3D, OpenGL 4.5.
pub unsafe fn texture_storage_3d(texture: u32, levels: i32, internalformat: u32, width: i32, height: i32, depth: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
texture_storage_2d_multisample
Function ยท Source
glTextureStorage2DMultisample, OpenGL 4.5.
pub unsafe fn texture_storage_2d_multisample(texture: u32, samples: i32, internalformat: u32, width: i32, height: i32, fixedsamplelocations: u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
texture_storage_3d_multisample
Function ยท Source
glTextureStorage3DMultisample, OpenGL 4.5.
pub unsafe fn texture_storage_3d_multisample(texture: u32, samples: i32, internalformat: u32, width: i32, height: i32, depth: i32, fixedsamplelocations: u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
texture_sub_image_1d
Function ยท Source
glTextureSubImage1D, OpenGL 4.5.
pub unsafe fn texture_sub_image_1d(texture: u32, level: i32, xoffset: i32, width: i32, format: u32, type_: u32, pixels: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
texture_sub_image_2d
Function ยท Source
glTextureSubImage2D, OpenGL 4.5.
pub unsafe fn texture_sub_image_2d(texture: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, type_: u32, pixels: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
texture_sub_image_3d
Function ยท Source
glTextureSubImage3D, OpenGL 4.5.
pub unsafe fn texture_sub_image_3d(texture: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, pixels: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
compressed_texture_sub_image_1d
Function ยท Source
glCompressedTextureSubImage1D, OpenGL 4.5.
pub unsafe fn compressed_texture_sub_image_1d(texture: u32, level: i32, xoffset: i32, width: i32, format: u32, image_size: i32, data: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
compressed_texture_sub_image_2d
Function ยท Source
glCompressedTextureSubImage2D, OpenGL 4.5.
pub unsafe fn compressed_texture_sub_image_2d(texture: u32, level: i32, xoffset: i32, yoffset: i32, width: i32, height: i32, format: u32, image_size: i32, data: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
compressed_texture_sub_image_3d
Function ยท Source
glCompressedTextureSubImage3D, OpenGL 4.5.
pub unsafe fn compressed_texture_sub_image_3d(texture: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, image_size: i32, data: *const u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
copy_texture_sub_image_1d
Function ยท Source
glCopyTextureSubImage1D, OpenGL 4.5.
pub unsafe fn copy_texture_sub_image_1d(texture: u32, level: i32, xoffset: i32, x: i32, y: i32, width: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
copy_texture_sub_image_2d
Function ยท Source
glCopyTextureSubImage2D, OpenGL 4.5.
pub unsafe fn copy_texture_sub_image_2d(texture: u32, level: i32, xoffset: i32, yoffset: i32, x: i32, y: i32, width: i32, height: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
copy_texture_sub_image_3d
Function ยท Source
glCopyTextureSubImage3D, OpenGL 4.5.
pub unsafe fn copy_texture_sub_image_3d(texture: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, x: i32, y: i32, width: i32, height: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
texture_parameterf
Function ยท Source
glTextureParameterf, OpenGL 4.5.
pub unsafe fn texture_parameterf(texture: u32, pname: u32, param: f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
texture_parameterfv
Function ยท Source
glTextureParameterfv, OpenGL 4.5.
pub unsafe fn texture_parameterfv(texture: u32, pname: u32, param: *const f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
texture_parameteri
Function ยท Source
glTextureParameteri, OpenGL 4.5.
pub unsafe fn texture_parameteri(texture: u32, pname: u32, param: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
texture_parameter_iiv
Function ยท Source
glTextureParameterIiv, OpenGL 4.5.
pub unsafe fn texture_parameter_iiv(texture: u32, pname: u32, params: *const i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
texture_parameter_iuiv
Function ยท Source
glTextureParameterIuiv, OpenGL 4.5.
pub unsafe fn texture_parameter_iuiv(texture: u32, pname: u32, params: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
texture_parameteriv
Function ยท Source
glTextureParameteriv, OpenGL 4.5.
pub unsafe fn texture_parameteriv(texture: u32, pname: u32, param: *const i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
generate_texture_mipmap
Function ยท Source
glGenerateTextureMipmap, OpenGL 4.5.
pub unsafe fn generate_texture_mipmap(texture: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
bind_texture_unit
Function ยท Source
glBindTextureUnit, OpenGL 4.5.
pub unsafe fn bind_texture_unit(unit: u32, texture: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_texture_image
Function ยท Source
glGetTextureImage, OpenGL 4.5.
pub unsafe fn get_texture_image(texture: u32, level: i32, format: u32, type_: u32, buf_size: i32, pixels: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_compressed_texture_image
Function ยท Source
glGetCompressedTextureImage, OpenGL 4.5.
pub unsafe fn get_compressed_texture_image(texture: u32, level: i32, buf_size: i32, pixels: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_texture_level_parameterfv
Function ยท Source
glGetTextureLevelParameterfv, OpenGL 4.5.
pub unsafe fn get_texture_level_parameterfv(texture: u32, level: i32, pname: u32, params: *mut f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_texture_level_parameteriv
Function ยท Source
glGetTextureLevelParameteriv, OpenGL 4.5.
pub unsafe fn get_texture_level_parameteriv(texture: u32, level: i32, pname: u32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_texture_parameterfv
Function ยท Source
glGetTextureParameterfv, OpenGL 4.5.
pub unsafe fn get_texture_parameterfv(texture: u32, pname: u32, params: *mut f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_texture_parameter_iiv
Function ยท Source
glGetTextureParameterIiv, OpenGL 4.5.
pub unsafe fn get_texture_parameter_iiv(texture: u32, pname: u32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_texture_parameter_iuiv
Function ยท Source
glGetTextureParameterIuiv, OpenGL 4.5.
pub unsafe fn get_texture_parameter_iuiv(texture: u32, pname: u32, params: *mut u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_texture_parameteriv
Function ยท Source
glGetTextureParameteriv, OpenGL 4.5.
pub unsafe fn get_texture_parameteriv(texture: u32, pname: u32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
create_vertex_arrays
Function ยท Source
glCreateVertexArrays, OpenGL 4.5.
pub unsafe fn create_vertex_arrays(n: i32, arrays: *mut u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
disable_vertex_array_attrib
Function ยท Source
glDisableVertexArrayAttrib, OpenGL 4.5.
pub unsafe fn disable_vertex_array_attrib(vaobj: u32, index: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
enable_vertex_array_attrib
Function ยท Source
glEnableVertexArrayAttrib, OpenGL 4.5.
pub unsafe fn enable_vertex_array_attrib(vaobj: u32, index: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_array_element_buffer
Function ยท Source
glVertexArrayElementBuffer, OpenGL 4.5.
pub unsafe fn vertex_array_element_buffer(vaobj: u32, buffer: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_array_vertex_buffer
Function ยท Source
glVertexArrayVertexBuffer, OpenGL 4.5.
pub unsafe fn vertex_array_vertex_buffer(vaobj: u32, bindingindex: u32, buffer: u32, offset: isize, stride: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_array_vertex_buffers
Function ยท Source
glVertexArrayVertexBuffers, OpenGL 4.5.
pub unsafe fn vertex_array_vertex_buffers(vaobj: u32, first: u32, count: i32, buffers: *const u32, offsets: *const isize, strides: *const i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_array_attrib_binding
Function ยท Source
glVertexArrayAttribBinding, OpenGL 4.5.
pub unsafe fn vertex_array_attrib_binding(vaobj: u32, attribindex: u32, bindingindex: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_array_attrib_format
Function ยท Source
glVertexArrayAttribFormat, OpenGL 4.5.
pub unsafe fn vertex_array_attrib_format(vaobj: u32, attribindex: u32, size: i32, type_: u32, normalized: u8, relativeoffset: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_array_attrib_i_format
Function ยท Source
glVertexArrayAttribIFormat, OpenGL 4.5.
pub unsafe fn vertex_array_attrib_i_format(vaobj: u32, attribindex: u32, size: i32, type_: u32, relativeoffset: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_array_attrib_l_format
Function ยท Source
glVertexArrayAttribLFormat, OpenGL 4.5.
pub unsafe fn vertex_array_attrib_l_format(vaobj: u32, attribindex: u32, size: i32, type_: u32, relativeoffset: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
vertex_array_binding_divisor
Function ยท Source
glVertexArrayBindingDivisor, OpenGL 4.5.
pub unsafe fn vertex_array_binding_divisor(vaobj: u32, bindingindex: u32, divisor: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_vertex_arrayiv
Function ยท Source
glGetVertexArrayiv, OpenGL 4.5.
pub unsafe fn get_vertex_arrayiv(vaobj: u32, pname: u32, param: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_vertex_array_indexediv
Function ยท Source
glGetVertexArrayIndexediv, OpenGL 4.5.
pub unsafe fn get_vertex_array_indexediv(vaobj: u32, index: u32, pname: u32, param: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_vertex_array_indexed_64iv
Function ยท Source
glGetVertexArrayIndexed64iv, OpenGL 4.5.
pub unsafe fn get_vertex_array_indexed_64iv(vaobj: u32, index: u32, pname: u32, param: *mut i64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
create_samplers
Function ยท Source
glCreateSamplers, OpenGL 4.5.
pub unsafe fn create_samplers(n: i32, samplers: *mut u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
create_program_pipelines
Function ยท Source
glCreateProgramPipelines, OpenGL 4.5.
pub unsafe fn create_program_pipelines(n: i32, pipelines: *mut u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
create_queries
Function ยท Source
glCreateQueries, OpenGL 4.5.
pub unsafe fn create_queries(target: u32, n: i32, ids: *mut u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_query_buffer_objecti_64v
Function ยท Source
glGetQueryBufferObjecti64v, OpenGL 4.5.
pub unsafe fn get_query_buffer_objecti_64v(id: u32, buffer: u32, pname: u32, offset: isize)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_query_buffer_objectiv
Function ยท Source
glGetQueryBufferObjectiv, OpenGL 4.5.
pub unsafe fn get_query_buffer_objectiv(id: u32, buffer: u32, pname: u32, offset: isize)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_query_buffer_objectui_64v
Function ยท Source
glGetQueryBufferObjectui64v, OpenGL 4.5.
pub unsafe fn get_query_buffer_objectui_64v(id: u32, buffer: u32, pname: u32, offset: isize)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_query_buffer_objectuiv
Function ยท Source
glGetQueryBufferObjectuiv, OpenGL 4.5.
pub unsafe fn get_query_buffer_objectuiv(id: u32, buffer: u32, pname: u32, offset: isize)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
memory_barrier_by_region
Function ยท Source
glMemoryBarrierByRegion, OpenGL 4.5.
pub unsafe fn memory_barrier_by_region(barriers: u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_texture_sub_image
Function ยท Source
glGetTextureSubImage, OpenGL 4.5.
pub unsafe fn get_texture_sub_image(texture: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, format: u32, type_: u32, buf_size: i32, pixels: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_compressed_texture_sub_image
Function ยท Source
glGetCompressedTextureSubImage, OpenGL 4.5.
pub unsafe fn get_compressed_texture_sub_image(texture: u32, level: i32, xoffset: i32, yoffset: i32, zoffset: i32, width: i32, height: i32, depth: i32, buf_size: i32, pixels: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
get_graphics_reset_status
Function ยท Source
glGetGraphicsResetStatus, OpenGL 4.5.
pub unsafe fn get_graphics_reset_status() -> u32
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
getn_compressed_tex_image
Function ยท Source
glGetnCompressedTexImage, OpenGL 4.5.
pub unsafe fn getn_compressed_tex_image(target: u32, lod: i32, buf_size: i32, pixels: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
getn_tex_image
Function ยท Source
glGetnTexImage, OpenGL 4.5.
pub unsafe fn getn_tex_image(target: u32, level: i32, format: u32, type_: u32, buf_size: i32, pixels: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
getn_uniformdv
Function ยท Source
glGetnUniformdv, OpenGL 4.5.
pub unsafe fn getn_uniformdv(program: u32, location: i32, buf_size: i32, params: *mut f64)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
getn_uniformfv
Function ยท Source
glGetnUniformfv, OpenGL 4.5.
pub unsafe fn getn_uniformfv(program: u32, location: i32, buf_size: i32, params: *mut f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
getn_uniformiv
Function ยท Source
glGetnUniformiv, OpenGL 4.5.
pub unsafe fn getn_uniformiv(program: u32, location: i32, buf_size: i32, params: *mut i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
getn_uniformuiv
Function ยท Source
glGetnUniformuiv, OpenGL 4.5.
pub unsafe fn getn_uniformuiv(program: u32, location: i32, buf_size: i32, params: *mut u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
readn_pixels
Function ยท Source
glReadnPixels, OpenGL 4.5.
pub unsafe fn readn_pixels(x: i32, y: i32, width: i32, height: i32, format: u32, type_: u32, buf_size: i32, data: *mut u8)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
texture_barrier
Function ยท Source
glTextureBarrier, OpenGL 4.5.
pub unsafe fn texture_barrier()
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
specialize_shader
Function ยท Source
glSpecializeShader, OpenGL 4.6.
pub unsafe fn specialize_shader(shader: u32, p_entry_point: *const u8, num_specialization_constants: u32, p_constant_index: *const u32, p_constant_value: *const u32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
multi_draw_arrays_indirect_count
Function ยท Source
glMultiDrawArraysIndirectCount, OpenGL 4.6.
pub unsafe fn multi_draw_arrays_indirect_count(mode: u32, indirect: *const u8, drawcount: isize, maxdrawcount: i32, stride: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
multi_draw_elements_indirect_count
Function ยท Source
glMultiDrawElementsIndirectCount, OpenGL 4.6.
pub unsafe fn multi_draw_elements_indirect_count(mode: u32, type_: u32, indirect: *const u8, drawcount: isize, maxdrawcount: i32, stride: i32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.
polygon_offset_clamp
Function ยท Source
glPolygonOffsetClamp, OpenGL 4.6.
pub unsafe fn polygon_offset_clamp(factor: f32, units: f32, clamp: f32)
Requires an unsafe context. Follow the source safety preconditions and the linked guide before calling this API.