webapi: github.com/gowebapi/webapi/graphics/webgl2 Index | Files

package webgl2

import "github.com/gowebapi/webapi/graphics/webgl2"

Package webgl2 allows rendering using an API that conforms closely to the OpenGL ES 3.0 API.

Source: WebGL 2.0 Specification (https://www.khronos.org/registry/webgl/specs/latest/2.0/)

Index

Package Files

doc.go webgl2.go

Constants

const (
    DEPTH_BUFFER_BIT                              uint = 0x00000100
    STENCIL_BUFFER_BIT                            uint = 0x00000400
    COLOR_BUFFER_BIT                              uint = 0x00004000
    POINTS                                        uint = 0x0000
    LINES                                         uint = 0x0001
    LINE_LOOP                                     uint = 0x0002
    LINE_STRIP                                    uint = 0x0003
    TRIANGLES                                     uint = 0x0004
    TRIANGLE_STRIP                                uint = 0x0005
    TRIANGLE_FAN                                  uint = 0x0006
    ZERO                                          uint = 0
    ONE                                           uint = 1
    SRC_COLOR                                     uint = 0x0300
    ONE_MINUS_SRC_COLOR                           uint = 0x0301
    SRC_ALPHA                                     uint = 0x0302
    ONE_MINUS_SRC_ALPHA                           uint = 0x0303
    DST_ALPHA                                     uint = 0x0304
    ONE_MINUS_DST_ALPHA                           uint = 0x0305
    DST_COLOR                                     uint = 0x0306
    ONE_MINUS_DST_COLOR                           uint = 0x0307
    SRC_ALPHA_SATURATE                            uint = 0x0308
    FUNC_ADD                                      uint = 0x8006
    BLEND_EQUATION                                uint = 0x8009
    BLEND_EQUATION_RGB                            uint = 0x8009
    BLEND_EQUATION_ALPHA                          uint = 0x883D
    FUNC_SUBTRACT                                 uint = 0x800A
    FUNC_REVERSE_SUBTRACT                         uint = 0x800B
    BLEND_DST_RGB                                 uint = 0x80C8
    BLEND_SRC_RGB                                 uint = 0x80C9
    BLEND_DST_ALPHA                               uint = 0x80CA
    BLEND_SRC_ALPHA                               uint = 0x80CB
    CONSTANT_COLOR                                uint = 0x8001
    ONE_MINUS_CONSTANT_COLOR                      uint = 0x8002
    CONSTANT_ALPHA                                uint = 0x8003
    ONE_MINUS_CONSTANT_ALPHA                      uint = 0x8004
    BLEND_COLOR                                   uint = 0x8005
    ARRAY_BUFFER                                  uint = 0x8892
    ELEMENT_ARRAY_BUFFER                          uint = 0x8893
    ARRAY_BUFFER_BINDING                          uint = 0x8894
    ELEMENT_ARRAY_BUFFER_BINDING                  uint = 0x8895
    STREAM_DRAW                                   uint = 0x88E0
    STATIC_DRAW                                   uint = 0x88E4
    DYNAMIC_DRAW                                  uint = 0x88E8
    BUFFER_SIZE                                   uint = 0x8764
    BUFFER_USAGE                                  uint = 0x8765
    CURRENT_VERTEX_ATTRIB                         uint = 0x8626
    FRONT                                         uint = 0x0404
    BACK                                          uint = 0x0405
    FRONT_AND_BACK                                uint = 0x0408
    CULL_FACE                                     uint = 0x0B44
    BLEND                                         uint = 0x0BE2
    DITHER                                        uint = 0x0BD0
    STENCIL_TEST                                  uint = 0x0B90
    DEPTH_TEST                                    uint = 0x0B71
    SCISSOR_TEST                                  uint = 0x0C11
    POLYGON_OFFSET_FILL                           uint = 0x8037
    SAMPLE_ALPHA_TO_COVERAGE                      uint = 0x809E
    SAMPLE_COVERAGE                               uint = 0x80A0
    NO_ERROR                                      uint = 0
    INVALID_ENUM                                  uint = 0x0500
    INVALID_VALUE                                 uint = 0x0501
    INVALID_OPERATION                             uint = 0x0502
    OUT_OF_MEMORY                                 uint = 0x0505
    CW                                            uint = 0x0900
    CCW                                           uint = 0x0901
    LINE_WIDTH                                    uint = 0x0B21
    ALIASED_POINT_SIZE_RANGE                      uint = 0x846D
    ALIASED_LINE_WIDTH_RANGE                      uint = 0x846E
    CULL_FACE_MODE                                uint = 0x0B45
    FRONT_FACE                                    uint = 0x0B46
    DEPTH_RANGE                                   uint = 0x0B70
    DEPTH_WRITEMASK                               uint = 0x0B72
    DEPTH_CLEAR_VALUE                             uint = 0x0B73
    DEPTH_FUNC                                    uint = 0x0B74
    STENCIL_CLEAR_VALUE                           uint = 0x0B91
    STENCIL_FUNC                                  uint = 0x0B92
    STENCIL_FAIL                                  uint = 0x0B94
    STENCIL_PASS_DEPTH_FAIL                       uint = 0x0B95
    STENCIL_PASS_DEPTH_PASS                       uint = 0x0B96
    STENCIL_REF                                   uint = 0x0B97
    STENCIL_VALUE_MASK                            uint = 0x0B93
    STENCIL_WRITEMASK                             uint = 0x0B98
    STENCIL_BACK_FUNC                             uint = 0x8800
    STENCIL_BACK_FAIL                             uint = 0x8801
    STENCIL_BACK_PASS_DEPTH_FAIL                  uint = 0x8802
    STENCIL_BACK_PASS_DEPTH_PASS                  uint = 0x8803
    STENCIL_BACK_REF                              uint = 0x8CA3
    STENCIL_BACK_VALUE_MASK                       uint = 0x8CA4
    STENCIL_BACK_WRITEMASK                        uint = 0x8CA5
    VIEWPORT                                      uint = 0x0BA2
    SCISSOR_BOX                                   uint = 0x0C10
    COLOR_CLEAR_VALUE                             uint = 0x0C22
    COLOR_WRITEMASK                               uint = 0x0C23
    UNPACK_ALIGNMENT                              uint = 0x0CF5
    PACK_ALIGNMENT                                uint = 0x0D05
    MAX_TEXTURE_SIZE                              uint = 0x0D33
    MAX_VIEWPORT_DIMS                             uint = 0x0D3A
    SUBPIXEL_BITS                                 uint = 0x0D50
    RED_BITS                                      uint = 0x0D52
    GREEN_BITS                                    uint = 0x0D53
    BLUE_BITS                                     uint = 0x0D54
    ALPHA_BITS                                    uint = 0x0D55
    DEPTH_BITS                                    uint = 0x0D56
    STENCIL_BITS                                  uint = 0x0D57
    POLYGON_OFFSET_UNITS                          uint = 0x2A00
    POLYGON_OFFSET_FACTOR                         uint = 0x8038
    TEXTURE_BINDING_2D                            uint = 0x8069
    SAMPLE_BUFFERS                                uint = 0x80A8
    SAMPLES                                       uint = 0x80A9
    SAMPLE_COVERAGE_VALUE                         uint = 0x80AA
    SAMPLE_COVERAGE_INVERT                        uint = 0x80AB
    COMPRESSED_TEXTURE_FORMATS                    uint = 0x86A3
    DONT_CARE                                     uint = 0x1100
    FASTEST                                       uint = 0x1101
    NICEST                                        uint = 0x1102
    GENERATE_MIPMAP_HINT                          uint = 0x8192
    BYTE                                          uint = 0x1400
    UNSIGNED_BYTE                                 uint = 0x1401
    SHORT                                         uint = 0x1402
    UNSIGNED_SHORT                                uint = 0x1403
    INT                                           uint = 0x1404
    UNSIGNED_INT                                  uint = 0x1405
    FLOAT                                         uint = 0x1406
    DEPTH_COMPONENT                               uint = 0x1902
    ALPHA                                         uint = 0x1906
    RGB                                           uint = 0x1907
    RGBA                                          uint = 0x1908
    LUMINANCE                                     uint = 0x1909
    LUMINANCE_ALPHA                               uint = 0x190A
    UNSIGNED_SHORT_4_4_4_4                        uint = 0x8033
    UNSIGNED_SHORT_5_5_5_1                        uint = 0x8034
    UNSIGNED_SHORT_5_6_5                          uint = 0x8363
    FRAGMENT_SHADER                               uint = 0x8B30
    VERTEX_SHADER                                 uint = 0x8B31
    MAX_VERTEX_ATTRIBS                            uint = 0x8869
    MAX_VERTEX_UNIFORM_VECTORS                    uint = 0x8DFB
    MAX_VARYING_VECTORS                           uint = 0x8DFC
    MAX_COMBINED_TEXTURE_IMAGE_UNITS              uint = 0x8B4D
    MAX_VERTEX_TEXTURE_IMAGE_UNITS                uint = 0x8B4C
    MAX_TEXTURE_IMAGE_UNITS                       uint = 0x8872
    MAX_FRAGMENT_UNIFORM_VECTORS                  uint = 0x8DFD
    SHADER_TYPE                                   uint = 0x8B4F
    DELETE_STATUS                                 uint = 0x8B80
    LINK_STATUS                                   uint = 0x8B82
    VALIDATE_STATUS                               uint = 0x8B83
    ATTACHED_SHADERS                              uint = 0x8B85
    ACTIVE_UNIFORMS                               uint = 0x8B86
    ACTIVE_ATTRIBUTES                             uint = 0x8B89
    SHADING_LANGUAGE_VERSION                      uint = 0x8B8C
    CURRENT_PROGRAM                               uint = 0x8B8D
    NEVER                                         uint = 0x0200
    LESS                                          uint = 0x0201
    EQUAL                                         uint = 0x0202
    LEQUAL                                        uint = 0x0203
    GREATER                                       uint = 0x0204
    NOTEQUAL                                      uint = 0x0205
    GEQUAL                                        uint = 0x0206
    ALWAYS                                        uint = 0x0207
    KEEP                                          uint = 0x1E00
    REPLACE                                       uint = 0x1E01
    INCR                                          uint = 0x1E02
    DECR                                          uint = 0x1E03
    INVERT                                        uint = 0x150A
    INCR_WRAP                                     uint = 0x8507
    DECR_WRAP                                     uint = 0x8508
    VENDOR                                        uint = 0x1F00
    RENDERER                                      uint = 0x1F01
    VERSION                                       uint = 0x1F02
    NEAREST                                       uint = 0x2600
    LINEAR                                        uint = 0x2601
    NEAREST_MIPMAP_NEAREST                        uint = 0x2700
    LINEAR_MIPMAP_NEAREST                         uint = 0x2701
    NEAREST_MIPMAP_LINEAR                         uint = 0x2702
    LINEAR_MIPMAP_LINEAR                          uint = 0x2703
    TEXTURE_MAG_FILTER                            uint = 0x2800
    TEXTURE_MIN_FILTER                            uint = 0x2801
    TEXTURE_WRAP_S                                uint = 0x2802
    TEXTURE_WRAP_T                                uint = 0x2803
    TEXTURE_2D                                    uint = 0x0DE1
    TEXTURE                                       uint = 0x1702
    TEXTURE_CUBE_MAP                              uint = 0x8513
    TEXTURE_BINDING_CUBE_MAP                      uint = 0x8514
    TEXTURE_CUBE_MAP_POSITIVE_X                   uint = 0x8515
    TEXTURE_CUBE_MAP_NEGATIVE_X                   uint = 0x8516
    TEXTURE_CUBE_MAP_POSITIVE_Y                   uint = 0x8517
    TEXTURE_CUBE_MAP_NEGATIVE_Y                   uint = 0x8518
    TEXTURE_CUBE_MAP_POSITIVE_Z                   uint = 0x8519
    TEXTURE_CUBE_MAP_NEGATIVE_Z                   uint = 0x851A
    MAX_CUBE_MAP_TEXTURE_SIZE                     uint = 0x851C
    TEXTURE0                                      uint = 0x84C0
    TEXTURE1                                      uint = 0x84C1
    TEXTURE2                                      uint = 0x84C2
    TEXTURE3                                      uint = 0x84C3
    TEXTURE4                                      uint = 0x84C4
    TEXTURE5                                      uint = 0x84C5
    TEXTURE6                                      uint = 0x84C6
    TEXTURE7                                      uint = 0x84C7
    TEXTURE8                                      uint = 0x84C8
    TEXTURE9                                      uint = 0x84C9
    TEXTURE10                                     uint = 0x84CA
    TEXTURE11                                     uint = 0x84CB
    TEXTURE12                                     uint = 0x84CC
    TEXTURE13                                     uint = 0x84CD
    TEXTURE14                                     uint = 0x84CE
    TEXTURE15                                     uint = 0x84CF
    TEXTURE16                                     uint = 0x84D0
    TEXTURE17                                     uint = 0x84D1
    TEXTURE18                                     uint = 0x84D2
    TEXTURE19                                     uint = 0x84D3
    TEXTURE20                                     uint = 0x84D4
    TEXTURE21                                     uint = 0x84D5
    TEXTURE22                                     uint = 0x84D6
    TEXTURE23                                     uint = 0x84D7
    TEXTURE24                                     uint = 0x84D8
    TEXTURE25                                     uint = 0x84D9
    TEXTURE26                                     uint = 0x84DA
    TEXTURE27                                     uint = 0x84DB
    TEXTURE28                                     uint = 0x84DC
    TEXTURE29                                     uint = 0x84DD
    TEXTURE30                                     uint = 0x84DE
    TEXTURE31                                     uint = 0x84DF
    ACTIVE_TEXTURE                                uint = 0x84E0
    REPEAT                                        uint = 0x2901
    CLAMP_TO_EDGE                                 uint = 0x812F
    MIRRORED_REPEAT                               uint = 0x8370
    FLOAT_VEC2                                    uint = 0x8B50
    FLOAT_VEC3                                    uint = 0x8B51
    FLOAT_VEC4                                    uint = 0x8B52
    INT_VEC2                                      uint = 0x8B53
    INT_VEC3                                      uint = 0x8B54
    INT_VEC4                                      uint = 0x8B55
    BOOL                                          uint = 0x8B56
    BOOL_VEC2                                     uint = 0x8B57
    BOOL_VEC3                                     uint = 0x8B58
    BOOL_VEC4                                     uint = 0x8B59
    FLOAT_MAT2                                    uint = 0x8B5A
    FLOAT_MAT3                                    uint = 0x8B5B
    FLOAT_MAT4                                    uint = 0x8B5C
    SAMPLER_2D                                    uint = 0x8B5E
    SAMPLER_CUBE                                  uint = 0x8B60
    VERTEX_ATTRIB_ARRAY_ENABLED                   uint = 0x8622
    VERTEX_ATTRIB_ARRAY_SIZE                      uint = 0x8623
    VERTEX_ATTRIB_ARRAY_STRIDE                    uint = 0x8624
    VERTEX_ATTRIB_ARRAY_TYPE                      uint = 0x8625
    VERTEX_ATTRIB_ARRAY_NORMALIZED                uint = 0x886A
    VERTEX_ATTRIB_ARRAY_POINTER                   uint = 0x8645
    VERTEX_ATTRIB_ARRAY_BUFFER_BINDING            uint = 0x889F
    IMPLEMENTATION_COLOR_READ_TYPE                uint = 0x8B9A
    IMPLEMENTATION_COLOR_READ_FORMAT              uint = 0x8B9B
    COMPILE_STATUS                                uint = 0x8B81
    LOW_FLOAT                                     uint = 0x8DF0
    MEDIUM_FLOAT                                  uint = 0x8DF1
    HIGH_FLOAT                                    uint = 0x8DF2
    LOW_INT                                       uint = 0x8DF3
    MEDIUM_INT                                    uint = 0x8DF4
    HIGH_INT                                      uint = 0x8DF5
    FRAMEBUFFER                                   uint = 0x8D40
    RENDERBUFFER                                  uint = 0x8D41
    RGBA4                                         uint = 0x8056
    RGB5_A1                                       uint = 0x8057
    RGB565                                        uint = 0x8D62
    DEPTH_COMPONENT16                             uint = 0x81A5
    STENCIL_INDEX8                                uint = 0x8D48
    DEPTH_STENCIL                                 uint = 0x84F9
    RENDERBUFFER_WIDTH                            uint = 0x8D42
    RENDERBUFFER_HEIGHT                           uint = 0x8D43
    RENDERBUFFER_INTERNAL_FORMAT                  uint = 0x8D44
    RENDERBUFFER_RED_SIZE                         uint = 0x8D50
    RENDERBUFFER_GREEN_SIZE                       uint = 0x8D51
    RENDERBUFFER_BLUE_SIZE                        uint = 0x8D52
    RENDERBUFFER_ALPHA_SIZE                       uint = 0x8D53
    RENDERBUFFER_DEPTH_SIZE                       uint = 0x8D54
    RENDERBUFFER_STENCIL_SIZE                     uint = 0x8D55
    FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE            uint = 0x8CD0
    FRAMEBUFFER_ATTACHMENT_OBJECT_NAME            uint = 0x8CD1
    FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL          uint = 0x8CD2
    FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE  uint = 0x8CD3
    COLOR_ATTACHMENT0                             uint = 0x8CE0
    DEPTH_ATTACHMENT                              uint = 0x8D00
    STENCIL_ATTACHMENT                            uint = 0x8D20
    DEPTH_STENCIL_ATTACHMENT                      uint = 0x821A
    NONE                                          uint = 0
    FRAMEBUFFER_COMPLETE                          uint = 0x8CD5
    FRAMEBUFFER_INCOMPLETE_ATTACHMENT             uint = 0x8CD6
    FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT     uint = 0x8CD7
    FRAMEBUFFER_INCOMPLETE_DIMENSIONS             uint = 0x8CD9
    FRAMEBUFFER_UNSUPPORTED                       uint = 0x8CDD
    FRAMEBUFFER_BINDING                           uint = 0x8CA6
    RENDERBUFFER_BINDING                          uint = 0x8CA7
    MAX_RENDERBUFFER_SIZE                         uint = 0x84E8
    INVALID_FRAMEBUFFER_OPERATION                 uint = 0x0506
    UNPACK_FLIP_Y_WEBGL                           uint = 0x9240
    UNPACK_PREMULTIPLY_ALPHA_WEBGL                uint = 0x9241
    CONTEXT_LOST_WEBGL                            uint = 0x9242
    UNPACK_COLORSPACE_CONVERSION_WEBGL            uint = 0x9243
    BROWSER_DEFAULT_WEBGL                         uint = 0x9244
    READ_BUFFER                                   uint = 0x0C02
    UNPACK_ROW_LENGTH                             uint = 0x0CF2
    UNPACK_SKIP_ROWS                              uint = 0x0CF3
    UNPACK_SKIP_PIXELS                            uint = 0x0CF4
    PACK_ROW_LENGTH                               uint = 0x0D02
    PACK_SKIP_ROWS                                uint = 0x0D03
    PACK_SKIP_PIXELS                              uint = 0x0D04
    COLOR                                         uint = 0x1800
    DEPTH                                         uint = 0x1801
    STENCIL                                       uint = 0x1802
    RED                                           uint = 0x1903
    RGB8                                          uint = 0x8051
    RGBA8                                         uint = 0x8058
    RGB10_A2                                      uint = 0x8059
    TEXTURE_BINDING_3D                            uint = 0x806A
    UNPACK_SKIP_IMAGES                            uint = 0x806D
    UNPACK_IMAGE_HEIGHT                           uint = 0x806E
    TEXTURE_3D                                    uint = 0x806F
    TEXTURE_WRAP_R                                uint = 0x8072
    MAX_3D_TEXTURE_SIZE                           uint = 0x8073
    UNSIGNED_INT_2_10_10_10_REV                   uint = 0x8368
    MAX_ELEMENTS_VERTICES                         uint = 0x80E8
    MAX_ELEMENTS_INDICES                          uint = 0x80E9
    TEXTURE_MIN_LOD                               uint = 0x813A
    TEXTURE_MAX_LOD                               uint = 0x813B
    TEXTURE_BASE_LEVEL                            uint = 0x813C
    TEXTURE_MAX_LEVEL                             uint = 0x813D
    MIN                                           uint = 0x8007
    MAX                                           uint = 0x8008
    DEPTH_COMPONENT24                             uint = 0x81A6
    MAX_TEXTURE_LOD_BIAS                          uint = 0x84FD
    TEXTURE_COMPARE_MODE                          uint = 0x884C
    TEXTURE_COMPARE_FUNC                          uint = 0x884D
    CURRENT_QUERY                                 uint = 0x8865
    QUERY_RESULT                                  uint = 0x8866
    QUERY_RESULT_AVAILABLE                        uint = 0x8867
    STREAM_READ                                   uint = 0x88E1
    STREAM_COPY                                   uint = 0x88E2
    STATIC_READ                                   uint = 0x88E5
    STATIC_COPY                                   uint = 0x88E6
    DYNAMIC_READ                                  uint = 0x88E9
    DYNAMIC_COPY                                  uint = 0x88EA
    MAX_DRAW_BUFFERS                              uint = 0x8824
    DRAW_BUFFER0                                  uint = 0x8825
    DRAW_BUFFER1                                  uint = 0x8826
    DRAW_BUFFER2                                  uint = 0x8827
    DRAW_BUFFER3                                  uint = 0x8828
    DRAW_BUFFER4                                  uint = 0x8829
    DRAW_BUFFER5                                  uint = 0x882A
    DRAW_BUFFER6                                  uint = 0x882B
    DRAW_BUFFER7                                  uint = 0x882C
    DRAW_BUFFER8                                  uint = 0x882D
    DRAW_BUFFER9                                  uint = 0x882E
    DRAW_BUFFER10                                 uint = 0x882F
    DRAW_BUFFER11                                 uint = 0x8830
    DRAW_BUFFER12                                 uint = 0x8831
    DRAW_BUFFER13                                 uint = 0x8832
    DRAW_BUFFER14                                 uint = 0x8833
    DRAW_BUFFER15                                 uint = 0x8834
    MAX_FRAGMENT_UNIFORM_COMPONENTS               uint = 0x8B49
    MAX_VERTEX_UNIFORM_COMPONENTS                 uint = 0x8B4A
    SAMPLER_3D                                    uint = 0x8B5F
    SAMPLER_2D_SHADOW                             uint = 0x8B62
    FRAGMENT_SHADER_DERIVATIVE_HINT               uint = 0x8B8B
    PIXEL_PACK_BUFFER                             uint = 0x88EB
    PIXEL_UNPACK_BUFFER                           uint = 0x88EC
    PIXEL_PACK_BUFFER_BINDING                     uint = 0x88ED
    PIXEL_UNPACK_BUFFER_BINDING                   uint = 0x88EF
    FLOAT_MAT2x3                                  uint = 0x8B65
    FLOAT_MAT2x4                                  uint = 0x8B66
    FLOAT_MAT3x2                                  uint = 0x8B67
    FLOAT_MAT3x4                                  uint = 0x8B68
    FLOAT_MAT4x2                                  uint = 0x8B69
    FLOAT_MAT4x3                                  uint = 0x8B6A
    SRGB                                          uint = 0x8C40
    SRGB8                                         uint = 0x8C41
    SRGB8_ALPHA8                                  uint = 0x8C43
    COMPARE_REF_TO_TEXTURE                        uint = 0x884E
    RGBA32F                                       uint = 0x8814
    RGB32F                                        uint = 0x8815
    RGBA16F                                       uint = 0x881A
    RGB16F                                        uint = 0x881B
    VERTEX_ATTRIB_ARRAY_INTEGER                   uint = 0x88FD
    MAX_ARRAY_TEXTURE_LAYERS                      uint = 0x88FF
    MIN_PROGRAM_TEXEL_OFFSET                      uint = 0x8904
    MAX_PROGRAM_TEXEL_OFFSET                      uint = 0x8905
    MAX_VARYING_COMPONENTS                        uint = 0x8B4B
    TEXTURE_2D_ARRAY                              uint = 0x8C1A
    TEXTURE_BINDING_2D_ARRAY                      uint = 0x8C1D
    R11F_G11F_B10F                                uint = 0x8C3A
    UNSIGNED_INT_10F_11F_11F_REV                  uint = 0x8C3B
    RGB9_E5                                       uint = 0x8C3D
    UNSIGNED_INT_5_9_9_9_REV                      uint = 0x8C3E
    TRANSFORM_FEEDBACK_BUFFER_MODE                uint = 0x8C7F
    MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS    uint = 0x8C80
    TRANSFORM_FEEDBACK_VARYINGS                   uint = 0x8C83
    TRANSFORM_FEEDBACK_BUFFER_START               uint = 0x8C84
    TRANSFORM_FEEDBACK_BUFFER_SIZE                uint = 0x8C85
    TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN         uint = 0x8C88
    RASTERIZER_DISCARD                            uint = 0x8C89
    MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS uint = 0x8C8A
    MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS       uint = 0x8C8B
    INTERLEAVED_ATTRIBS                           uint = 0x8C8C
    SEPARATE_ATTRIBS                              uint = 0x8C8D
    TRANSFORM_FEEDBACK_BUFFER                     uint = 0x8C8E
    TRANSFORM_FEEDBACK_BUFFER_BINDING             uint = 0x8C8F
    RGBA32UI                                      uint = 0x8D70
    RGB32UI                                       uint = 0x8D71
    RGBA16UI                                      uint = 0x8D76
    RGB16UI                                       uint = 0x8D77
    RGBA8UI                                       uint = 0x8D7C
    RGB8UI                                        uint = 0x8D7D
    RGBA32I                                       uint = 0x8D82
    RGB32I                                        uint = 0x8D83
    RGBA16I                                       uint = 0x8D88
    RGB16I                                        uint = 0x8D89
    RGBA8I                                        uint = 0x8D8E
    RGB8I                                         uint = 0x8D8F
    RED_INTEGER                                   uint = 0x8D94
    RGB_INTEGER                                   uint = 0x8D98
    RGBA_INTEGER                                  uint = 0x8D99
    SAMPLER_2D_ARRAY                              uint = 0x8DC1
    SAMPLER_2D_ARRAY_SHADOW                       uint = 0x8DC4
    SAMPLER_CUBE_SHADOW                           uint = 0x8DC5
    UNSIGNED_INT_VEC2                             uint = 0x8DC6
    UNSIGNED_INT_VEC3                             uint = 0x8DC7
    UNSIGNED_INT_VEC4                             uint = 0x8DC8
    INT_SAMPLER_2D                                uint = 0x8DCA
    INT_SAMPLER_3D                                uint = 0x8DCB
    INT_SAMPLER_CUBE                              uint = 0x8DCC
    INT_SAMPLER_2D_ARRAY                          uint = 0x8DCF
    UNSIGNED_INT_SAMPLER_2D                       uint = 0x8DD2
    UNSIGNED_INT_SAMPLER_3D                       uint = 0x8DD3
    UNSIGNED_INT_SAMPLER_CUBE                     uint = 0x8DD4
    UNSIGNED_INT_SAMPLER_2D_ARRAY                 uint = 0x8DD7
    DEPTH_COMPONENT32F                            uint = 0x8CAC
    DEPTH32F_STENCIL8                             uint = 0x8CAD
    FLOAT_32_UNSIGNED_INT_24_8_REV                uint = 0x8DAD
    FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING         uint = 0x8210
    FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE         uint = 0x8211
    FRAMEBUFFER_ATTACHMENT_RED_SIZE               uint = 0x8212
    FRAMEBUFFER_ATTACHMENT_GREEN_SIZE             uint = 0x8213
    FRAMEBUFFER_ATTACHMENT_BLUE_SIZE              uint = 0x8214
    FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE             uint = 0x8215
    FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE             uint = 0x8216
    FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE           uint = 0x8217
    FRAMEBUFFER_DEFAULT                           uint = 0x8218
    UNSIGNED_INT_24_8                             uint = 0x84FA
    DEPTH24_STENCIL8                              uint = 0x88F0
    UNSIGNED_NORMALIZED                           uint = 0x8C17
    DRAW_FRAMEBUFFER_BINDING                      uint = 0x8CA6
    READ_FRAMEBUFFER                              uint = 0x8CA8
    DRAW_FRAMEBUFFER                              uint = 0x8CA9
    READ_FRAMEBUFFER_BINDING                      uint = 0x8CAA
    RENDERBUFFER_SAMPLES                          uint = 0x8CAB
    FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER          uint = 0x8CD4
    MAX_COLOR_ATTACHMENTS                         uint = 0x8CDF
    COLOR_ATTACHMENT1                             uint = 0x8CE1
    COLOR_ATTACHMENT2                             uint = 0x8CE2
    COLOR_ATTACHMENT3                             uint = 0x8CE3
    COLOR_ATTACHMENT4                             uint = 0x8CE4
    COLOR_ATTACHMENT5                             uint = 0x8CE5
    COLOR_ATTACHMENT6                             uint = 0x8CE6
    COLOR_ATTACHMENT7                             uint = 0x8CE7
    COLOR_ATTACHMENT8                             uint = 0x8CE8
    COLOR_ATTACHMENT9                             uint = 0x8CE9
    COLOR_ATTACHMENT10                            uint = 0x8CEA
    COLOR_ATTACHMENT11                            uint = 0x8CEB
    COLOR_ATTACHMENT12                            uint = 0x8CEC
    COLOR_ATTACHMENT13                            uint = 0x8CED
    COLOR_ATTACHMENT14                            uint = 0x8CEE
    COLOR_ATTACHMENT15                            uint = 0x8CEF
    FRAMEBUFFER_INCOMPLETE_MULTISAMPLE            uint = 0x8D56
    MAX_SAMPLES                                   uint = 0x8D57
    HALF_FLOAT                                    uint = 0x140B
    RG                                            uint = 0x8227
    RG_INTEGER                                    uint = 0x8228
    R8                                            uint = 0x8229
    RG8                                           uint = 0x822B
    R16F                                          uint = 0x822D
    R32F                                          uint = 0x822E
    RG16F                                         uint = 0x822F
    RG32F                                         uint = 0x8230
    R8I                                           uint = 0x8231
    R8UI                                          uint = 0x8232
    R16I                                          uint = 0x8233
    R16UI                                         uint = 0x8234
    R32I                                          uint = 0x8235
    R32UI                                         uint = 0x8236
    RG8I                                          uint = 0x8237
    RG8UI                                         uint = 0x8238
    RG16I                                         uint = 0x8239
    RG16UI                                        uint = 0x823A
    RG32I                                         uint = 0x823B
    RG32UI                                        uint = 0x823C
    VERTEX_ARRAY_BINDING                          uint = 0x85B5
    R8_SNORM                                      uint = 0x8F94
    RG8_SNORM                                     uint = 0x8F95
    RGB8_SNORM                                    uint = 0x8F96
    RGBA8_SNORM                                   uint = 0x8F97
    SIGNED_NORMALIZED                             uint = 0x8F9C
    COPY_READ_BUFFER                              uint = 0x8F36
    COPY_WRITE_BUFFER                             uint = 0x8F37
    COPY_READ_BUFFER_BINDING                      uint = 0x8F36
    COPY_WRITE_BUFFER_BINDING                     uint = 0x8F37
    UNIFORM_BUFFER                                uint = 0x8A11
    UNIFORM_BUFFER_BINDING                        uint = 0x8A28
    UNIFORM_BUFFER_START                          uint = 0x8A29
    UNIFORM_BUFFER_SIZE                           uint = 0x8A2A
    MAX_VERTEX_UNIFORM_BLOCKS                     uint = 0x8A2B
    MAX_FRAGMENT_UNIFORM_BLOCKS                   uint = 0x8A2D
    MAX_COMBINED_UNIFORM_BLOCKS                   uint = 0x8A2E
    MAX_UNIFORM_BUFFER_BINDINGS                   uint = 0x8A2F
    MAX_UNIFORM_BLOCK_SIZE                        uint = 0x8A30
    MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS        uint = 0x8A31
    MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS      uint = 0x8A33
    UNIFORM_BUFFER_OFFSET_ALIGNMENT               uint = 0x8A34
    ACTIVE_UNIFORM_BLOCKS                         uint = 0x8A36
    UNIFORM_TYPE                                  uint = 0x8A37
    UNIFORM_SIZE                                  uint = 0x8A38
    UNIFORM_BLOCK_INDEX                           uint = 0x8A3A
    UNIFORM_OFFSET                                uint = 0x8A3B
    UNIFORM_ARRAY_STRIDE                          uint = 0x8A3C
    UNIFORM_MATRIX_STRIDE                         uint = 0x8A3D
    UNIFORM_IS_ROW_MAJOR                          uint = 0x8A3E
    UNIFORM_BLOCK_BINDING                         uint = 0x8A3F
    UNIFORM_BLOCK_DATA_SIZE                       uint = 0x8A40
    UNIFORM_BLOCK_ACTIVE_UNIFORMS                 uint = 0x8A42
    UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES          uint = 0x8A43
    UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER     uint = 0x8A44
    UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER   uint = 0x8A46
    INVALID_INDEX                                 uint = 0xFFFFFFFF
    MAX_VERTEX_OUTPUT_COMPONENTS                  uint = 0x9122
    MAX_FRAGMENT_INPUT_COMPONENTS                 uint = 0x9125
    MAX_SERVER_WAIT_TIMEOUT                       uint = 0x9111
    OBJECT_TYPE                                   uint = 0x9112
    SYNC_CONDITION                                uint = 0x9113
    SYNC_STATUS                                   uint = 0x9114
    SYNC_FLAGS                                    uint = 0x9115
    SYNC_FENCE                                    uint = 0x9116
    SYNC_GPU_COMMANDS_COMPLETE                    uint = 0x9117
    UNSIGNALED                                    uint = 0x9118
    SIGNALED                                      uint = 0x9119
    ALREADY_SIGNALED                              uint = 0x911A
    TIMEOUT_EXPIRED                               uint = 0x911B
    CONDITION_SATISFIED                           uint = 0x911C
    WAIT_FAILED                                   uint = 0x911D
    SYNC_FLUSH_COMMANDS_BIT                       uint = 0x00000001
    VERTEX_ATTRIB_ARRAY_DIVISOR                   uint = 0x88FE
    ANY_SAMPLES_PASSED                            uint = 0x8C2F
    ANY_SAMPLES_PASSED_CONSERVATIVE               uint = 0x8D6A
    SAMPLER_BINDING                               uint = 0x8919
    RGB10_A2UI                                    uint = 0x906F
    INT_2_10_10_10_REV                            uint = 0x8D9F
    TRANSFORM_FEEDBACK                            uint = 0x8E22
    TRANSFORM_FEEDBACK_PAUSED                     uint = 0x8E23
    TRANSFORM_FEEDBACK_ACTIVE                     uint = 0x8E24
    TRANSFORM_FEEDBACK_BINDING                    uint = 0x8E25
    TEXTURE_IMMUTABLE_FORMAT                      uint = 0x912F
    MAX_ELEMENT_INDEX                             uint = 0x8D6B
    TEXTURE_IMMUTABLE_LEVELS                      uint = 0x82DF
    TIMEOUT_IGNORED                               int  = -1
    MAX_CLIENT_WAIT_TIMEOUT_WEBGL                 uint = 0x9247
)

type Query Uses

type Query struct {
    webgl.Object
}

class: WebGLQuery

func QueryFromJS Uses

func QueryFromJS(value js.Wrapper) *Query

QueryFromJS is casting a js.Wrapper into Query.

type RenderingContext Uses

type RenderingContext struct {
    // Value_JS holds a reference to a javascript value
    Value_JS js.Value
}

class: WebGL2RenderingContext

func RenderingContextFromJS Uses

func RenderingContextFromJS(value js.Wrapper) *RenderingContext

RenderingContextFromJS is casting a js.Wrapper into RenderingContext.

func (*RenderingContext) ActiveTexture Uses

func (_this *RenderingContext) ActiveTexture(texture uint)

func (*RenderingContext) AttachShader Uses

func (_this *RenderingContext) AttachShader(program *webgl.Program, shader *webgl.Shader)

func (*RenderingContext) BeginQuery Uses

func (_this *RenderingContext) BeginQuery(target uint, query *Query)

func (*RenderingContext) BeginTransformFeedback Uses

func (_this *RenderingContext) BeginTransformFeedback(primitiveMode uint)

func (*RenderingContext) BindAttribLocation Uses

func (_this *RenderingContext) BindAttribLocation(program *webgl.Program, index uint, name string)

func (*RenderingContext) BindBuffer Uses

func (_this *RenderingContext) BindBuffer(target uint, buffer *webgl.Buffer)

func (*RenderingContext) BindBufferBase Uses

func (_this *RenderingContext) BindBufferBase(target uint, index uint, buffer *webgl.Buffer)

func (*RenderingContext) BindBufferRange Uses

func (_this *RenderingContext) BindBufferRange(target uint, index uint, buffer *webgl.Buffer, offset int, size int)

func (*RenderingContext) BindFramebuffer Uses

func (_this *RenderingContext) BindFramebuffer(target uint, framebuffer *webgl.Framebuffer)

func (*RenderingContext) BindRenderbuffer Uses

func (_this *RenderingContext) BindRenderbuffer(target uint, renderbuffer *webgl.Renderbuffer)

func (*RenderingContext) BindSampler Uses

func (_this *RenderingContext) BindSampler(unit uint, sampler *Sampler)

func (*RenderingContext) BindTexture Uses

func (_this *RenderingContext) BindTexture(target uint, texture *webgl.Texture)

func (*RenderingContext) BindTransformFeedback Uses

func (_this *RenderingContext) BindTransformFeedback(target uint, tf *TransformFeedback)

func (*RenderingContext) BindVertexArray Uses

func (_this *RenderingContext) BindVertexArray(array *VertexArrayObject)

func (*RenderingContext) BlendColor Uses

func (_this *RenderingContext) BlendColor(red float32, green float32, blue float32, alpha float32)

func (*RenderingContext) BlendEquation Uses

func (_this *RenderingContext) BlendEquation(mode uint)

func (*RenderingContext) BlendEquationSeparate Uses

func (_this *RenderingContext) BlendEquationSeparate(modeRGB uint, modeAlpha uint)

func (*RenderingContext) BlendFunc Uses

func (_this *RenderingContext) BlendFunc(sfactor uint, dfactor uint)

func (*RenderingContext) BlendFuncSeparate Uses

func (_this *RenderingContext) BlendFuncSeparate(srcRGB uint, dstRGB uint, srcAlpha uint, dstAlpha uint)

func (*RenderingContext) BlitFramebuffer Uses

func (_this *RenderingContext) BlitFramebuffer(srcX0 int, srcY0 int, srcX1 int, srcY1 int, dstX0 int, dstY0 int, dstX1 int, dstY1 int, mask uint, filter uint)

func (*RenderingContext) BufferData Uses

func (_this *RenderingContext) BufferData(target uint, size int, usage uint)

func (*RenderingContext) BufferData2 Uses

func (_this *RenderingContext) BufferData2(target uint, data *Union, usage uint)

func (*RenderingContext) BufferData3 Uses

func (_this *RenderingContext) BufferData3(target uint, size int, usage uint)

func (*RenderingContext) BufferData4 Uses

func (_this *RenderingContext) BufferData4(target uint, srcData *Union, usage uint)

func (*RenderingContext) BufferData5 Uses

func (_this *RenderingContext) BufferData5(target uint, srcData *Union, usage uint, srcOffset uint, length *uint)

func (*RenderingContext) BufferSubData Uses

func (_this *RenderingContext) BufferSubData(target uint, offset int, data *Union)

func (*RenderingContext) BufferSubData2 Uses

func (_this *RenderingContext) BufferSubData2(target uint, dstByteOffset int, srcData *Union)

func (*RenderingContext) BufferSubData3 Uses

func (_this *RenderingContext) BufferSubData3(target uint, dstByteOffset int, srcData *Union, srcOffset uint, length *uint)

func (*RenderingContext) Canvas Uses

func (_this *RenderingContext) Canvas() *Union

Canvas returning attribute 'canvas' with type Union (idl: Union).

func (*RenderingContext) CheckFramebufferStatus Uses

func (_this *RenderingContext) CheckFramebufferStatus(target uint) (_result uint)

func (*RenderingContext) Clear Uses

func (_this *RenderingContext) Clear(mask uint)

func (*RenderingContext) ClearBufferfi Uses

func (_this *RenderingContext) ClearBufferfi(buffer uint, drawbuffer int, depth float32, stencil int)

func (*RenderingContext) ClearBufferfv Uses

func (_this *RenderingContext) ClearBufferfv(buffer uint, drawbuffer int, values *Union, srcOffset *uint)

func (*RenderingContext) ClearBufferiv Uses

func (_this *RenderingContext) ClearBufferiv(buffer uint, drawbuffer int, values *Union, srcOffset *uint)

func (*RenderingContext) ClearBufferuiv Uses

func (_this *RenderingContext) ClearBufferuiv(buffer uint, drawbuffer int, values *Union, srcOffset *uint)

func (*RenderingContext) ClearColor Uses

func (_this *RenderingContext) ClearColor(red float32, green float32, blue float32, alpha float32)

func (*RenderingContext) ClearDepth Uses

func (_this *RenderingContext) ClearDepth(depth float32)

func (*RenderingContext) ClearStencil Uses

func (_this *RenderingContext) ClearStencil(s int)

func (*RenderingContext) ClientWaitSync Uses

func (_this *RenderingContext) ClientWaitSync(sync *Sync, flags uint, timeout int) (_result uint)

func (*RenderingContext) ColorMask Uses

func (_this *RenderingContext) ColorMask(red bool, green bool, blue bool, alpha bool)

func (*RenderingContext) CompileShader Uses

func (_this *RenderingContext) CompileShader(shader *webgl.Shader)

func (*RenderingContext) CompressedTexImage2D Uses

func (_this *RenderingContext) CompressedTexImage2D(target uint, level int, internalformat uint, width int, height int, border int, data *Union)

func (*RenderingContext) CompressedTexImage2D2 Uses

func (_this *RenderingContext) CompressedTexImage2D2(target uint, level int, internalformat uint, width int, height int, border int, imageSize int, offset int)

func (*RenderingContext) CompressedTexImage2D3 Uses

func (_this *RenderingContext) CompressedTexImage2D3(target uint, level int, internalformat uint, width int, height int, border int, srcData *Union, srcOffset *uint, srcLengthOverride *uint)

func (*RenderingContext) CompressedTexImage3D Uses

func (_this *RenderingContext) CompressedTexImage3D(target uint, level int, internalformat uint, width int, height int, depth int, border int, imageSize int, offset int)

func (*RenderingContext) CompressedTexImage3D2 Uses

func (_this *RenderingContext) CompressedTexImage3D2(target uint, level int, internalformat uint, width int, height int, depth int, border int, srcData *Union, srcOffset *uint, srcLengthOverride *uint)

func (*RenderingContext) CompressedTexSubImage2D Uses

func (_this *RenderingContext) CompressedTexSubImage2D(target uint, level int, xoffset int, yoffset int, width int, height int, format uint, data *Union)

func (*RenderingContext) CompressedTexSubImage2D2 Uses

func (_this *RenderingContext) CompressedTexSubImage2D2(target uint, level int, xoffset int, yoffset int, width int, height int, format uint, imageSize int, offset int)

func (*RenderingContext) CompressedTexSubImage2D3 Uses

func (_this *RenderingContext) CompressedTexSubImage2D3(target uint, level int, xoffset int, yoffset int, width int, height int, format uint, srcData *Union, srcOffset *uint, srcLengthOverride *uint)

func (*RenderingContext) CompressedTexSubImage3D Uses

func (_this *RenderingContext) CompressedTexSubImage3D(target uint, level int, xoffset int, yoffset int, zoffset int, width int, height int, depth int, format uint, imageSize int, offset int)

func (*RenderingContext) CompressedTexSubImage3D2 Uses

func (_this *RenderingContext) CompressedTexSubImage3D2(target uint, level int, xoffset int, yoffset int, zoffset int, width int, height int, depth int, format uint, srcData *Union, srcOffset *uint, srcLengthOverride *uint)

func (*RenderingContext) CopyBufferSubData Uses

func (_this *RenderingContext) CopyBufferSubData(readTarget uint, writeTarget uint, readOffset int, writeOffset int, size int)

func (*RenderingContext) CopyTexImage2D Uses

func (_this *RenderingContext) CopyTexImage2D(target uint, level int, internalformat uint, x int, y int, width int, height int, border int)

func (*RenderingContext) CopyTexSubImage2D Uses

func (_this *RenderingContext) CopyTexSubImage2D(target uint, level int, xoffset int, yoffset int, x int, y int, width int, height int)

func (*RenderingContext) CopyTexSubImage3D Uses

func (_this *RenderingContext) CopyTexSubImage3D(target uint, level int, xoffset int, yoffset int, zoffset int, x int, y int, width int, height int)

func (*RenderingContext) CreateBuffer Uses

func (_this *RenderingContext) CreateBuffer() (_result *webgl.Buffer)

func (*RenderingContext) CreateFramebuffer Uses

func (_this *RenderingContext) CreateFramebuffer() (_result *webgl.Framebuffer)

func (*RenderingContext) CreateProgram Uses

func (_this *RenderingContext) CreateProgram() (_result *webgl.Program)

func (*RenderingContext) CreateQuery Uses

func (_this *RenderingContext) CreateQuery() (_result *Query)

func (*RenderingContext) CreateRenderbuffer Uses

func (_this *RenderingContext) CreateRenderbuffer() (_result *webgl.Renderbuffer)

func (*RenderingContext) CreateSampler Uses

func (_this *RenderingContext) CreateSampler() (_result *Sampler)

func (*RenderingContext) CreateShader Uses

func (_this *RenderingContext) CreateShader(_type uint) (_result *webgl.Shader)

func (*RenderingContext) CreateTexture Uses

func (_this *RenderingContext) CreateTexture() (_result *webgl.Texture)

func (*RenderingContext) CreateTransformFeedback Uses

func (_this *RenderingContext) CreateTransformFeedback() (_result *TransformFeedback)

func (*RenderingContext) CreateVertexArray Uses

func (_this *RenderingContext) CreateVertexArray() (_result *VertexArrayObject)

func (*RenderingContext) CullFace Uses

func (_this *RenderingContext) CullFace(mode uint)

func (*RenderingContext) DeleteBuffer Uses

func (_this *RenderingContext) DeleteBuffer(buffer *webgl.Buffer)

func (*RenderingContext) DeleteFramebuffer Uses

func (_this *RenderingContext) DeleteFramebuffer(framebuffer *webgl.Framebuffer)

func (*RenderingContext) DeleteProgram Uses

func (_this *RenderingContext) DeleteProgram(program *webgl.Program)

func (*RenderingContext) DeleteQuery Uses

func (_this *RenderingContext) DeleteQuery(query *Query)

func (*RenderingContext) DeleteRenderbuffer Uses

func (_this *RenderingContext) DeleteRenderbuffer(renderbuffer *webgl.Renderbuffer)

func (*RenderingContext) DeleteSampler Uses

func (_this *RenderingContext) DeleteSampler(sampler *Sampler)

func (*RenderingContext) DeleteShader Uses

func (_this *RenderingContext) DeleteShader(shader *webgl.Shader)

func (*RenderingContext) DeleteSync Uses

func (_this *RenderingContext) DeleteSync(sync *Sync)

func (*RenderingContext) DeleteTexture Uses

func (_this *RenderingContext) DeleteTexture(texture *webgl.Texture)

func (*RenderingContext) DeleteTransformFeedback Uses

func (_this *RenderingContext) DeleteTransformFeedback(tf *TransformFeedback)

func (*RenderingContext) DeleteVertexArray Uses

func (_this *RenderingContext) DeleteVertexArray(vertexArray *VertexArrayObject)

func (*RenderingContext) DepthFunc Uses

func (_this *RenderingContext) DepthFunc(_func uint)

func (*RenderingContext) DepthMask Uses

func (_this *RenderingContext) DepthMask(flag bool)

func (*RenderingContext) DepthRange Uses

func (_this *RenderingContext) DepthRange(zNear float32, zFar float32)

func (*RenderingContext) DetachShader Uses

func (_this *RenderingContext) DetachShader(program *webgl.Program, shader *webgl.Shader)

func (*RenderingContext) Disable Uses

func (_this *RenderingContext) Disable(cap uint)

func (*RenderingContext) DisableVertexAttribArray Uses

func (_this *RenderingContext) DisableVertexAttribArray(index uint)

func (*RenderingContext) DrawArrays Uses

func (_this *RenderingContext) DrawArrays(mode uint, first int, count int)

func (*RenderingContext) DrawArraysInstanced Uses

func (_this *RenderingContext) DrawArraysInstanced(mode uint, first int, count int, instanceCount int)

func (*RenderingContext) DrawBuffers Uses

func (_this *RenderingContext) DrawBuffers(buffers []uint)

func (*RenderingContext) DrawElements Uses

func (_this *RenderingContext) DrawElements(mode uint, count int, _type uint, offset int)

func (*RenderingContext) DrawElementsInstanced Uses

func (_this *RenderingContext) DrawElementsInstanced(mode uint, count int, _type uint, offset int, instanceCount int)

func (*RenderingContext) DrawRangeElements Uses

func (_this *RenderingContext) DrawRangeElements(mode uint, start uint, end uint, count int, _type uint, offset int)

func (*RenderingContext) DrawingBufferHeight Uses

func (_this *RenderingContext) DrawingBufferHeight() int

DrawingBufferHeight returning attribute 'drawingBufferHeight' with type int (idl: long).

func (*RenderingContext) DrawingBufferWidth Uses

func (_this *RenderingContext) DrawingBufferWidth() int

DrawingBufferWidth returning attribute 'drawingBufferWidth' with type int (idl: long).

func (*RenderingContext) Enable Uses

func (_this *RenderingContext) Enable(cap uint)

func (*RenderingContext) EnableVertexAttribArray Uses

func (_this *RenderingContext) EnableVertexAttribArray(index uint)

func (*RenderingContext) EndQuery Uses

func (_this *RenderingContext) EndQuery(target uint)

func (*RenderingContext) EndTransformFeedback Uses

func (_this *RenderingContext) EndTransformFeedback()

func (*RenderingContext) FenceSync Uses

func (_this *RenderingContext) FenceSync(condition uint, flags uint) (_result *Sync)

func (*RenderingContext) Finish Uses

func (_this *RenderingContext) Finish()

func (*RenderingContext) Flush Uses

func (_this *RenderingContext) Flush()

func (*RenderingContext) FramebufferRenderbuffer Uses

func (_this *RenderingContext) FramebufferRenderbuffer(target uint, attachment uint, renderbuffertarget uint, renderbuffer *webgl.Renderbuffer)

func (*RenderingContext) FramebufferTexture2D Uses

func (_this *RenderingContext) FramebufferTexture2D(target uint, attachment uint, textarget uint, texture *webgl.Texture, level int)

func (*RenderingContext) FramebufferTextureLayer Uses

func (_this *RenderingContext) FramebufferTextureLayer(target uint, attachment uint, texture *webgl.Texture, level int, layer int)

func (*RenderingContext) FrontFace Uses

func (_this *RenderingContext) FrontFace(mode uint)

func (*RenderingContext) GenerateMipmap Uses

func (_this *RenderingContext) GenerateMipmap(target uint)

func (*RenderingContext) GetActiveAttrib Uses

func (_this *RenderingContext) GetActiveAttrib(program *webgl.Program, index uint) (_result *webgl.ActiveInfo)

func (*RenderingContext) GetActiveUniform Uses

func (_this *RenderingContext) GetActiveUniform(program *webgl.Program, index uint) (_result *webgl.ActiveInfo)

func (*RenderingContext) GetActiveUniformBlockName Uses

func (_this *RenderingContext) GetActiveUniformBlockName(program *webgl.Program, uniformBlockIndex uint) (_result *string)

func (*RenderingContext) GetActiveUniformBlockParameter Uses

func (_this *RenderingContext) GetActiveUniformBlockParameter(program *webgl.Program, uniformBlockIndex uint, pname uint) (_result js.Value)

func (*RenderingContext) GetActiveUniforms Uses

func (_this *RenderingContext) GetActiveUniforms(program *webgl.Program, uniformIndices []uint, pname uint) (_result js.Value)

func (*RenderingContext) GetAttachedShaders Uses

func (_this *RenderingContext) GetAttachedShaders(program *webgl.Program) (_result []*webgl.Shader)

func (*RenderingContext) GetAttribLocation Uses

func (_this *RenderingContext) GetAttribLocation(program *webgl.Program, name string) (_result int)

func (*RenderingContext) GetBufferParameter Uses

func (_this *RenderingContext) GetBufferParameter(target uint, pname uint) (_result js.Value)

func (*RenderingContext) GetBufferSubData Uses

func (_this *RenderingContext) GetBufferSubData(target uint, srcByteOffset int, dstBuffer *Union, dstOffset *uint, length *uint)

func (*RenderingContext) GetContextAttributes Uses

func (_this *RenderingContext) GetContextAttributes() (_result *webgl.ContextAttributes)

func (*RenderingContext) GetError Uses

func (_this *RenderingContext) GetError() (_result uint)

func (*RenderingContext) GetExtension Uses

func (_this *RenderingContext) GetExtension(name string) (_result *javascript.Object)

func (*RenderingContext) GetFragDataLocation Uses

func (_this *RenderingContext) GetFragDataLocation(program *webgl.Program, name string) (_result int)

func (*RenderingContext) GetFramebufferAttachmentParameter Uses

func (_this *RenderingContext) GetFramebufferAttachmentParameter(target uint, attachment uint, pname uint) (_result js.Value)

func (*RenderingContext) GetIndexedParameter Uses

func (_this *RenderingContext) GetIndexedParameter(target uint, index uint) (_result js.Value)

func (*RenderingContext) GetInternalformatParameter Uses

func (_this *RenderingContext) GetInternalformatParameter(target uint, internalformat uint, pname uint) (_result js.Value)

func (*RenderingContext) GetParameter Uses

func (_this *RenderingContext) GetParameter(pname uint) (_result js.Value)

func (*RenderingContext) GetProgramInfoLog Uses

func (_this *RenderingContext) GetProgramInfoLog(program *webgl.Program) (_result *string)

func (*RenderingContext) GetProgramParameter Uses

func (_this *RenderingContext) GetProgramParameter(program *webgl.Program, pname uint) (_result js.Value)

func (*RenderingContext) GetQuery Uses

func (_this *RenderingContext) GetQuery(target uint, pname uint) (_result *Query)

func (*RenderingContext) GetQueryParameter Uses

func (_this *RenderingContext) GetQueryParameter(query *Query, pname uint) (_result js.Value)

func (*RenderingContext) GetRenderbufferParameter Uses

func (_this *RenderingContext) GetRenderbufferParameter(target uint, pname uint) (_result js.Value)

func (*RenderingContext) GetSamplerParameter Uses

func (_this *RenderingContext) GetSamplerParameter(sampler *Sampler, pname uint) (_result js.Value)

func (*RenderingContext) GetShaderInfoLog Uses

func (_this *RenderingContext) GetShaderInfoLog(shader *webgl.Shader) (_result *string)

func (*RenderingContext) GetShaderParameter Uses

func (_this *RenderingContext) GetShaderParameter(shader *webgl.Shader, pname uint) (_result js.Value)

func (*RenderingContext) GetShaderPrecisionFormat Uses

func (_this *RenderingContext) GetShaderPrecisionFormat(shadertype uint, precisiontype uint) (_result *webgl.ShaderPrecisionFormat)

func (*RenderingContext) GetShaderSource Uses

func (_this *RenderingContext) GetShaderSource(shader *webgl.Shader) (_result *string)

func (*RenderingContext) GetSupportedExtensions Uses

func (_this *RenderingContext) GetSupportedExtensions() (_result []string)

func (*RenderingContext) GetSyncParameter Uses

func (_this *RenderingContext) GetSyncParameter(sync *Sync, pname uint) (_result js.Value)

func (*RenderingContext) GetTexParameter Uses

func (_this *RenderingContext) GetTexParameter(target uint, pname uint) (_result js.Value)

func (*RenderingContext) GetTransformFeedbackVarying Uses

func (_this *RenderingContext) GetTransformFeedbackVarying(program *webgl.Program, index uint) (_result *webgl.ActiveInfo)

func (*RenderingContext) GetUniform Uses

func (_this *RenderingContext) GetUniform(program *webgl.Program, location *webgl.UniformLocation) (_result js.Value)

func (*RenderingContext) GetUniformBlockIndex Uses

func (_this *RenderingContext) GetUniformBlockIndex(program *webgl.Program, uniformBlockName string) (_result uint)

func (*RenderingContext) GetUniformIndices Uses

func (_this *RenderingContext) GetUniformIndices(program *webgl.Program, uniformNames []string) (_result []uint)

func (*RenderingContext) GetUniformLocation Uses

func (_this *RenderingContext) GetUniformLocation(program *webgl.Program, name string) (_result *webgl.UniformLocation)

func (*RenderingContext) GetVertexAttrib Uses

func (_this *RenderingContext) GetVertexAttrib(index uint, pname uint) (_result js.Value)

func (*RenderingContext) GetVertexAttribOffset Uses

func (_this *RenderingContext) GetVertexAttribOffset(index uint, pname uint) (_result int)

func (*RenderingContext) Hint Uses

func (_this *RenderingContext) Hint(target uint, mode uint)

func (*RenderingContext) InvalidateFramebuffer Uses

func (_this *RenderingContext) InvalidateFramebuffer(target uint, attachments []uint)

func (*RenderingContext) InvalidateSubFramebuffer Uses

func (_this *RenderingContext) InvalidateSubFramebuffer(target uint, attachments []uint, x int, y int, width int, height int)

func (*RenderingContext) IsBuffer Uses

func (_this *RenderingContext) IsBuffer(buffer *webgl.Buffer) (_result bool)

func (*RenderingContext) IsContextLost Uses

func (_this *RenderingContext) IsContextLost() (_result bool)

func (*RenderingContext) IsEnabled Uses

func (_this *RenderingContext) IsEnabled(cap uint) (_result bool)

func (*RenderingContext) IsFramebuffer Uses

func (_this *RenderingContext) IsFramebuffer(framebuffer *webgl.Framebuffer) (_result bool)

func (*RenderingContext) IsProgram Uses

func (_this *RenderingContext) IsProgram(program *webgl.Program) (_result bool)

func (*RenderingContext) IsQuery Uses

func (_this *RenderingContext) IsQuery(query *Query) (_result bool)

func (*RenderingContext) IsRenderbuffer Uses

func (_this *RenderingContext) IsRenderbuffer(renderbuffer *webgl.Renderbuffer) (_result bool)

func (*RenderingContext) IsSampler Uses

func (_this *RenderingContext) IsSampler(sampler *Sampler) (_result bool)

func (*RenderingContext) IsShader Uses

func (_this *RenderingContext) IsShader(shader *webgl.Shader) (_result bool)

func (*RenderingContext) IsSync Uses

func (_this *RenderingContext) IsSync(sync *Sync) (_result bool)

func (*RenderingContext) IsTexture Uses

func (_this *RenderingContext) IsTexture(texture *webgl.Texture) (_result bool)

func (*RenderingContext) IsTransformFeedback Uses

func (_this *RenderingContext) IsTransformFeedback(tf *TransformFeedback) (_result bool)

func (*RenderingContext) IsVertexArray Uses

func (_this *RenderingContext) IsVertexArray(vertexArray *VertexArrayObject) (_result bool)

func (*RenderingContext) JSValue Uses

func (_this *RenderingContext) JSValue() js.Value

func (*RenderingContext) LineWidth Uses

func (_this *RenderingContext) LineWidth(width float32)

func (*RenderingContext) LinkProgram Uses

func (_this *RenderingContext) LinkProgram(program *webgl.Program)

func (*RenderingContext) MakeXRCompatible Uses

func (_this *RenderingContext) MakeXRCompatible() (_result *javascript.PromiseVoid)

func (*RenderingContext) PauseTransformFeedback Uses

func (_this *RenderingContext) PauseTransformFeedback()

func (*RenderingContext) PixelStorei Uses

func (_this *RenderingContext) PixelStorei(pname uint, param int)

func (*RenderingContext) PolygonOffset Uses

func (_this *RenderingContext) PolygonOffset(factor float32, units float32)

func (*RenderingContext) ReadBuffer Uses

func (_this *RenderingContext) ReadBuffer(src uint)

func (*RenderingContext) ReadPixels Uses

func (_this *RenderingContext) ReadPixels(x int, y int, width int, height int, format uint, _type uint, pixels *Union)

func (*RenderingContext) ReadPixels2 Uses

func (_this *RenderingContext) ReadPixels2(x int, y int, width int, height int, format uint, _type uint, dstData *Union)

func (*RenderingContext) ReadPixels3 Uses

func (_this *RenderingContext) ReadPixels3(x int, y int, width int, height int, format uint, _type uint, offset int)

func (*RenderingContext) ReadPixels4 Uses

func (_this *RenderingContext) ReadPixels4(x int, y int, width int, height int, format uint, _type uint, dstData *Union, dstOffset uint)

func (*RenderingContext) RenderbufferStorage Uses

func (_this *RenderingContext) RenderbufferStorage(target uint, internalformat uint, width int, height int)

func (*RenderingContext) RenderbufferStorageMultisample Uses

func (_this *RenderingContext) RenderbufferStorageMultisample(target uint, samples int, internalformat uint, width int, height int)

func (*RenderingContext) ResumeTransformFeedback Uses

func (_this *RenderingContext) ResumeTransformFeedback()

func (*RenderingContext) SampleCoverage Uses

func (_this *RenderingContext) SampleCoverage(value float32, invert bool)

func (*RenderingContext) SamplerParameterf Uses

func (_this *RenderingContext) SamplerParameterf(sampler *Sampler, pname uint, param float32)

func (*RenderingContext) SamplerParameteri Uses

func (_this *RenderingContext) SamplerParameteri(sampler *Sampler, pname uint, param int)

func (*RenderingContext) Scissor Uses

func (_this *RenderingContext) Scissor(x int, y int, width int, height int)

func (*RenderingContext) ShaderSource Uses

func (_this *RenderingContext) ShaderSource(shader *webgl.Shader, source string)

func (*RenderingContext) StencilFunc Uses

func (_this *RenderingContext) StencilFunc(_func uint, ref int, mask uint)

func (*RenderingContext) StencilFuncSeparate Uses

func (_this *RenderingContext) StencilFuncSeparate(face uint, _func uint, ref int, mask uint)

func (*RenderingContext) StencilMask Uses

func (_this *RenderingContext) StencilMask(mask uint)

func (*RenderingContext) StencilMaskSeparate Uses

func (_this *RenderingContext) StencilMaskSeparate(face uint, mask uint)

func (*RenderingContext) StencilOp Uses

func (_this *RenderingContext) StencilOp(fail uint, zfail uint, zpass uint)

func (*RenderingContext) StencilOpSeparate Uses

func (_this *RenderingContext) StencilOpSeparate(face uint, fail uint, zfail uint, zpass uint)

func (*RenderingContext) TexImage2D Uses

func (_this *RenderingContext) TexImage2D(target uint, level int, internalformat int, width int, height int, border int, format uint, _type uint, pixels *Union)

func (*RenderingContext) TexImage2D2 Uses

func (_this *RenderingContext) TexImage2D2(target uint, level int, internalformat int, format uint, _type uint, source *Union)

func (*RenderingContext) TexImage2D3 Uses

func (_this *RenderingContext) TexImage2D3(target uint, level int, internalformat int, width int, height int, border int, format uint, _type uint, pixels *Union)

func (*RenderingContext) TexImage2D4 Uses

func (_this *RenderingContext) TexImage2D4(target uint, level int, internalformat int, format uint, _type uint, source *Union)

func (*RenderingContext) TexImage2D5 Uses

func (_this *RenderingContext) TexImage2D5(target uint, level int, internalformat int, width int, height int, border int, format uint, _type uint, pboOffset int)

func (*RenderingContext) TexImage2D6 Uses

func (_this *RenderingContext) TexImage2D6(target uint, level int, internalformat int, width int, height int, border int, format uint, _type uint, source *Union)

func (*RenderingContext) TexImage2D7 Uses

func (_this *RenderingContext) TexImage2D7(target uint, level int, internalformat int, width int, height int, border int, format uint, _type uint, srcData *Union, srcOffset uint)

func (*RenderingContext) TexImage3D Uses

func (_this *RenderingContext) TexImage3D(target uint, level int, internalformat int, width int, height int, depth int, border int, format uint, _type uint, pboOffset int)

func (*RenderingContext) TexImage3D2 Uses

func (_this *RenderingContext) TexImage3D2(target uint, level int, internalformat int, width int, height int, depth int, border int, format uint, _type uint, source *Union)

func (*RenderingContext) TexImage3D3 Uses

func (_this *RenderingContext) TexImage3D3(target uint, level int, internalformat int, width int, height int, depth int, border int, format uint, _type uint, srcData *Union)

func (*RenderingContext) TexImage3D4 Uses

func (_this *RenderingContext) TexImage3D4(target uint, level int, internalformat int, width int, height int, depth int, border int, format uint, _type uint, srcData *Union, srcOffset uint)

func (*RenderingContext) TexParameterf Uses

func (_this *RenderingContext) TexParameterf(target uint, pname uint, param float32)

func (*RenderingContext) TexParameteri Uses

func (_this *RenderingContext) TexParameteri(target uint, pname uint, param int)

func (*RenderingContext) TexStorage2D Uses

func (_this *RenderingContext) TexStorage2D(target uint, levels int, internalformat uint, width int, height int)

func (*RenderingContext) TexStorage3D Uses

func (_this *RenderingContext) TexStorage3D(target uint, levels int, internalformat uint, width int, height int, depth int)

func (*RenderingContext) TexSubImage2D Uses

func (_this *RenderingContext) TexSubImage2D(target uint, level int, xoffset int, yoffset int, width int, height int, format uint, _type uint, pixels *Union)

func (*RenderingContext) TexSubImage2D2 Uses

func (_this *RenderingContext) TexSubImage2D2(target uint, level int, xoffset int, yoffset int, format uint, _type uint, source *Union)

func (*RenderingContext) TexSubImage2D3 Uses

func (_this *RenderingContext) TexSubImage2D3(target uint, level int, xoffset int, yoffset int, width int, height int, format uint, _type uint, pixels *Union)

func (*RenderingContext) TexSubImage2D4 Uses

func (_this *RenderingContext) TexSubImage2D4(target uint, level int, xoffset int, yoffset int, format uint, _type uint, source *Union)

func (*RenderingContext) TexSubImage2D5 Uses

func (_this *RenderingContext) TexSubImage2D5(target uint, level int, xoffset int, yoffset int, width int, height int, format uint, _type uint, pboOffset int)

func (*RenderingContext) TexSubImage2D6 Uses

func (_this *RenderingContext) TexSubImage2D6(target uint, level int, xoffset int, yoffset int, width int, height int, format uint, _type uint, source *Union)

func (*RenderingContext) TexSubImage2D7 Uses

func (_this *RenderingContext) TexSubImage2D7(target uint, level int, xoffset int, yoffset int, width int, height int, format uint, _type uint, srcData *Union, srcOffset uint)

func (*RenderingContext) TexSubImage3D Uses

func (_this *RenderingContext) TexSubImage3D(target uint, level int, xoffset int, yoffset int, zoffset int, width int, height int, depth int, format uint, _type uint, pboOffset int)

func (*RenderingContext) TexSubImage3D2 Uses

func (_this *RenderingContext) TexSubImage3D2(target uint, level int, xoffset int, yoffset int, zoffset int, width int, height int, depth int, format uint, _type uint, source *Union)

func (*RenderingContext) TexSubImage3D3 Uses

func (_this *RenderingContext) TexSubImage3D3(target uint, level int, xoffset int, yoffset int, zoffset int, width int, height int, depth int, format uint, _type uint, srcData *Union, srcOffset *uint)

func (*RenderingContext) TransformFeedbackVaryings Uses

func (_this *RenderingContext) TransformFeedbackVaryings(program *webgl.Program, varyings []string, bufferMode uint)

func (*RenderingContext) Uniform1f Uses

func (_this *RenderingContext) Uniform1f(location *webgl.UniformLocation, x float32)

func (*RenderingContext) Uniform1fv Uses

func (_this *RenderingContext) Uniform1fv(location *webgl.UniformLocation, v *Union)

func (*RenderingContext) Uniform1fv2 Uses

func (_this *RenderingContext) Uniform1fv2(location *webgl.UniformLocation, data *Union, srcOffset *uint, srcLength *uint)

func (*RenderingContext) Uniform1i Uses

func (_this *RenderingContext) Uniform1i(location *webgl.UniformLocation, x int)

func (*RenderingContext) Uniform1iv Uses

func (_this *RenderingContext) Uniform1iv(location *webgl.UniformLocation, v *Union)

func (*RenderingContext) Uniform1iv2 Uses

func (_this *RenderingContext) Uniform1iv2(location *webgl.UniformLocation, data *Union, srcOffset *uint, srcLength *uint)

func (*RenderingContext) Uniform1ui Uses

func (_this *RenderingContext) Uniform1ui(location *webgl.UniformLocation, v0 uint)

func (*RenderingContext) Uniform1uiv Uses

func (_this *RenderingContext) Uniform1uiv(location *webgl.UniformLocation, data *Union, srcOffset *uint, srcLength *uint)

func (*RenderingContext) Uniform2f Uses

func (_this *RenderingContext) Uniform2f(location *webgl.UniformLocation, x float32, y float32)

func (*RenderingContext) Uniform2fv Uses

func (_this *RenderingContext) Uniform2fv(location *webgl.UniformLocation, v *Union)

func (*RenderingContext) Uniform2fv2 Uses

func (_this *RenderingContext) Uniform2fv2(location *webgl.UniformLocation, data *Union, srcOffset *uint, srcLength *uint)

func (*RenderingContext) Uniform2i Uses

func (_this *RenderingContext) Uniform2i(location *webgl.UniformLocation, x int, y int)

func (*RenderingContext) Uniform2iv Uses

func (_this *RenderingContext) Uniform2iv(location *webgl.UniformLocation, v *Union)

func (*RenderingContext) Uniform2iv2 Uses

func (_this *RenderingContext) Uniform2iv2(location *webgl.UniformLocation, data *Union, srcOffset *uint, srcLength *uint)

func (*RenderingContext) Uniform2ui Uses

func (_this *RenderingContext) Uniform2ui(location *webgl.UniformLocation, v0 uint, v1 uint)

func (*RenderingContext) Uniform2uiv Uses

func (_this *RenderingContext) Uniform2uiv(location *webgl.UniformLocation, data *Union, srcOffset *uint, srcLength *uint)

func (*RenderingContext) Uniform3f Uses

func (_this *RenderingContext) Uniform3f(location *webgl.UniformLocation, x float32, y float32, z float32)

func (*RenderingContext) Uniform3fv Uses

func (_this *RenderingContext) Uniform3fv(location *webgl.UniformLocation, v *Union)

func (*RenderingContext) Uniform3fv2 Uses

func (_this *RenderingContext) Uniform3fv2(location *webgl.UniformLocation, data *Union, srcOffset *uint, srcLength *uint)

func (*RenderingContext) Uniform3i Uses

func (_this *RenderingContext) Uniform3i(location *webgl.UniformLocation, x int, y int, z int)

func (*RenderingContext) Uniform3iv Uses

func (_this *RenderingContext) Uniform3iv(location *webgl.UniformLocation, v *Union)

func (*RenderingContext) Uniform3iv2 Uses

func (_this *RenderingContext) Uniform3iv2(location *webgl.UniformLocation, data *Union, srcOffset *uint, srcLength *uint)

func (*RenderingContext) Uniform3ui Uses

func (_this *RenderingContext) Uniform3ui(location *webgl.UniformLocation, v0 uint, v1 uint, v2 uint)

func (*RenderingContext) Uniform3uiv Uses

func (_this *RenderingContext) Uniform3uiv(location *webgl.UniformLocation, data *Union, srcOffset *uint, srcLength *uint)

func (*RenderingContext) Uniform4f Uses

func (_this *RenderingContext) Uniform4f(location *webgl.UniformLocation, x float32, y float32, z float32, w float32)

func (*RenderingContext) Uniform4fv Uses

func (_this *RenderingContext) Uniform4fv(location *webgl.UniformLocation, v *Union)

func (*RenderingContext) Uniform4fv2 Uses

func (_this *RenderingContext) Uniform4fv2(location *webgl.UniformLocation, data *Union, srcOffset *uint, srcLength *uint)

func (*RenderingContext) Uniform4i Uses

func (_this *RenderingContext) Uniform4i(location *webgl.UniformLocation, x int, y int, z int, w int)

func (*RenderingContext) Uniform4iv Uses

func (_this *RenderingContext) Uniform4iv(location *webgl.UniformLocation, v *Union)

func (*RenderingContext) Uniform4iv2 Uses

func (_this *RenderingContext) Uniform4iv2(location *webgl.UniformLocation, data *Union, srcOffset *uint, srcLength *uint)

func (*RenderingContext) Uniform4ui Uses

func (_this *RenderingContext) Uniform4ui(location *webgl.UniformLocation, v0 uint, v1 uint, v2 uint, v3 uint)

func (*RenderingContext) Uniform4uiv Uses

func (_this *RenderingContext) Uniform4uiv(location *webgl.UniformLocation, data *Union, srcOffset *uint, srcLength *uint)

func (*RenderingContext) UniformBlockBinding Uses

func (_this *RenderingContext) UniformBlockBinding(program *webgl.Program, uniformBlockIndex uint, uniformBlockBinding uint)

func (*RenderingContext) UniformMatrix2fv Uses

func (_this *RenderingContext) UniformMatrix2fv(location *webgl.UniformLocation, transpose bool, value *Union)

func (*RenderingContext) UniformMatrix2fv2 Uses

func (_this *RenderingContext) UniformMatrix2fv2(location *webgl.UniformLocation, transpose bool, data *Union, srcOffset *uint, srcLength *uint)

func (*RenderingContext) UniformMatrix2x3fv Uses

func (_this *RenderingContext) UniformMatrix2x3fv(location *webgl.UniformLocation, transpose bool, data *Union, srcOffset *uint, srcLength *uint)

func (*RenderingContext) UniformMatrix2x4fv Uses

func (_this *RenderingContext) UniformMatrix2x4fv(location *webgl.UniformLocation, transpose bool, data *Union, srcOffset *uint, srcLength *uint)

func (*RenderingContext) UniformMatrix3fv Uses

func (_this *RenderingContext) UniformMatrix3fv(location *webgl.UniformLocation, transpose bool, value *Union)

func (*RenderingContext) UniformMatrix3fv2 Uses

func (_this *RenderingContext) UniformMatrix3fv2(location *webgl.UniformLocation, transpose bool, data *Union, srcOffset *uint, srcLength *uint)

func (*RenderingContext) UniformMatrix3x2fv Uses

func (_this *RenderingContext) UniformMatrix3x2fv(location *webgl.UniformLocation, transpose bool, data *Union, srcOffset *uint, srcLength *uint)

func (*RenderingContext) UniformMatrix3x4fv Uses

func (_this *RenderingContext) UniformMatrix3x4fv(location *webgl.UniformLocation, transpose bool, data *Union, srcOffset *uint, srcLength *uint)

func (*RenderingContext) UniformMatrix4fv Uses

func (_this *RenderingContext) UniformMatrix4fv(location *webgl.UniformLocation, transpose bool, value *Union)

func (*RenderingContext) UniformMatrix4fv2 Uses

func (_this *RenderingContext) UniformMatrix4fv2(location *webgl.UniformLocation, transpose bool, data *Union, srcOffset *uint, srcLength *uint)

func (*RenderingContext) UniformMatrix4x2fv Uses

func (_this *RenderingContext) UniformMatrix4x2fv(location *webgl.UniformLocation, transpose bool, data *Union, srcOffset *uint, srcLength *uint)

func (*RenderingContext) UniformMatrix4x3fv Uses

func (_this *RenderingContext) UniformMatrix4x3fv(location *webgl.UniformLocation, transpose bool, data *Union, srcOffset *uint, srcLength *uint)

func (*RenderingContext) UseProgram Uses

func (_this *RenderingContext) UseProgram(program *webgl.Program)

func (*RenderingContext) ValidateProgram Uses

func (_this *RenderingContext) ValidateProgram(program *webgl.Program)

func (*RenderingContext) VertexAttrib1f Uses

func (_this *RenderingContext) VertexAttrib1f(index uint, x float32)

func (*RenderingContext) VertexAttrib1fv Uses

func (_this *RenderingContext) VertexAttrib1fv(index uint, values *Union)

func (*RenderingContext) VertexAttrib2f Uses

func (_this *RenderingContext) VertexAttrib2f(index uint, x float32, y float32)

func (*RenderingContext) VertexAttrib2fv Uses

func (_this *RenderingContext) VertexAttrib2fv(index uint, values *Union)

func (*RenderingContext) VertexAttrib3f Uses

func (_this *RenderingContext) VertexAttrib3f(index uint, x float32, y float32, z float32)

func (*RenderingContext) VertexAttrib3fv Uses

func (_this *RenderingContext) VertexAttrib3fv(index uint, values *Union)

func (*RenderingContext) VertexAttrib4f Uses

func (_this *RenderingContext) VertexAttrib4f(index uint, x float32, y float32, z float32, w float32)

func (*RenderingContext) VertexAttrib4fv Uses

func (_this *RenderingContext) VertexAttrib4fv(index uint, values *Union)

func (*RenderingContext) VertexAttribDivisor Uses

func (_this *RenderingContext) VertexAttribDivisor(index uint, divisor uint)

func (*RenderingContext) VertexAttribI4i Uses

func (_this *RenderingContext) VertexAttribI4i(index uint, x int, y int, z int, w int)

func (*RenderingContext) VertexAttribI4iv Uses

func (_this *RenderingContext) VertexAttribI4iv(index uint, values *Union)

func (*RenderingContext) VertexAttribI4ui Uses

func (_this *RenderingContext) VertexAttribI4ui(index uint, x uint, y uint, z uint, w uint)

func (*RenderingContext) VertexAttribI4uiv Uses

func (_this *RenderingContext) VertexAttribI4uiv(index uint, values *Union)

func (*RenderingContext) VertexAttribIPointer Uses

func (_this *RenderingContext) VertexAttribIPointer(index uint, size int, _type uint, stride int, offset int)

func (*RenderingContext) VertexAttribPointer Uses

func (_this *RenderingContext) VertexAttribPointer(index uint, size int, _type uint, normalized bool, stride int, offset int)

func (*RenderingContext) Viewport Uses

func (_this *RenderingContext) Viewport(x int, y int, width int, height int)

func (*RenderingContext) WaitSync Uses

func (_this *RenderingContext) WaitSync(sync *Sync, flags uint, timeout int)

type Sampler Uses

type Sampler struct {
    webgl.Object
}

class: WebGLSampler

func SamplerFromJS Uses

func SamplerFromJS(value js.Wrapper) *Sampler

SamplerFromJS is casting a js.Wrapper into Sampler.

type Sync Uses

type Sync struct {
    webgl.Object
}

class: WebGLSync

func SyncFromJS Uses

func SyncFromJS(value js.Wrapper) *Sync

SyncFromJS is casting a js.Wrapper into Sync.

type TransformFeedback Uses

type TransformFeedback struct {
    webgl.Object
}

class: WebGLTransformFeedback

func TransformFeedbackFromJS Uses

func TransformFeedbackFromJS(value js.Wrapper) *TransformFeedback

TransformFeedbackFromJS is casting a js.Wrapper into TransformFeedback.

type Union Uses

type Union struct {
    Value js.Value
}

func UnionFromJS Uses

func UnionFromJS(value js.Value) *Union

func (*Union) JSValue Uses

func (u *Union) JSValue() js.Value

type VertexArrayObject Uses

type VertexArrayObject struct {
    webgl.Object
}

class: WebGLVertexArrayObject

func VertexArrayObjectFromJS Uses

func VertexArrayObjectFromJS(value js.Wrapper) *VertexArrayObject

VertexArrayObjectFromJS is casting a js.Wrapper into VertexArrayObject.

Package webgl2 imports 3 packages (graph). Updated 2019-09-19. Refresh now. Tools for package owners.