Struct webgl_stdweb::GLContext
source · pub struct GLContext(_);
Implementations
sourceimpl GLContext
impl GLContext
pub const ACTIVE_ATTRIBUTES: GLenum = 35_721u32
pub const ACTIVE_TEXTURE: GLenum = 34_016u32
pub const ACTIVE_UNIFORMS: GLenum = 35_718u32
pub const ACTIVE_UNIFORM_BLOCKS: GLenum = 35_382u32
pub const ALIASED_LINE_WIDTH_RANGE: GLenum = 33_902u32
pub const ALIASED_POINT_SIZE_RANGE: GLenum = 33_901u32
pub const ALPHA: GLenum = 6_406u32
pub const ALPHA_BITS: GLenum = 3_413u32
pub const ALREADY_SIGNALED: GLenum = 37_146u32
pub const ALWAYS: GLenum = 519u32
pub const ANY_SAMPLES_PASSED: GLenum = 35_887u32
pub const ANY_SAMPLES_PASSED_CONSERVATIVE: GLenum = 36_202u32
pub const ARRAY_BUFFER: GLenum = 34_962u32
pub const ARRAY_BUFFER_BINDING: GLenum = 34_964u32
pub const ATTACHED_SHADERS: GLenum = 35_717u32
pub const BACK: GLenum = 1_029u32
pub const BLEND: GLenum = 3_042u32
pub const BLEND_COLOR: GLenum = 32_773u32
pub const BLEND_DST_ALPHA: GLenum = 32_970u32
pub const BLEND_DST_RGB: GLenum = 32_968u32
pub const BLEND_EQUATION: GLenum = 32_777u32
pub const BLEND_EQUATION_ALPHA: GLenum = 34_877u32
pub const BLEND_EQUATION_RGB: GLenum = 32_777u32
pub const BLEND_SRC_ALPHA: GLenum = 32_971u32
pub const BLEND_SRC_RGB: GLenum = 32_969u32
pub const BLUE_BITS: GLenum = 3_412u32
pub const BOOL: GLenum = 35_670u32
pub const BOOL_VEC2: GLenum = 35_671u32
pub const BOOL_VEC3: GLenum = 35_672u32
pub const BOOL_VEC4: GLenum = 35_673u32
pub const BROWSER_DEFAULT_WEBGL: GLenum = 37_444u32
pub const BUFFER_SIZE: GLenum = 34_660u32
pub const BUFFER_USAGE: GLenum = 34_661u32
pub const BYTE: GLenum = 5_120u32
pub const CCW: GLenum = 2_305u32
pub const CLAMP_TO_EDGE: GLenum = 33_071u32
pub const COLOR: GLenum = 6_144u32
pub const COLOR_ATTACHMENT0: GLenum = 36_064u32
pub const COLOR_ATTACHMENT1: GLenum = 36_065u32
pub const COLOR_ATTACHMENT10: GLenum = 36_074u32
pub const COLOR_ATTACHMENT11: GLenum = 36_075u32
pub const COLOR_ATTACHMENT12: GLenum = 36_076u32
pub const COLOR_ATTACHMENT13: GLenum = 36_077u32
pub const COLOR_ATTACHMENT14: GLenum = 36_078u32
pub const COLOR_ATTACHMENT15: GLenum = 36_079u32
pub const COLOR_ATTACHMENT2: GLenum = 36_066u32
pub const COLOR_ATTACHMENT3: GLenum = 36_067u32
pub const COLOR_ATTACHMENT4: GLenum = 36_068u32
pub const COLOR_ATTACHMENT5: GLenum = 36_069u32
pub const COLOR_ATTACHMENT6: GLenum = 36_070u32
pub const COLOR_ATTACHMENT7: GLenum = 36_071u32
pub const COLOR_ATTACHMENT8: GLenum = 36_072u32
pub const COLOR_ATTACHMENT9: GLenum = 36_073u32
pub const COLOR_BUFFER_BIT: GLenum = 16_384u32
pub const COLOR_CLEAR_VALUE: GLenum = 3_106u32
pub const COLOR_WRITEMASK: GLenum = 3_107u32
pub const COMPARE_REF_TO_TEXTURE: GLenum = 34_894u32
pub const COMPILE_STATUS: GLenum = 35_713u32
pub const COMPRESSED_TEXTURE_FORMATS: GLenum = 34_467u32
pub const CONDITION_SATISFIED: GLenum = 37_148u32
pub const CONSTANT_ALPHA: GLenum = 32_771u32
pub const CONSTANT_COLOR: GLenum = 32_769u32
pub const CONTEXT_LOST_WEBGL: GLenum = 37_442u32
pub const COPY_READ_BUFFER: GLenum = 36_662u32
pub const COPY_READ_BUFFER_BINDING: GLenum = 36_662u32
pub const COPY_WRITE_BUFFER: GLenum = 36_663u32
pub const COPY_WRITE_BUFFER_BINDING: GLenum = 36_663u32
pub const CULL_FACE: GLenum = 2_884u32
pub const CULL_FACE_MODE: GLenum = 2_885u32
pub const CURRENT_PROGRAM: GLenum = 35_725u32
pub const CURRENT_QUERY: GLenum = 34_917u32
pub const CURRENT_VERTEX_ATTRIB: GLenum = 34_342u32
pub const CW: GLenum = 2_304u32
pub const DECR: GLenum = 7_683u32
pub const DECR_WRAP: GLenum = 34_056u32
pub const DELETE_STATUS: GLenum = 35_712u32
pub const DEPTH: GLenum = 6_145u32
pub const DEPTH24_STENCIL8: GLenum = 35_056u32
pub const DEPTH32F_STENCIL8: GLenum = 36_013u32
pub const DEPTH_ATTACHMENT: GLenum = 36_096u32
pub const DEPTH_BITS: GLenum = 3_414u32
pub const DEPTH_BUFFER_BIT: GLenum = 256u32
pub const DEPTH_CLEAR_VALUE: GLenum = 2_931u32
pub const DEPTH_COMPONENT: GLenum = 6_402u32
pub const DEPTH_COMPONENT16: GLenum = 33_189u32
pub const DEPTH_COMPONENT24: GLenum = 33_190u32
pub const DEPTH_COMPONENT32F: GLenum = 36_012u32
pub const DEPTH_FUNC: GLenum = 2_932u32
pub const DEPTH_RANGE: GLenum = 2_928u32
pub const DEPTH_STENCIL: GLenum = 34_041u32
pub const DEPTH_STENCIL_ATTACHMENT: GLenum = 33_306u32
pub const DEPTH_TEST: GLenum = 2_929u32
pub const DEPTH_WRITEMASK: GLenum = 2_930u32
pub const DITHER: GLenum = 3_024u32
pub const DONT_CARE: GLenum = 4_352u32
pub const DRAW_BUFFER0: GLenum = 34_853u32
pub const DRAW_BUFFER1: GLenum = 34_854u32
pub const DRAW_BUFFER10: GLenum = 34_863u32
pub const DRAW_BUFFER11: GLenum = 34_864u32
pub const DRAW_BUFFER12: GLenum = 34_865u32
pub const DRAW_BUFFER13: GLenum = 34_866u32
pub const DRAW_BUFFER14: GLenum = 34_867u32
pub const DRAW_BUFFER15: GLenum = 34_868u32
pub const DRAW_BUFFER2: GLenum = 34_855u32
pub const DRAW_BUFFER3: GLenum = 34_856u32
pub const DRAW_BUFFER4: GLenum = 34_857u32
pub const DRAW_BUFFER5: GLenum = 34_858u32
pub const DRAW_BUFFER6: GLenum = 34_859u32
pub const DRAW_BUFFER7: GLenum = 34_860u32
pub const DRAW_BUFFER8: GLenum = 34_861u32
pub const DRAW_BUFFER9: GLenum = 34_862u32
pub const DRAW_FRAMEBUFFER: GLenum = 36_009u32
pub const DRAW_FRAMEBUFFER_BINDING: GLenum = 36_006u32
pub const DST_ALPHA: GLenum = 772u32
pub const DST_COLOR: GLenum = 774u32
pub const DYNAMIC_COPY: GLenum = 35_050u32
pub const DYNAMIC_DRAW: GLenum = 35_048u32
pub const DYNAMIC_READ: GLenum = 35_049u32
pub const ELEMENT_ARRAY_BUFFER: GLenum = 34_963u32
pub const ELEMENT_ARRAY_BUFFER_BINDING: GLenum = 34_965u32
pub const EQUAL: GLenum = 514u32
pub const FASTEST: GLenum = 4_353u32
pub const FLOAT: GLenum = 5_126u32
pub const FLOAT_32_UNSIGNED_INT_24_8_REV: GLenum = 36_269u32
pub const FLOAT_MAT2: GLenum = 35_674u32
pub const FLOAT_MAT2X3: GLenum = 35_685u32
pub const FLOAT_MAT2X4: GLenum = 35_686u32
pub const FLOAT_MAT3: GLenum = 35_675u32
pub const FLOAT_MAT3X2: GLenum = 35_687u32
pub const FLOAT_MAT3X4: GLenum = 35_688u32
pub const FLOAT_MAT4: GLenum = 35_676u32
pub const FLOAT_MAT4X2: GLenum = 35_689u32
pub const FLOAT_MAT4X3: GLenum = 35_690u32
pub const FLOAT_VEC2: GLenum = 35_664u32
pub const FLOAT_VEC3: GLenum = 35_665u32
pub const FLOAT_VEC4: GLenum = 35_666u32
pub const FRAGMENT_SHADER: GLenum = 35_632u32
pub const FRAGMENT_SHADER_DERIVATIVE_HINT: GLenum = 35_723u32
pub const FRAMEBUFFER: GLenum = 36_160u32
pub const FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE: GLenum = 33_301u32
pub const FRAMEBUFFER_ATTACHMENT_BLUE_SIZE: GLenum = 33_300u32
pub const FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING: GLenum = 33_296u32
pub const FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE: GLenum = 33_297u32
pub const FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE: GLenum = 33_302u32
pub const FRAMEBUFFER_ATTACHMENT_GREEN_SIZE: GLenum = 33_299u32
pub const FRAMEBUFFER_ATTACHMENT_OBJECT_NAME: GLenum = 36_049u32
pub const FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE: GLenum = 36_048u32
pub const FRAMEBUFFER_ATTACHMENT_RED_SIZE: GLenum = 33_298u32
pub const FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE: GLenum = 33_303u32
pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE: GLenum = 36_051u32
pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER: GLenum = 36_052u32
pub const FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL: GLenum = 36_050u32
pub const FRAMEBUFFER_BINDING: GLenum = 36_006u32
pub const FRAMEBUFFER_COMPLETE: GLenum = 36_053u32
pub const FRAMEBUFFER_DEFAULT: GLenum = 33_304u32
pub const FRAMEBUFFER_INCOMPLETE_ATTACHMENT: GLenum = 36_054u32
pub const FRAMEBUFFER_INCOMPLETE_DIMENSIONS: GLenum = 36_057u32
pub const FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: GLenum = 36_055u32
pub const FRAMEBUFFER_INCOMPLETE_MULTISAMPLE: GLenum = 36_182u32
pub const FRAMEBUFFER_UNSUPPORTED: GLenum = 36_061u32
pub const FRONT: GLenum = 1_028u32
pub const FRONT_AND_BACK: GLenum = 1_032u32
pub const FRONT_FACE: GLenum = 2_886u32
pub const FUNC_ADD: GLenum = 32_774u32
pub const FUNC_REVERSE_SUBTRACT: GLenum = 32_779u32
pub const FUNC_SUBTRACT: GLenum = 32_778u32
pub const GENERATE_MIPMAP_HINT: GLenum = 33_170u32
pub const GEQUAL: GLenum = 518u32
pub const GREATER: GLenum = 516u32
pub const GREEN_BITS: GLenum = 3_411u32
pub const HALF_FLOAT: GLenum = 5_131u32
pub const HIGH_FLOAT: GLenum = 36_338u32
pub const HIGH_INT: GLenum = 36_341u32
pub const IMPLEMENTATION_COLOR_READ_FORMAT: GLenum = 35_739u32
pub const IMPLEMENTATION_COLOR_READ_TYPE: GLenum = 35_738u32
pub const INCR: GLenum = 7_682u32
pub const INCR_WRAP: GLenum = 34_055u32
pub const INT: GLenum = 5_124u32
pub const INTERLEAVED_ATTRIBS: GLenum = 35_980u32
pub const INT_2_10_10_10_REV: GLenum = 36_255u32
pub const INT_SAMPLER_2D: GLenum = 36_298u32
pub const INT_SAMPLER_2D_ARRAY: GLenum = 36_303u32
pub const INT_SAMPLER_3D: GLenum = 36_299u32
pub const INT_SAMPLER_CUBE: GLenum = 36_300u32
pub const INT_VEC2: GLenum = 35_667u32
pub const INT_VEC3: GLenum = 35_668u32
pub const INT_VEC4: GLenum = 35_669u32
pub const INVALID_ENUM: GLenum = 1_280u32
pub const INVALID_FRAMEBUFFER_OPERATION: GLenum = 1_286u32
pub const INVALID_INDEX: GLenum = 4_294_967_295u32
pub const INVALID_OPERATION: GLenum = 1_282u32
pub const INVALID_VALUE: GLenum = 1_281u32
pub const INVERT: GLenum = 5_386u32
pub const KEEP: GLenum = 7_680u32
pub const LEQUAL: GLenum = 515u32
pub const LESS: GLenum = 513u32
pub const LINEAR: GLenum = 9_729u32
pub const LINEAR_MIPMAP_LINEAR: GLenum = 9_987u32
pub const LINEAR_MIPMAP_NEAREST: GLenum = 9_985u32
pub const LINES: GLenum = 1u32
pub const LINE_LOOP: GLenum = 2u32
pub const LINE_STRIP: GLenum = 3u32
pub const LINE_WIDTH: GLenum = 2_849u32
pub const LINK_STATUS: GLenum = 35_714u32
pub const LOW_FLOAT: GLenum = 36_336u32
pub const LOW_INT: GLenum = 36_339u32
pub const LUMINANCE: GLenum = 6_409u32
pub const LUMINANCE_ALPHA: GLenum = 6_410u32
pub const MAX: GLenum = 32_776u32
pub const MAX_3D_TEXTURE_SIZE: GLenum = 32_883u32
pub const MAX_ARRAY_TEXTURE_LAYERS: GLenum = 35_071u32
pub const MAX_CLIENT_WAIT_TIMEOUT_WEBGL: GLenum = 37_447u32
pub const MAX_COLOR_ATTACHMENTS: GLenum = 36_063u32
pub const MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS: GLenum = 35_379u32
pub const MAX_COMBINED_TEXTURE_IMAGE_UNITS: GLenum = 35_661u32
pub const MAX_COMBINED_UNIFORM_BLOCKS: GLenum = 35_374u32
pub const MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS: GLenum = 35_377u32
pub const MAX_CUBE_MAP_TEXTURE_SIZE: GLenum = 34_076u32
pub const MAX_DRAW_BUFFERS: GLenum = 34_852u32
pub const MAX_ELEMENTS_INDICES: GLenum = 33_001u32
pub const MAX_ELEMENTS_VERTICES: GLenum = 33_000u32
pub const MAX_ELEMENT_INDEX: GLenum = 36_203u32
pub const MAX_FRAGMENT_INPUT_COMPONENTS: GLenum = 37_157u32
pub const MAX_FRAGMENT_UNIFORM_BLOCKS: GLenum = 35_373u32
pub const MAX_FRAGMENT_UNIFORM_COMPONENTS: GLenum = 35_657u32
pub const MAX_FRAGMENT_UNIFORM_VECTORS: GLenum = 36_349u32
pub const MAX_PROGRAM_TEXEL_OFFSET: GLenum = 35_077u32
pub const MAX_RENDERBUFFER_SIZE: GLenum = 34_024u32
pub const MAX_SAMPLES: GLenum = 36_183u32
pub const MAX_SERVER_WAIT_TIMEOUT: GLenum = 37_137u32
pub const MAX_TEXTURE_IMAGE_UNITS: GLenum = 34_930u32
pub const MAX_TEXTURE_LOD_BIAS: GLenum = 34_045u32
pub const MAX_TEXTURE_SIZE: GLenum = 3_379u32
pub const MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS: GLenum = 35_978u32
pub const MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS: GLenum = 35_979u32
pub const MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS: GLenum = 35_968u32
pub const MAX_UNIFORM_BLOCK_SIZE: GLenum = 35_376u32
pub const MAX_UNIFORM_BUFFER_BINDINGS: GLenum = 35_375u32
pub const MAX_VARYING_COMPONENTS: GLenum = 35_659u32
pub const MAX_VARYING_VECTORS: GLenum = 36_348u32
pub const MAX_VERTEX_ATTRIBS: GLenum = 34_921u32
pub const MAX_VERTEX_OUTPUT_COMPONENTS: GLenum = 37_154u32
pub const MAX_VERTEX_TEXTURE_IMAGE_UNITS: GLenum = 35_660u32
pub const MAX_VERTEX_UNIFORM_BLOCKS: GLenum = 35_371u32
pub const MAX_VERTEX_UNIFORM_COMPONENTS: GLenum = 35_658u32
pub const MAX_VERTEX_UNIFORM_VECTORS: GLenum = 36_347u32
pub const MAX_VIEWPORT_DIMS: GLenum = 3_386u32
pub const MEDIUM_FLOAT: GLenum = 36_337u32
pub const MEDIUM_INT: GLenum = 36_340u32
pub const MIN: GLenum = 32_775u32
pub const MIN_PROGRAM_TEXEL_OFFSET: GLenum = 35_076u32
pub const MIRRORED_REPEAT: GLenum = 33_648u32
pub const NEAREST: GLenum = 9_728u32
pub const NEAREST_MIPMAP_LINEAR: GLenum = 9_986u32
pub const NEAREST_MIPMAP_NEAREST: GLenum = 9_984u32
pub const NEVER: GLenum = 512u32
pub const NICEST: GLenum = 4_354u32
pub const NONE: GLenum = 0u32
pub const NOTEQUAL: GLenum = 517u32
pub const NO_ERROR: GLenum = 0u32
pub const OBJECT_TYPE: GLenum = 37_138u32
pub const ONE: GLenum = 1u32
pub const ONE_MINUS_CONSTANT_ALPHA: GLenum = 32_772u32
pub const ONE_MINUS_CONSTANT_COLOR: GLenum = 32_770u32
pub const ONE_MINUS_DST_ALPHA: GLenum = 773u32
pub const ONE_MINUS_DST_COLOR: GLenum = 775u32
pub const ONE_MINUS_SRC_ALPHA: GLenum = 771u32
pub const ONE_MINUS_SRC_COLOR: GLenum = 769u32
pub const OUT_OF_MEMORY: GLenum = 1_285u32
pub const PACK_ALIGNMENT: GLenum = 3_333u32
pub const PACK_ROW_LENGTH: GLenum = 3_330u32
pub const PACK_SKIP_PIXELS: GLenum = 3_332u32
pub const PACK_SKIP_ROWS: GLenum = 3_331u32
pub const PIXEL_PACK_BUFFER: GLenum = 35_051u32
pub const PIXEL_PACK_BUFFER_BINDING: GLenum = 35_053u32
pub const PIXEL_UNPACK_BUFFER: GLenum = 35_052u32
pub const PIXEL_UNPACK_BUFFER_BINDING: GLenum = 35_055u32
pub const POINTS: GLenum = 0u32
pub const POLYGON_OFFSET_FACTOR: GLenum = 32_824u32
pub const POLYGON_OFFSET_FILL: GLenum = 32_823u32
pub const POLYGON_OFFSET_UNITS: GLenum = 10_752u32
pub const QUERY_RESULT: GLenum = 34_918u32
pub const QUERY_RESULT_AVAILABLE: GLenum = 34_919u32
pub const R11F_G11F_B10F: GLenum = 35_898u32
pub const R16F: GLenum = 33_325u32
pub const R16I: GLenum = 33_331u32
pub const R16UI: GLenum = 33_332u32
pub const R32F: GLenum = 33_326u32
pub const R32I: GLenum = 33_333u32
pub const R32UI: GLenum = 33_334u32
pub const R8: GLenum = 33_321u32
pub const R8I: GLenum = 33_329u32
pub const R8UI: GLenum = 33_330u32
pub const R8_SNORM: GLenum = 36_756u32
pub const RASTERIZER_DISCARD: GLenum = 35_977u32
pub const READ_BUFFER: GLenum = 3_074u32
pub const READ_FRAMEBUFFER: GLenum = 36_008u32
pub const READ_FRAMEBUFFER_BINDING: GLenum = 36_010u32
pub const RED: GLenum = 6_403u32
pub const RED_BITS: GLenum = 3_410u32
pub const RED_INTEGER: GLenum = 36_244u32
pub const RENDERBUFFER: GLenum = 36_161u32
pub const RENDERBUFFER_ALPHA_SIZE: GLenum = 36_179u32
pub const RENDERBUFFER_BINDING: GLenum = 36_007u32
pub const RENDERBUFFER_BLUE_SIZE: GLenum = 36_178u32
pub const RENDERBUFFER_DEPTH_SIZE: GLenum = 36_180u32
pub const RENDERBUFFER_GREEN_SIZE: GLenum = 36_177u32
pub const RENDERBUFFER_HEIGHT: GLenum = 36_163u32
pub const RENDERBUFFER_INTERNAL_FORMAT: GLenum = 36_164u32
pub const RENDERBUFFER_RED_SIZE: GLenum = 36_176u32
pub const RENDERBUFFER_SAMPLES: GLenum = 36_011u32
pub const RENDERBUFFER_STENCIL_SIZE: GLenum = 36_181u32
pub const RENDERBUFFER_WIDTH: GLenum = 36_162u32
pub const RENDERER: GLenum = 7_937u32
pub const REPEAT: GLenum = 10_497u32
pub const REPLACE: GLenum = 7_681u32
pub const RG: GLenum = 33_319u32
pub const RG16F: GLenum = 33_327u32
pub const RG16I: GLenum = 33_337u32
pub const RG16UI: GLenum = 33_338u32
pub const RG32F: GLenum = 33_328u32
pub const RG32I: GLenum = 33_339u32
pub const RG32UI: GLenum = 33_340u32
pub const RG8: GLenum = 33_323u32
pub const RG8I: GLenum = 33_335u32
pub const RG8UI: GLenum = 33_336u32
pub const RG8_SNORM: GLenum = 36_757u32
pub const RGB: GLenum = 6_407u32
pub const RGB10_A2: GLenum = 32_857u32
pub const RGB10_A2UI: GLenum = 36_975u32
pub const RGB16F: GLenum = 34_843u32
pub const RGB16I: GLenum = 36_233u32
pub const RGB16UI: GLenum = 36_215u32
pub const RGB32F: GLenum = 34_837u32
pub const RGB32I: GLenum = 36_227u32
pub const RGB32UI: GLenum = 36_209u32
pub const RGB565: GLenum = 36_194u32
pub const RGB5_A1: GLenum = 32_855u32
pub const RGB8: GLenum = 32_849u32
pub const RGB8I: GLenum = 36_239u32
pub const RGB8UI: GLenum = 36_221u32
pub const RGB8_SNORM: GLenum = 36_758u32
pub const RGB9_E5: GLenum = 35_901u32
pub const RGBA: GLenum = 6_408u32
pub const RGBA16F: GLenum = 34_842u32
pub const RGBA16I: GLenum = 36_232u32
pub const RGBA16UI: GLenum = 36_214u32
pub const RGBA32F: GLenum = 34_836u32
pub const RGBA32I: GLenum = 36_226u32
pub const RGBA32UI: GLenum = 36_208u32
pub const RGBA4: GLenum = 32_854u32
pub const RGBA8: GLenum = 32_856u32
pub const RGBA8I: GLenum = 36_238u32
pub const RGBA8UI: GLenum = 36_220u32
pub const RGBA8_SNORM: GLenum = 36_759u32
pub const RGBA_INTEGER: GLenum = 36_249u32
pub const RGB_INTEGER: GLenum = 36_248u32
pub const RG_INTEGER: GLenum = 33_320u32
pub const SAMPLER_2D: GLenum = 35_678u32
pub const SAMPLER_2D_ARRAY: GLenum = 36_289u32
pub const SAMPLER_2D_ARRAY_SHADOW: GLenum = 36_292u32
pub const SAMPLER_2D_SHADOW: GLenum = 35_682u32
pub const SAMPLER_3D: GLenum = 35_679u32
pub const SAMPLER_BINDING: GLenum = 35_097u32
pub const SAMPLER_CUBE: GLenum = 35_680u32
pub const SAMPLER_CUBE_SHADOW: GLenum = 36_293u32
pub const SAMPLES: GLenum = 32_937u32
pub const SAMPLE_ALPHA_TO_COVERAGE: GLenum = 32_926u32
pub const SAMPLE_BUFFERS: GLenum = 32_936u32
pub const SAMPLE_COVERAGE: GLenum = 32_928u32
pub const SAMPLE_COVERAGE_INVERT: GLenum = 32_939u32
pub const SAMPLE_COVERAGE_VALUE: GLenum = 32_938u32
pub const SCISSOR_BOX: GLenum = 3_088u32
pub const SCISSOR_TEST: GLenum = 3_089u32
pub const SEPARATE_ATTRIBS: GLenum = 35_981u32
pub const SHADER_TYPE: GLenum = 35_663u32
pub const SHADING_LANGUAGE_VERSION: GLenum = 35_724u32
pub const SHORT: GLenum = 5_122u32
pub const SIGNALED: GLenum = 37_145u32
pub const SIGNED_NORMALIZED: GLenum = 36_764u32
pub const SRC_ALPHA: GLenum = 770u32
pub const SRC_ALPHA_SATURATE: GLenum = 776u32
pub const SRC_COLOR: GLenum = 768u32
pub const SRGB: GLenum = 35_904u32
pub const SRGB8: GLenum = 35_905u32
pub const SRGB8_ALPHA8: GLenum = 35_907u32
pub const STATIC_COPY: GLenum = 35_046u32
pub const STATIC_DRAW: GLenum = 35_044u32
pub const STATIC_READ: GLenum = 35_045u32
pub const STENCIL: GLenum = 6_146u32
pub const STENCIL_ATTACHMENT: GLenum = 36_128u32
pub const STENCIL_BACK_FAIL: GLenum = 34_817u32
pub const STENCIL_BACK_FUNC: GLenum = 34_816u32
pub const STENCIL_BACK_PASS_DEPTH_FAIL: GLenum = 34_818u32
pub const STENCIL_BACK_PASS_DEPTH_PASS: GLenum = 34_819u32
pub const STENCIL_BACK_REF: GLenum = 36_003u32
pub const STENCIL_BACK_VALUE_MASK: GLenum = 36_004u32
pub const STENCIL_BACK_WRITEMASK: GLenum = 36_005u32
pub const STENCIL_BITS: GLenum = 3_415u32
pub const STENCIL_BUFFER_BIT: GLenum = 1_024u32
pub const STENCIL_CLEAR_VALUE: GLenum = 2_961u32
pub const STENCIL_FAIL: GLenum = 2_964u32
pub const STENCIL_FUNC: GLenum = 2_962u32
pub const STENCIL_INDEX8: GLenum = 36_168u32
pub const STENCIL_PASS_DEPTH_FAIL: GLenum = 2_965u32
pub const STENCIL_PASS_DEPTH_PASS: GLenum = 2_966u32
pub const STENCIL_REF: GLenum = 2_967u32
pub const STENCIL_TEST: GLenum = 2_960u32
pub const STENCIL_VALUE_MASK: GLenum = 2_963u32
pub const STENCIL_WRITEMASK: GLenum = 2_968u32
pub const STREAM_COPY: GLenum = 35_042u32
pub const STREAM_DRAW: GLenum = 35_040u32
pub const STREAM_READ: GLenum = 35_041u32
pub const SUBPIXEL_BITS: GLenum = 3_408u32
pub const SYNC_CONDITION: GLenum = 37_139u32
pub const SYNC_FENCE: GLenum = 37_142u32
pub const SYNC_FLAGS: GLenum = 37_141u32
pub const SYNC_FLUSH_COMMANDS_BIT: GLenum = 1u32
pub const SYNC_GPU_COMMANDS_COMPLETE: GLenum = 37_143u32
pub const SYNC_STATUS: GLenum = 37_140u32
pub const TEXTURE: GLenum = 5_890u32
pub const TEXTURE0: GLenum = 33_984u32
pub const TEXTURE1: GLenum = 33_985u32
pub const TEXTURE10: GLenum = 33_994u32
pub const TEXTURE11: GLenum = 33_995u32
pub const TEXTURE12: GLenum = 33_996u32
pub const TEXTURE13: GLenum = 33_997u32
pub const TEXTURE14: GLenum = 33_998u32
pub const TEXTURE15: GLenum = 33_999u32
pub const TEXTURE16: GLenum = 34_000u32
pub const TEXTURE17: GLenum = 34_001u32
pub const TEXTURE18: GLenum = 34_002u32
pub const TEXTURE19: GLenum = 34_003u32
pub const TEXTURE2: GLenum = 33_986u32
pub const TEXTURE20: GLenum = 34_004u32
pub const TEXTURE21: GLenum = 34_005u32
pub const TEXTURE22: GLenum = 34_006u32
pub const TEXTURE23: GLenum = 34_007u32
pub const TEXTURE24: GLenum = 34_008u32
pub const TEXTURE25: GLenum = 34_009u32
pub const TEXTURE26: GLenum = 34_010u32
pub const TEXTURE27: GLenum = 34_011u32
pub const TEXTURE28: GLenum = 34_012u32
pub const TEXTURE29: GLenum = 34_013u32
pub const TEXTURE3: GLenum = 33_987u32
pub const TEXTURE30: GLenum = 34_014u32
pub const TEXTURE31: GLenum = 34_015u32
pub const TEXTURE4: GLenum = 33_988u32
pub const TEXTURE5: GLenum = 33_989u32
pub const TEXTURE6: GLenum = 33_990u32
pub const TEXTURE7: GLenum = 33_991u32
pub const TEXTURE8: GLenum = 33_992u32
pub const TEXTURE9: GLenum = 33_993u32
pub const TEXTURE_2D: GLenum = 3_553u32
pub const TEXTURE_2D_ARRAY: GLenum = 35_866u32
pub const TEXTURE_3D: GLenum = 32_879u32
pub const TEXTURE_BASE_LEVEL: GLenum = 33_084u32
pub const TEXTURE_BINDING_2D: GLenum = 32_873u32
pub const TEXTURE_BINDING_2D_ARRAY: GLenum = 35_869u32
pub const TEXTURE_BINDING_3D: GLenum = 32_874u32
pub const TEXTURE_BINDING_CUBE_MAP: GLenum = 34_068u32
pub const TEXTURE_COMPARE_FUNC: GLenum = 34_893u32
pub const TEXTURE_COMPARE_MODE: GLenum = 34_892u32
pub const TEXTURE_CUBE_MAP: GLenum = 34_067u32
pub const TEXTURE_CUBE_MAP_NEGATIVE_X: GLenum = 34_070u32
pub const TEXTURE_CUBE_MAP_NEGATIVE_Y: GLenum = 34_072u32
pub const TEXTURE_CUBE_MAP_NEGATIVE_Z: GLenum = 34_074u32
pub const TEXTURE_CUBE_MAP_POSITIVE_X: GLenum = 34_069u32
pub const TEXTURE_CUBE_MAP_POSITIVE_Y: GLenum = 34_071u32
pub const TEXTURE_CUBE_MAP_POSITIVE_Z: GLenum = 34_073u32
pub const TEXTURE_IMMUTABLE_FORMAT: GLenum = 37_167u32
pub const TEXTURE_IMMUTABLE_LEVELS: GLenum = 33_503u32
pub const TEXTURE_MAG_FILTER: GLenum = 10_240u32
pub const TEXTURE_MAX_LEVEL: GLenum = 33_085u32
pub const TEXTURE_MAX_LOD: GLenum = 33_083u32
pub const TEXTURE_MIN_FILTER: GLenum = 10_241u32
pub const TEXTURE_MIN_LOD: GLenum = 33_082u32
pub const TEXTURE_WRAP_R: GLenum = 32_882u32
pub const TEXTURE_WRAP_S: GLenum = 10_242u32
pub const TEXTURE_WRAP_T: GLenum = 10_243u32
pub const TIMEOUT_EXPIRED: GLenum = 37_147u32
pub const TIMEOUT_IGNORED: GLint64 = -1i64
pub const TRANSFORM_FEEDBACK: GLenum = 36_386u32
pub const TRANSFORM_FEEDBACK_ACTIVE: GLenum = 36_388u32
pub const TRANSFORM_FEEDBACK_BINDING: GLenum = 36_389u32
pub const TRANSFORM_FEEDBACK_BUFFER: GLenum = 35_982u32
pub const TRANSFORM_FEEDBACK_BUFFER_BINDING: GLenum = 35_983u32
pub const TRANSFORM_FEEDBACK_BUFFER_MODE: GLenum = 35_967u32
pub const TRANSFORM_FEEDBACK_BUFFER_SIZE: GLenum = 35_973u32
pub const TRANSFORM_FEEDBACK_BUFFER_START: GLenum = 35_972u32
pub const TRANSFORM_FEEDBACK_PAUSED: GLenum = 36_387u32
pub const TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN: GLenum = 35_976u32
pub const TRANSFORM_FEEDBACK_VARYINGS: GLenum = 35_971u32
pub const TRIANGLES: GLenum = 4u32
pub const TRIANGLE_FAN: GLenum = 6u32
pub const TRIANGLE_STRIP: GLenum = 5u32
pub const UNIFORM_ARRAY_STRIDE: GLenum = 35_388u32
pub const UNIFORM_BLOCK_ACTIVE_UNIFORMS: GLenum = 35_394u32
pub const UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES: GLenum = 35_395u32
pub const UNIFORM_BLOCK_BINDING: GLenum = 35_391u32
pub const UNIFORM_BLOCK_DATA_SIZE: GLenum = 35_392u32
pub const UNIFORM_BLOCK_INDEX: GLenum = 35_386u32
pub const UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER: GLenum = 35_398u32
pub const UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER: GLenum = 35_396u32
pub const UNIFORM_BUFFER: GLenum = 35_345u32
pub const UNIFORM_BUFFER_BINDING: GLenum = 35_368u32
pub const UNIFORM_BUFFER_OFFSET_ALIGNMENT: GLenum = 35_380u32
pub const UNIFORM_BUFFER_SIZE: GLenum = 35_370u32
pub const UNIFORM_BUFFER_START: GLenum = 35_369u32
pub const UNIFORM_IS_ROW_MAJOR: GLenum = 35_390u32
pub const UNIFORM_MATRIX_STRIDE: GLenum = 35_389u32
pub const UNIFORM_OFFSET: GLenum = 35_387u32
pub const UNIFORM_SIZE: GLenum = 35_384u32
pub const UNIFORM_TYPE: GLenum = 35_383u32
pub const UNPACK_ALIGNMENT: GLenum = 3_317u32
pub const UNPACK_COLORSPACE_CONVERSION_WEBGL: GLenum = 37_443u32
pub const UNPACK_FLIP_Y_WEBGL: GLenum = 37_440u32
pub const UNPACK_IMAGE_HEIGHT: GLenum = 32_878u32
pub const UNPACK_PREMULTIPLY_ALPHA_WEBGL: GLenum = 37_441u32
pub const UNPACK_ROW_LENGTH: GLenum = 3_314u32
pub const UNPACK_SKIP_IMAGES: GLenum = 32_877u32
pub const UNPACK_SKIP_PIXELS: GLenum = 3_316u32
pub const UNPACK_SKIP_ROWS: GLenum = 3_315u32
pub const UNSIGNALED: GLenum = 37_144u32
pub const UNSIGNED_BYTE: GLenum = 5_121u32
pub const UNSIGNED_INT: GLenum = 5_125u32
pub const UNSIGNED_INT_10F_11F_11F_REV: GLenum = 35_899u32
pub const UNSIGNED_INT_24_8: GLenum = 34_042u32
pub const UNSIGNED_INT_2_10_10_10_REV: GLenum = 33_640u32
pub const UNSIGNED_INT_5_9_9_9_REV: GLenum = 35_902u32
pub const UNSIGNED_INT_SAMPLER_2D: GLenum = 36_306u32
pub const UNSIGNED_INT_SAMPLER_2D_ARRAY: GLenum = 36_311u32
pub const UNSIGNED_INT_SAMPLER_3D: GLenum = 36_307u32
pub const UNSIGNED_INT_SAMPLER_CUBE: GLenum = 36_308u32
pub const UNSIGNED_INT_VEC2: GLenum = 36_294u32
pub const UNSIGNED_INT_VEC3: GLenum = 36_295u32
pub const UNSIGNED_INT_VEC4: GLenum = 36_296u32
pub const UNSIGNED_NORMALIZED: GLenum = 35_863u32
pub const UNSIGNED_SHORT: GLenum = 5_123u32
pub const UNSIGNED_SHORT_4_4_4_4: GLenum = 32_819u32
pub const UNSIGNED_SHORT_5_5_5_1: GLenum = 32_820u32
pub const UNSIGNED_SHORT_5_6_5: GLenum = 33_635u32
pub const VALIDATE_STATUS: GLenum = 35_715u32
pub const VENDOR: GLenum = 7_936u32
pub const VERSION: GLenum = 7_938u32
pub const VERTEX_ARRAY_BINDING: GLenum = 34_229u32
pub const VERTEX_ATTRIB_ARRAY_BUFFER_BINDING: GLenum = 34_975u32
pub const VERTEX_ATTRIB_ARRAY_DIVISOR: GLenum = 35_070u32
pub const VERTEX_ATTRIB_ARRAY_ENABLED: GLenum = 34_338u32
pub const VERTEX_ATTRIB_ARRAY_INTEGER: GLenum = 35_069u32
pub const VERTEX_ATTRIB_ARRAY_NORMALIZED: GLenum = 34_922u32
pub const VERTEX_ATTRIB_ARRAY_POINTER: GLenum = 34_373u32
pub const VERTEX_ATTRIB_ARRAY_SIZE: GLenum = 34_339u32
pub const VERTEX_ATTRIB_ARRAY_STRIDE: GLenum = 34_340u32
pub const VERTEX_ATTRIB_ARRAY_TYPE: GLenum = 34_341u32
pub const VERTEX_SHADER: GLenum = 35_633u32
pub const VIEWPORT: GLenum = 2_978u32
pub const WAIT_FAILED: GLenum = 37_149u32
pub const ZERO: GLenum = 0u32
pub fn active_texture(&self, texture: GLenum)
pub fn attach_shader(&self, program: &WebGLProgram, shader: &WebGLShader)
pub fn begin_query(&self, target: GLenum, query: &WebGLQuery)
pub fn begin_transform_feedback(&self, primitive_mode: GLenum)
pub fn bind_attrib_location(
&self,
program: &WebGLProgram,
index: GLuint,
name: &str
)
pub fn bind_buffer(&self, target: GLenum, buffer: Option<&WebGLBuffer>)
pub fn bind_buffer_base(
&self,
target: GLenum,
index: GLuint,
buffer: Option<&WebGLBuffer>
)
pub fn bind_buffer_range(
&self,
target: GLenum,
index: GLuint,
buffer: Option<&WebGLBuffer>,
offset: GLintptr,
size: GLsizeiptr
)
pub fn bind_framebuffer(
&self,
target: GLenum,
framebuffer: Option<&WebGLFramebuffer>
)
pub fn bind_renderbuffer(
&self,
target: GLenum,
renderbuffer: Option<&WebGLRenderbuffer>
)
pub fn bind_sampler(&self, unit: GLuint, sampler: Option<&WebGLSampler>)
pub fn bind_texture(&self, target: GLenum, texture: Option<&WebGLTexture>)
pub fn bind_transform_feedback(
&self,
target: GLenum,
tf: Option<&WebGLTransformFeedback>
)
pub fn bind_vertex_array(&self, array: Option<&WebGLVertexArrayObject>)
pub fn blend_color(
&self,
red: GLclampf,
green: GLclampf,
blue: GLclampf,
alpha: GLclampf
)
pub fn blend_equation(&self, mode: GLenum)
pub fn blend_equation_separate(&self, mode_rgb: GLenum, mode_alpha: GLenum)
pub fn blend_func(&self, sfactor: GLenum, dfactor: GLenum)
pub fn blend_func_separate(
&self,
src_rgb: GLenum,
dst_rgb: GLenum,
src_alpha: GLenum,
dst_alpha: GLenum
)
pub fn blit_framebuffer(
&self,
src_x0: GLint,
src_y0: GLint,
src_x1: GLint,
src_y1: GLint,
dst_x0: GLint,
dst_y0: GLint,
dst_x1: GLint,
dst_y1: GLint,
mask: GLbitfield,
filter: GLenum
)
pub fn buffer_data(&self, target: GLenum, size: GLsizeiptr, usage: GLenum)
pub fn buffer_data_1(
&self,
target: GLenum,
src_data: Option<&ArrayBuffer>,
usage: GLenum
)
pub fn buffer_data_2<'a0, T0>(
&self,
target: GLenum,
src_data: T0,
usage: GLenum,
src_offset: GLuint,
length: GLuint
)where
T0: AsArrayBufferView<'a0>,
pub fn buffer_sub_data(
&self,
target: GLenum,
dst_byte_offset: GLintptr,
src_data: &ArrayBuffer
)
pub fn buffer_sub_data_1<'a0, T0>(
&self,
target: GLenum,
dst_byte_offset: GLintptr,
src_data: T0,
src_offset: GLuint,
length: GLuint
)where
T0: AsArrayBufferView<'a0>,
pub fn canvas(&self) -> CanvasElement
pub fn check_framebuffer_status(&self, target: GLenum) -> GLenum
pub fn clear(&self, mask: GLbitfield)
pub fn clear_bufferfi(
&self,
buffer: GLenum,
drawbuffer: GLint,
depth: GLfloat,
stencil: GLint
)
pub fn clear_bufferfv<'a0, T0>(
&self,
buffer: GLenum,
drawbuffer: GLint,
values: T0,
src_offset: GLuint
)where
T0: AsTypedArray<'a0, f32>,
pub fn clear_bufferiv<'a0, T0>(
&self,
buffer: GLenum,
drawbuffer: GLint,
values: T0,
src_offset: GLuint
)where
T0: AsTypedArray<'a0, i32>,
pub fn clear_bufferuiv<'a0, T0>(
&self,
buffer: GLenum,
drawbuffer: GLint,
values: T0,
src_offset: GLuint
)where
T0: AsTypedArray<'a0, u32>,
pub fn clear_color(
&self,
red: GLclampf,
green: GLclampf,
blue: GLclampf,
alpha: GLclampf
)
pub fn clear_depth(&self, depth: GLclampf)
pub fn clear_stencil(&self, s: GLint)
pub fn client_wait_sync(
&self,
sync: &WebGLSync,
flags: GLbitfield,
timeout: GLuint64
) -> GLenum
pub fn color_mask(
&self,
red: GLboolean,
green: GLboolean,
blue: GLboolean,
alpha: GLboolean
)
pub fn compile_shader(&self, shader: &WebGLShader)
pub fn compressed_tex_image2_d(
&self,
target: GLenum,
level: GLint,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
border: GLint,
image_size: GLsizei,
offset: GLintptr
)
pub fn compressed_tex_image2_d_1<'a0, T0>(
&self,
target: GLenum,
level: GLint,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
border: GLint,
src_data: T0,
src_offset: GLuint,
src_length_override: GLuint
)where
T0: AsArrayBufferView<'a0>,
pub fn compressed_tex_image2_d_2<'a0, T0>(
&self,
target: GLenum,
level: GLint,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
border: GLint,
data: T0
)where
T0: AsArrayBufferView<'a0>,
pub fn compressed_tex_image3_d(
&self,
target: GLenum,
level: GLint,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
border: GLint,
image_size: GLsizei,
offset: GLintptr
)
pub fn compressed_tex_image3_d_1<'a0, T0>(
&self,
target: GLenum,
level: GLint,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
border: GLint,
src_data: T0,
src_offset: GLuint,
src_length_override: GLuint
)where
T0: AsArrayBufferView<'a0>,
pub fn compressed_tex_sub_image2_d(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
image_size: GLsizei,
offset: GLintptr
)
pub fn compressed_tex_sub_image2_d_1<'a0, T0>(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
src_data: T0,
src_offset: GLuint,
src_length_override: GLuint
)where
T0: AsArrayBufferView<'a0>,
pub fn compressed_tex_sub_image2_d_2<'a0, T0>(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
data: T0
)where
T0: AsArrayBufferView<'a0>,
pub fn compressed_tex_sub_image3_d(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
zoffset: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
format: GLenum,
image_size: GLsizei,
offset: GLintptr
)
pub fn compressed_tex_sub_image3_d_1<'a0, T0>(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
zoffset: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
format: GLenum,
src_data: T0,
src_offset: GLuint,
src_length_override: GLuint
)where
T0: AsArrayBufferView<'a0>,
pub fn copy_buffer_sub_data(
&self,
read_target: GLenum,
write_target: GLenum,
read_offset: GLintptr,
write_offset: GLintptr,
size: GLsizeiptr
)
pub fn copy_tex_image2_d(
&self,
target: GLenum,
level: GLint,
internalformat: GLenum,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei,
border: GLint
)
pub fn copy_tex_sub_image2_d(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei
)
pub fn copy_tex_sub_image3_d(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
zoffset: GLint,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei
)
pub fn create_buffer(&self) -> Option<WebGLBuffer>
pub fn create_framebuffer(&self) -> Option<WebGLFramebuffer>
pub fn create_program(&self) -> Option<WebGLProgram>
pub fn create_query(&self) -> Option<WebGLQuery>
pub fn create_renderbuffer(&self) -> Option<WebGLRenderbuffer>
pub fn create_sampler(&self) -> Option<WebGLSampler>
pub fn create_shader(&self, type_: GLenum) -> Option<WebGLShader>
pub fn create_texture(&self) -> Option<WebGLTexture>
pub fn create_transform_feedback(&self) -> Option<WebGLTransformFeedback>
pub fn create_vertex_array(&self) -> Option<WebGLVertexArrayObject>
pub fn cull_face(&self, mode: GLenum)
pub fn delete_buffer(&self, buffer: Option<&WebGLBuffer>)
pub fn delete_framebuffer(&self, framebuffer: Option<&WebGLFramebuffer>)
pub fn delete_program(&self, program: Option<&WebGLProgram>)
pub fn delete_query(&self, query: Option<&WebGLQuery>)
pub fn delete_renderbuffer(&self, renderbuffer: Option<&WebGLRenderbuffer>)
pub fn delete_sampler(&self, sampler: Option<&WebGLSampler>)
pub fn delete_shader(&self, shader: Option<&WebGLShader>)
pub fn delete_sync(&self, sync: Option<&WebGLSync>)
pub fn delete_texture(&self, texture: Option<&WebGLTexture>)
pub fn delete_transform_feedback(&self, tf: Option<&WebGLTransformFeedback>)
pub fn delete_vertex_array(&self, vertex_array: Option<&WebGLVertexArrayObject>)
pub fn depth_func(&self, func: GLenum)
pub fn depth_mask(&self, flag: GLboolean)
pub fn depth_range(&self, z_near: GLclampf, z_far: GLclampf)
pub fn detach_shader(&self, program: &WebGLProgram, shader: &WebGLShader)
pub fn disable(&self, cap: GLenum)
pub fn disable_vertex_attrib_array(&self, index: GLuint)
pub fn draw_arrays(&self, mode: GLenum, first: GLint, count: GLsizei)
pub fn draw_arrays_instanced(
&self,
mode: GLenum,
first: GLint,
count: GLsizei,
instance_count: GLsizei
)
pub fn draw_buffers(&self, buffers: &[GLenum])
pub fn draw_elements(
&self,
mode: GLenum,
count: GLsizei,
type_: GLenum,
offset: GLintptr
)
pub fn draw_elements_instanced(
&self,
mode: GLenum,
count: GLsizei,
type_: GLenum,
offset: GLintptr,
instance_count: GLsizei
)
pub fn draw_range_elements(
&self,
mode: GLenum,
start: GLuint,
end: GLuint,
count: GLsizei,
type_: GLenum,
offset: GLintptr
)
pub fn drawing_buffer_height(&self) -> GLsizei
pub fn drawing_buffer_width(&self) -> GLsizei
pub fn enable(&self, cap: GLenum)
pub fn enable_vertex_attrib_array(&self, index: GLuint)
pub fn end_query(&self, target: GLenum)
pub fn end_transform_feedback(&self)
pub fn fence_sync(
&self,
condition: GLenum,
flags: GLbitfield
) -> Option<WebGLSync>
pub fn finish(&self)
pub fn flush(&self)
pub fn framebuffer_renderbuffer(
&self,
target: GLenum,
attachment: GLenum,
renderbuffertarget: GLenum,
renderbuffer: Option<&WebGLRenderbuffer>
)
pub fn framebuffer_texture2_d(
&self,
target: GLenum,
attachment: GLenum,
textarget: GLenum,
texture: Option<&WebGLTexture>,
level: GLint
)
pub fn framebuffer_texture_layer(
&self,
target: GLenum,
attachment: GLenum,
texture: Option<&WebGLTexture>,
level: GLint,
layer: GLint
)
pub fn front_face(&self, mode: GLenum)
pub fn generate_mipmap(&self, target: GLenum)
pub fn get_active_attrib(
&self,
program: &WebGLProgram,
index: GLuint
) -> Option<WebGLActiveInfo>
pub fn get_active_uniform(
&self,
program: &WebGLProgram,
index: GLuint
) -> Option<WebGLActiveInfo>
pub fn get_active_uniform_block_name(
&self,
program: &WebGLProgram,
uniform_block_index: GLuint
) -> Option<String>
pub fn get_active_uniform_block_parameter(
&self,
program: &WebGLProgram,
uniform_block_index: GLuint,
pname: GLenum
) -> Value
pub fn get_active_uniforms(
&self,
program: &WebGLProgram,
uniform_indices: &[GLuint],
pname: GLenum
) -> Value
pub fn get_attached_shaders(
&self,
program: &WebGLProgram
) -> Option<Vec<WebGLShader>>
pub fn get_attrib_location(&self, program: &WebGLProgram, name: &str) -> GLint
pub fn get_buffer_parameter(&self, target: GLenum, pname: GLenum) -> Value
pub fn get_buffer_sub_data<'a0, T0>(
&self,
target: GLenum,
src_byte_offset: GLintptr,
dst_buffer: T0,
dst_offset: GLuint,
length: GLuint
)where
T0: AsArrayBufferView<'a0>,
pub fn get_context_attributes(&self) -> Option<WebGLContextAttributes>
pub fn get_error(&self) -> GLenum
pub fn get_extension<E: Extension>(&self) -> Option<E>
pub fn get_frag_data_location(&self, program: &WebGLProgram, name: &str) -> GLint
pub fn get_framebuffer_attachment_parameter(
&self,
target: GLenum,
attachment: GLenum,
pname: GLenum
) -> Value
pub fn get_indexed_parameter(&self, target: GLenum, index: GLuint) -> Value
pub fn get_internalformat_parameter(
&self,
target: GLenum,
internalformat: GLenum,
pname: GLenum
) -> Value
pub fn get_parameter(&self, pname: GLenum) -> Value
pub fn get_program_info_log(&self, program: &WebGLProgram) -> Option<String>
pub fn get_program_parameter(
&self,
program: &WebGLProgram,
pname: GLenum
) -> Value
pub fn get_query(&self, target: GLenum, pname: GLenum) -> Option<WebGLQuery>
pub fn get_query_parameter(&self, query: &WebGLQuery, pname: GLenum) -> Value
pub fn get_renderbuffer_parameter(&self, target: GLenum, pname: GLenum) -> Value
pub fn get_sampler_parameter(
&self,
sampler: &WebGLSampler,
pname: GLenum
) -> Value
pub fn get_shader_info_log(&self, shader: &WebGLShader) -> Option<String>
pub fn get_shader_parameter(&self, shader: &WebGLShader, pname: GLenum) -> Value
pub fn get_shader_precision_format(
&self,
shadertype: GLenum,
precisiontype: GLenum
) -> Option<WebGLShaderPrecisionFormat>
pub fn get_shader_source(&self, shader: &WebGLShader) -> Option<String>
pub fn get_supported_extensions(&self) -> Option<Vec<String>>
pub fn get_sync_parameter(&self, sync: &WebGLSync, pname: GLenum) -> Value
pub fn get_tex_parameter(&self, target: GLenum, pname: GLenum) -> Value
pub fn get_transform_feedback_varying(
&self,
program: &WebGLProgram,
index: GLuint
) -> Option<WebGLActiveInfo>
pub fn get_uniform(
&self,
program: &WebGLProgram,
location: &WebGLUniformLocation
) -> Value
pub fn get_uniform_block_index(
&self,
program: &WebGLProgram,
uniform_block_name: &str
) -> GLuint
pub fn get_uniform_indices(
&self,
program: &WebGLProgram,
uniform_names: &[&str]
) -> Option<Vec<GLuint>>
pub fn get_uniform_location(
&self,
program: &WebGLProgram,
name: &str
) -> Option<WebGLUniformLocation>
pub fn get_vertex_attrib(&self, index: GLuint, pname: GLenum) -> Value
pub fn get_vertex_attrib_offset(&self, index: GLuint, pname: GLenum) -> GLintptr
pub fn hint(&self, target: GLenum, mode: GLenum)
pub fn invalidate_framebuffer(&self, target: GLenum, attachments: &[GLenum])
pub fn invalidate_sub_framebuffer(
&self,
target: GLenum,
attachments: &[GLenum],
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei
)
pub fn is_buffer(&self, buffer: Option<&WebGLBuffer>) -> GLboolean
pub fn is_context_lost(&self) -> bool
pub fn is_enabled(&self, cap: GLenum) -> GLboolean
pub fn is_framebuffer(&self, framebuffer: Option<&WebGLFramebuffer>) -> GLboolean
pub fn is_program(&self, program: Option<&WebGLProgram>) -> GLboolean
pub fn is_query(&self, query: Option<&WebGLQuery>) -> GLboolean
pub fn is_renderbuffer(
&self,
renderbuffer: Option<&WebGLRenderbuffer>
) -> GLboolean
pub fn is_sampler(&self, sampler: Option<&WebGLSampler>) -> GLboolean
pub fn is_shader(&self, shader: Option<&WebGLShader>) -> GLboolean
pub fn is_sync(&self, sync: Option<&WebGLSync>) -> GLboolean
pub fn is_texture(&self, texture: Option<&WebGLTexture>) -> GLboolean
pub fn is_transform_feedback(
&self,
tf: Option<&WebGLTransformFeedback>
) -> GLboolean
pub fn is_vertex_array(
&self,
vertex_array: Option<&WebGLVertexArrayObject>
) -> GLboolean
pub fn line_width(&self, width: GLfloat)
pub fn link_program(&self, program: &WebGLProgram)
pub fn pause_transform_feedback(&self)
pub fn pixel_storei(&self, pname: GLenum, param: GLint)
pub fn polygon_offset(&self, factor: GLfloat, units: GLfloat)
pub fn read_buffer(&self, src: GLenum)
pub fn read_pixels<'a0, T0>(
&self,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
type_: GLenum,
dst_data: Option<T0>
)where
T0: AsArrayBufferView<'a0>,
pub fn read_pixels_1(
&self,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
type_: GLenum,
offset: GLintptr
)
pub fn read_pixels_2<'a0, T0>(
&self,
x: GLint,
y: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
type_: GLenum,
dst_data: T0,
dst_offset: GLuint
)where
T0: AsArrayBufferView<'a0>,
pub fn renderbuffer_storage(
&self,
target: GLenum,
internalformat: GLenum,
width: GLsizei,
height: GLsizei
)
pub fn renderbuffer_storage_multisample(
&self,
target: GLenum,
samples: GLsizei,
internalformat: GLenum,
width: GLsizei,
height: GLsizei
)
pub fn resume_transform_feedback(&self)
pub fn sample_coverage(&self, value: GLclampf, invert: GLboolean)
pub fn sampler_parameterf(
&self,
sampler: &WebGLSampler,
pname: GLenum,
param: GLfloat
)
pub fn sampler_parameteri(
&self,
sampler: &WebGLSampler,
pname: GLenum,
param: GLint
)
pub fn scissor(&self, x: GLint, y: GLint, width: GLsizei, height: GLsizei)
pub fn shader_source(&self, shader: &WebGLShader, source: &str)
pub fn stencil_func(&self, func: GLenum, ref_: GLint, mask: GLuint)
pub fn stencil_func_separate(
&self,
face: GLenum,
func: GLenum,
ref_: GLint,
mask: GLuint
)
pub fn stencil_mask(&self, mask: GLuint)
pub fn stencil_mask_separate(&self, face: GLenum, mask: GLuint)
pub fn stencil_op(&self, fail: GLenum, zfail: GLenum, zpass: GLenum)
pub fn stencil_op_separate(
&self,
face: GLenum,
fail: GLenum,
zfail: GLenum,
zpass: GLenum
)
pub fn tex_image2_d<'a0, T0>(
&self,
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
height: GLsizei,
border: GLint,
format: GLenum,
type_: GLenum,
pixels: Option<T0>
)where
T0: AsArrayBufferView<'a0>,
pub fn tex_image2_d_1<T0>(
&self,
target: GLenum,
level: GLint,
internalformat: GLint,
format: GLenum,
type_: GLenum,
source: T0
)where
T0: JsSerialize,
pub fn tex_image2_d_2(
&self,
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
height: GLsizei,
border: GLint,
format: GLenum,
type_: GLenum,
pbo_offset: GLintptr
)
pub fn tex_image2_d_3<T0>(
&self,
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
height: GLsizei,
border: GLint,
format: GLenum,
type_: GLenum,
source: T0
)where
T0: JsSerialize,
pub fn tex_image2_d_4<'a0, T0>(
&self,
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
height: GLsizei,
border: GLint,
format: GLenum,
type_: GLenum,
src_data: T0,
src_offset: GLuint
)where
T0: AsArrayBufferView<'a0>,
pub fn tex_image3_d(
&self,
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
border: GLint,
format: GLenum,
type_: GLenum,
pbo_offset: GLintptr
)
pub fn tex_image3_d_1<T0>(
&self,
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
border: GLint,
format: GLenum,
type_: GLenum,
source: T0
)where
T0: JsSerialize,
pub fn tex_image3_d_2<'a0, T0>(
&self,
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
border: GLint,
format: GLenum,
type_: GLenum,
src_data: Option<T0>
)where
T0: AsArrayBufferView<'a0>,
pub fn tex_image3_d_3<'a0, T0>(
&self,
target: GLenum,
level: GLint,
internalformat: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
border: GLint,
format: GLenum,
type_: GLenum,
src_data: T0,
src_offset: GLuint
)where
T0: AsArrayBufferView<'a0>,
pub fn tex_parameterf(&self, target: GLenum, pname: GLenum, param: GLfloat)
pub fn tex_parameteri(&self, target: GLenum, pname: GLenum, param: GLint)
pub fn tex_storage2_d(
&self,
target: GLenum,
levels: GLsizei,
internalformat: GLenum,
width: GLsizei,
height: GLsizei
)
pub fn tex_storage3_d(
&self,
target: GLenum,
levels: GLsizei,
internalformat: GLenum,
width: GLsizei,
height: GLsizei,
depth: GLsizei
)
pub fn tex_sub_image2_d<'a0, T0>(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
type_: GLenum,
pixels: Option<T0>
)where
T0: AsArrayBufferView<'a0>,
pub fn tex_sub_image2_d_1<T0>(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
format: GLenum,
type_: GLenum,
source: T0
)where
T0: JsSerialize,
pub fn tex_sub_image2_d_2(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
type_: GLenum,
pbo_offset: GLintptr
)
pub fn tex_sub_image2_d_3<T0>(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
type_: GLenum,
source: T0
)where
T0: JsSerialize,
pub fn tex_sub_image2_d_4<'a0, T0>(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
width: GLsizei,
height: GLsizei,
format: GLenum,
type_: GLenum,
src_data: T0,
src_offset: GLuint
)where
T0: AsArrayBufferView<'a0>,
pub fn tex_sub_image3_d(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
zoffset: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
format: GLenum,
type_: GLenum,
pbo_offset: GLintptr
)
pub fn tex_sub_image3_d_1<T0>(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
zoffset: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
format: GLenum,
type_: GLenum,
source: T0
)where
T0: JsSerialize,
pub fn tex_sub_image3_d_2<'a0, T0>(
&self,
target: GLenum,
level: GLint,
xoffset: GLint,
yoffset: GLint,
zoffset: GLint,
width: GLsizei,
height: GLsizei,
depth: GLsizei,
format: GLenum,
type_: GLenum,
src_data: Option<T0>,
src_offset: GLuint
)where
T0: AsArrayBufferView<'a0>,
pub fn transform_feedback_varyings(
&self,
program: &WebGLProgram,
varyings: &[&str],
buffer_mode: GLenum
)
pub fn uniform1f(&self, location: Option<&WebGLUniformLocation>, x: GLfloat)
pub fn uniform1fv<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
data: T0,
src_offset: GLuint,
src_length: GLuint
)where
T0: AsTypedArray<'a0, f32>,
pub fn uniform1fv_1<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
v: T0
)where
T0: AsTypedArray<'a0, f32>,
pub fn uniform1i(&self, location: Option<&WebGLUniformLocation>, x: GLint)
pub fn uniform1iv<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
data: T0,
src_offset: GLuint,
src_length: GLuint
)where
T0: AsTypedArray<'a0, i32>,
pub fn uniform1iv_1<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
v: T0
)where
T0: AsTypedArray<'a0, i32>,
pub fn uniform1ui(&self, location: Option<&WebGLUniformLocation>, v0: GLuint)
pub fn uniform1uiv<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
data: T0,
src_offset: GLuint,
src_length: GLuint
)where
T0: AsTypedArray<'a0, u32>,
pub fn uniform2f(
&self,
location: Option<&WebGLUniformLocation>,
x: GLfloat,
y: GLfloat
)
pub fn uniform2fv<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
data: T0,
src_offset: GLuint,
src_length: GLuint
)where
T0: AsTypedArray<'a0, f32>,
pub fn uniform2fv_1<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
v: T0
)where
T0: AsTypedArray<'a0, f32>,
pub fn uniform2i(
&self,
location: Option<&WebGLUniformLocation>,
x: GLint,
y: GLint
)
pub fn uniform2iv<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
data: T0,
src_offset: GLuint,
src_length: GLuint
)where
T0: AsTypedArray<'a0, i32>,
pub fn uniform2iv_1<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
v: T0
)where
T0: AsTypedArray<'a0, i32>,
pub fn uniform2ui(
&self,
location: Option<&WebGLUniformLocation>,
v0: GLuint,
v1: GLuint
)
pub fn uniform2uiv<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
data: T0,
src_offset: GLuint,
src_length: GLuint
)where
T0: AsTypedArray<'a0, u32>,
pub fn uniform3f(
&self,
location: Option<&WebGLUniformLocation>,
x: GLfloat,
y: GLfloat,
z: GLfloat
)
pub fn uniform3fv<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
data: T0,
src_offset: GLuint,
src_length: GLuint
)where
T0: AsTypedArray<'a0, f32>,
pub fn uniform3fv_1<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
v: T0
)where
T0: AsTypedArray<'a0, f32>,
pub fn uniform3i(
&self,
location: Option<&WebGLUniformLocation>,
x: GLint,
y: GLint,
z: GLint
)
pub fn uniform3iv<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
data: T0,
src_offset: GLuint,
src_length: GLuint
)where
T0: AsTypedArray<'a0, i32>,
pub fn uniform3iv_1<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
v: T0
)where
T0: AsTypedArray<'a0, i32>,
pub fn uniform3ui(
&self,
location: Option<&WebGLUniformLocation>,
v0: GLuint,
v1: GLuint,
v2: GLuint
)
pub fn uniform3uiv<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
data: T0,
src_offset: GLuint,
src_length: GLuint
)where
T0: AsTypedArray<'a0, u32>,
pub fn uniform4f(
&self,
location: Option<&WebGLUniformLocation>,
x: GLfloat,
y: GLfloat,
z: GLfloat,
w: GLfloat
)
pub fn uniform4fv<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
data: T0,
src_offset: GLuint,
src_length: GLuint
)where
T0: AsTypedArray<'a0, f32>,
pub fn uniform4fv_1<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
v: T0
)where
T0: AsTypedArray<'a0, f32>,
pub fn uniform4i(
&self,
location: Option<&WebGLUniformLocation>,
x: GLint,
y: GLint,
z: GLint,
w: GLint
)
pub fn uniform4iv<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
data: T0,
src_offset: GLuint,
src_length: GLuint
)where
T0: AsTypedArray<'a0, i32>,
pub fn uniform4iv_1<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
v: T0
)where
T0: AsTypedArray<'a0, i32>,
pub fn uniform4ui(
&self,
location: Option<&WebGLUniformLocation>,
v0: GLuint,
v1: GLuint,
v2: GLuint,
v3: GLuint
)
pub fn uniform4uiv<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
data: T0,
src_offset: GLuint,
src_length: GLuint
)where
T0: AsTypedArray<'a0, u32>,
pub fn uniform_block_binding(
&self,
program: &WebGLProgram,
uniform_block_index: GLuint,
uniform_block_binding: GLuint
)
pub fn uniform_matrix2fv<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
transpose: GLboolean,
data: T0,
src_offset: GLuint,
src_length: GLuint
)where
T0: AsTypedArray<'a0, f32>,
pub fn uniform_matrix2fv_1<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
transpose: GLboolean,
value: T0
)where
T0: AsTypedArray<'a0, f32>,
pub fn uniform_matrix2x3fv<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
transpose: GLboolean,
data: T0,
src_offset: GLuint,
src_length: GLuint
)where
T0: AsTypedArray<'a0, f32>,
pub fn uniform_matrix2x4fv<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
transpose: GLboolean,
data: T0,
src_offset: GLuint,
src_length: GLuint
)where
T0: AsTypedArray<'a0, f32>,
pub fn uniform_matrix3fv<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
transpose: GLboolean,
data: T0,
src_offset: GLuint,
src_length: GLuint
)where
T0: AsTypedArray<'a0, f32>,
pub fn uniform_matrix3fv_1<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
transpose: GLboolean,
value: T0
)where
T0: AsTypedArray<'a0, f32>,
pub fn uniform_matrix3x2fv<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
transpose: GLboolean,
data: T0,
src_offset: GLuint,
src_length: GLuint
)where
T0: AsTypedArray<'a0, f32>,
pub fn uniform_matrix3x4fv<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
transpose: GLboolean,
data: T0,
src_offset: GLuint,
src_length: GLuint
)where
T0: AsTypedArray<'a0, f32>,
pub fn uniform_matrix4fv<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
transpose: GLboolean,
data: T0,
src_offset: GLuint,
src_length: GLuint
)where
T0: AsTypedArray<'a0, f32>,
pub fn uniform_matrix4fv_1<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
transpose: GLboolean,
value: T0
)where
T0: AsTypedArray<'a0, f32>,
pub fn uniform_matrix4x2fv<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
transpose: GLboolean,
data: T0,
src_offset: GLuint,
src_length: GLuint
)where
T0: AsTypedArray<'a0, f32>,
pub fn uniform_matrix4x3fv<'a0, T0>(
&self,
location: Option<&WebGLUniformLocation>,
transpose: GLboolean,
data: T0,
src_offset: GLuint,
src_length: GLuint
)where
T0: AsTypedArray<'a0, f32>,
pub fn use_program(&self, program: Option<&WebGLProgram>)
pub fn validate_program(&self, program: &WebGLProgram)
pub fn vertex_attrib1f(&self, index: GLuint, x: GLfloat)
pub fn vertex_attrib1fv<'a0, T0>(&self, index: GLuint, values: T0)where
T0: AsTypedArray<'a0, f32>,
pub fn vertex_attrib2f(&self, index: GLuint, x: GLfloat, y: GLfloat)
pub fn vertex_attrib2fv<'a0, T0>(&self, index: GLuint, values: T0)where
T0: AsTypedArray<'a0, f32>,
pub fn vertex_attrib3f(&self, index: GLuint, x: GLfloat, y: GLfloat, z: GLfloat)
pub fn vertex_attrib3fv<'a0, T0>(&self, index: GLuint, values: T0)where
T0: AsTypedArray<'a0, f32>,
pub fn vertex_attrib4f(
&self,
index: GLuint,
x: GLfloat,
y: GLfloat,
z: GLfloat,
w: GLfloat
)
pub fn vertex_attrib4fv<'a0, T0>(&self, index: GLuint, values: T0)where
T0: AsTypedArray<'a0, f32>,
pub fn vertex_attrib_divisor(&self, index: GLuint, divisor: GLuint)
pub fn vertex_attrib_i4i(
&self,
index: GLuint,
x: GLint,
y: GLint,
z: GLint,
w: GLint
)
pub fn vertex_attrib_i4iv<'a0, T0>(&self, index: GLuint, values: T0)where
T0: AsTypedArray<'a0, i32>,
pub fn vertex_attrib_i4ui(
&self,
index: GLuint,
x: GLuint,
y: GLuint,
z: GLuint,
w: GLuint
)
pub fn vertex_attrib_i4uiv<'a0, T0>(&self, index: GLuint, values: T0)where
T0: AsTypedArray<'a0, u32>,
pub fn vertex_attrib_i_pointer(
&self,
index: GLuint,
size: GLint,
type_: GLenum,
stride: GLsizei,
offset: GLintptr
)
pub fn vertex_attrib_pointer(
&self,
index: GLuint,
size: GLint,
type_: GLenum,
normalized: GLboolean,
stride: GLsizei,
offset: GLintptr
)
pub fn viewport(&self, x: GLint, y: GLint, width: GLsizei, height: GLsizei)
pub fn wait_sync(&self, sync: &WebGLSync, flags: GLbitfield, timeout: GLint64)
Trait Implementations
sourceimpl InstanceOf for GLContext
impl InstanceOf for GLContext
sourcefn instance_of(reference: &Reference) -> bool
fn instance_of(reference: &Reference) -> bool
Checks whenever a given Reference if of type
Self
.sourceimpl ReferenceType for GLContext
impl ReferenceType for GLContext
sourceunsafe fn from_reference_unchecked(reference: Reference) -> Self
unsafe fn from_reference_unchecked(reference: Reference) -> Self
Converts a given reference into a concrete reference-like wrapper.
Doesn’t do any type checking; highly unsafe to use! Read more
impl JsSerialize for GLContext
Auto Trait Implementations
impl RefUnwindSafe for GLContext
impl Send for GLContext
impl Sync for GLContext
impl Unpin for GLContext
impl UnwindSafe for GLContext
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more