GrGLFormat

class GrGLFormat

Members:

kUnknown

kRGBA8

kR8

kALPHA8

kLUMINANCE8

kBGRA8

kRGB565

kRGBA16F

kR16F

kRGB8

kRG8

kRGB10_A2

kRGBA4

kSRGB8_ALPHA8

kCOMPRESSED_ETC1_RGB8

kCOMPRESSED_RGB8_ETC2

kCOMPRESSED_RGB8_BC1

kCOMPRESSED_RGBA8_BC1

kR16

kRG16

kRGBA16

kRG16F

kLUMINANCE16F

kLast

Methods

__init__

__init__(self: skia.GrGLFormat, value: int) -> None

Attributes

kALPHA8

kBGRA8

kCOMPRESSED_ETC1_RGB8

kCOMPRESSED_RGB8_BC1

kCOMPRESSED_RGB8_ETC2

kCOMPRESSED_RGBA8_BC1

kLUMINANCE16F

kLUMINANCE8

kLast

kR16

kR16F

kR8

kRG16

kRG16F

kRG8

kRGB10_A2

kRGB565

kRGB8

kRGBA16

kRGBA16F

kRGBA4

kRGBA8

kSRGB8_ALPHA8

kUnknown

name

value

Methods

GrGLFormat.__init__(self: skia.GrGLFormat, value: int) None

__init__(self: skia.GrGLFormat, value: int) -> None

Attributes

GrGLFormat.kALPHA8 = <GrGLFormat.kALPHA8: 3>
GrGLFormat.kBGRA8 = <GrGLFormat.kBGRA8: 5>
GrGLFormat.kCOMPRESSED_ETC1_RGB8 = <GrGLFormat.kCOMPRESSED_ETC1_RGB8: 14>
GrGLFormat.kCOMPRESSED_RGB8_BC1 = <GrGLFormat.kCOMPRESSED_RGB8_BC1: 16>
GrGLFormat.kCOMPRESSED_RGB8_ETC2 = <GrGLFormat.kCOMPRESSED_RGB8_ETC2: 15>
GrGLFormat.kCOMPRESSED_RGBA8_BC1 = <GrGLFormat.kCOMPRESSED_RGBA8_BC1: 17>
GrGLFormat.kLUMINANCE16F = <GrGLFormat.kLUMINANCE16F: 22>
GrGLFormat.kLUMINANCE8 = <GrGLFormat.kLUMINANCE8: 4>
GrGLFormat.kLast = <GrGLFormat.kLUMINANCE16F: 22>
GrGLFormat.kR16 = <GrGLFormat.kR16: 18>
GrGLFormat.kR16F = <GrGLFormat.kR16F: 8>
GrGLFormat.kR8 = <GrGLFormat.kR8: 2>
GrGLFormat.kRG16 = <GrGLFormat.kRG16: 19>
GrGLFormat.kRG16F = <GrGLFormat.kRG16F: 21>
GrGLFormat.kRG8 = <GrGLFormat.kRG8: 10>
GrGLFormat.kRGB10_A2 = <GrGLFormat.kRGB10_A2: 11>
GrGLFormat.kRGB565 = <GrGLFormat.kRGB565: 6>
GrGLFormat.kRGB8 = <GrGLFormat.kRGB8: 9>
GrGLFormat.kRGBA16 = <GrGLFormat.kRGBA16: 20>
GrGLFormat.kRGBA16F = <GrGLFormat.kRGBA16F: 7>
GrGLFormat.kRGBA4 = <GrGLFormat.kRGBA4: 12>
GrGLFormat.kRGBA8 = <GrGLFormat.kRGBA8: 1>
GrGLFormat.kSRGB8_ALPHA8 = <GrGLFormat.kSRGB8_ALPHA8: 13>
GrGLFormat.kUnknown = <GrGLFormat.kUnknown: 0>
GrGLFormat.name
GrGLFormat.value