const.go (2347B)
1 // Copyright 2020 The Ebiten Authors 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 // Package gles implements Go bindings to OpenGL ES. 16 package gles 17 18 const ( 19 ZERO = 0 20 ONE = 1 21 SRC_ALPHA = 0x0302 22 DST_ALPHA = 0x0304 23 ONE_MINUS_SRC_ALPHA = 0x0303 24 ONE_MINUS_DST_ALPHA = 0x0305 25 DST_COLOR = 0x0306 26 27 ALWAYS = 0x0207 28 ARRAY_BUFFER = 0x8892 29 BLEND = 0x0BE2 30 CLAMP_TO_EDGE = 0x812F 31 COLOR_ATTACHMENT0 = 0x8CE0 32 COMPILE_STATUS = 0x8B81 33 DYNAMIC_DRAW = 0x88E8 34 ELEMENT_ARRAY_BUFFER = 0x8893 35 FALSE = 0 36 FLOAT = 0x1406 37 FRAGMENT_SHADER = 0x8B30 38 FRAMEBUFFER = 0x8D40 39 FRAMEBUFFER_BINDING = 0x8CA6 40 FRAMEBUFFER_COMPLETE = 0x8CD5 41 HIGH_FLOAT = 0x8DF2 42 INFO_LOG_LENGTH = 0x8B84 43 INVERT = 0x150A 44 KEEP = 0x1E00 45 LINK_STATUS = 0x8B82 46 MAX_TEXTURE_SIZE = 0x0D33 47 NEAREST = 0x2600 48 NO_ERROR = 0 49 NOTEQUAL = 0x0205 50 PIXEL_PACK_BUFFER = 0x88EB 51 PIXEL_UNPACK_BUFFER = 0x88EC 52 READ_WRITE = 0x88BA 53 RENDERBUFFER = 0x8D41 54 RGBA = 0x1908 55 SCISSOR_TEST = 0x0C11 56 SHORT = 0x1402 57 STENCIL_ATTACHMENT = 0x8D20 58 STENCIL_BUFFER_BIT = 0x0400 59 STENCIL_INDEX8 = 0x8D48 60 STENCIL_TEST = 0x0B90 61 STREAM_DRAW = 0x88E0 62 TEXTURE0 = 0x84C0 63 TEXTURE_2D = 0x0DE1 64 TEXTURE_MAG_FILTER = 0x2800 65 TEXTURE_MIN_FILTER = 0x2801 66 TEXTURE_WRAP_S = 0x2802 67 TEXTURE_WRAP_T = 0x2803 68 TRIANGLES = 0x0004 69 TRUE = 1 70 UNPACK_ALIGNMENT = 0x0CF5 71 UNSIGNED_BYTE = 0x1401 72 UNSIGNED_SHORT = 0x1403 73 VERTEX_SHADER = 0x8B31 74 WRITE_ONLY = 0x88B9 75 )