Graphics API documentation
Version: alpha
Constants
graphics.BLEND_FACTOR_CONSTANT_ALPHA
graphics.BLEND_FACTOR_CONSTANT_COLOR
graphics.BLEND_FACTOR_DST_ALPHA
graphics.BLEND_FACTOR_DST_COLOR
graphics.BLEND_FACTOR_ONE
graphics.BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA
graphics.BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR
graphics.BLEND_FACTOR_ONE_MINUS_DST_ALPHA
graphics.BLEND_FACTOR_ONE_MINUS_DST_COLOR
graphics.BLEND_FACTOR_ONE_MINUS_SRC_ALPHA
graphics.BLEND_FACTOR_ONE_MINUS_SRC_COLOR
graphics.BLEND_FACTOR_SRC_ALPHA
graphics.BLEND_FACTOR_SRC_ALPHA_SATURATE
graphics.BLEND_FACTOR_SRC_COLOR
graphics.BLEND_FACTOR_ZERO
graphics.BUFFER_TYPE_COLOR0_BIT
graphics.BUFFER_TYPE_COLOR1_BIT
May be nil if multitarget rendering isn't supported
graphics.BUFFER_TYPE_COLOR2_BIT
May be nil if multitarget rendering isn't supported
graphics.BUFFER_TYPE_COLOR3_BIT
May be nil if multitarget rendering isn't supported
graphics.BUFFER_TYPE_DEPTH_BIT
graphics.BUFFER_TYPE_STENCIL_BIT
graphics.COMPARE_FUNC_ALWAYS
graphics.COMPARE_FUNC_EQUAL
graphics.COMPARE_FUNC_GEQUAL
graphics.COMPARE_FUNC_GREATER
graphics.COMPARE_FUNC_LEQUAL
graphics.COMPARE_FUNC_LESS
graphics.COMPARE_FUNC_NEVER
graphics.COMPARE_FUNC_NOTEQUAL
graphics.COMPRESSION_TYPE_BASIS_ETC1S
graphics.COMPRESSION_TYPE_BASIS_UASTC
graphics.COMPRESSION_TYPE_DEFAULT
graphics.COMPRESSION_TYPE_WEBP
graphics.COMPRESSION_TYPE_WEBP_LOSSY
graphics.FACE_TYPE_BACK
graphics.FACE_TYPE_FRONT
graphics.FACE_TYPE_FRONT_AND_BACK
graphics.STATE_ALPHA_TEST
graphics.STATE_ALPHA_TEST_SUPPORTED
graphics.STATE_BLEND
graphics.STATE_CULL_FACE
graphics.STATE_DEPTH_TEST
graphics.STATE_POLYGON_OFFSET_FILL
graphics.STATE_SCISSOR_TEST
graphics.STATE_STENCIL_TEST
graphics.STENCIL_OP_DECR
graphics.STENCIL_OP_DECR_WRAP
graphics.STENCIL_OP_INCR
graphics.STENCIL_OP_INCR_WRAP
graphics.STENCIL_OP_INVERT
graphics.STENCIL_OP_KEEP
graphics.STENCIL_OP_REPLACE
graphics.STENCIL_OP_ZERO
graphics.TEXTURE_FILTER_DEFAULT
graphics.TEXTURE_FILTER_LINEAR
graphics.TEXTURE_FILTER_LINEAR_MIPMAP_LINEAR
graphics.TEXTURE_FILTER_LINEAR_MIPMAP_NEAREST
graphics.TEXTURE_FILTER_NEAREST
graphics.TEXTURE_FILTER_NEAREST_MIPMAP_LINEAR
graphics.TEXTURE_FILTER_NEAREST_MIPMAP_NEAREST
graphics.TEXTURE_FORMAT_BGRA8U
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_DEPTH
graphics.TEXTURE_FORMAT_LUMINANCE
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_LUMINANCE_ALPHA
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_R16F
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_R32F
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_R32UI
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_R_BC4
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_R_ETC2
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_RG16F
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_RG32F
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_RG_BC5
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_RG_ETC2
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_RGB
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_RGB16F
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_RGB32F
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_RGB_16BPP
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_RGB_BC1
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_RGB_ETC1
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_RGB_PVRTC_2BPPV1
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_RGB_PVRTC_4BPPV1
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_RGBA
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_RGBA16F
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_RGBA32F
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_RGBA32UI
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_RGBA_16BPP
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_RGBA_ASTC_4x4
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_RGBA_BC3
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_RGBA_BC7
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_RGBA_ETC2
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_RGBA_PVRTC_2BPPV1
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_RGBA_PVRTC_4BPPV1
May be nil if the graphics driver doesn't support it
graphics.TEXTURE_FORMAT_STENCIL
graphics.TEXTURE_TYPE_2D
graphics.TEXTURE_TYPE_2D_ARRAY
graphics.TEXTURE_TYPE_CUBE_MAP
graphics.TEXTURE_TYPE_IMAGE_2D
graphics.TEXTURE_USAGE_FLAG_COLOR
graphics.TEXTURE_USAGE_FLAG_INPUT
graphics.TEXTURE_USAGE_FLAG_MEMORYLESS
graphics.TEXTURE_USAGE_FLAG_SAMPLE
graphics.TEXTURE_USAGE_FLAG_STORAGE
graphics.TEXTURE_WRAP_CLAMP_TO_BORDER
graphics.TEXTURE_WRAP_CLAMP_TO_EDGE
graphics.TEXTURE_WRAP_MIRRORED_REPEAT
graphics.TEXTURE_WRAP_REPEAT