GrBackendFormat
- class GrBackendFormat
Methods
Overloaded function.
Overloaded function.
Methods
- static GrBackendFormat.MakeGL(format: int, target: int) skia.GrBackendFormat
- static GrBackendFormat.MakeMock(colorType: skia.GrColorType, compression: SkTextureCompressionType, isStencilFormat: bool = False) skia.GrBackendFormat
- static GrBackendFormat.MakeVk(*args, **kwargs)
Overloaded function.
MakeVk(format: VkFormat, willUseDRMFormatModifiers: bool = False) -> skia.GrBackendFormat
MakeVk(ycbcrInfo: skgpu::VulkanYcbcrConversionInfo, willUseDRMFormatModifiers: bool = False) -> skia.GrBackendFormat
- GrBackendFormat.__init__(*args, **kwargs)
Overloaded function.
__init__(self: skia.GrBackendFormat) -> None
__init__(self: skia.GrBackendFormat, arg0: skia.GrBackendFormat) -> None
- GrBackendFormat.asGLFormat(self: skia.GrBackendFormat) GrGLFormat
- GrBackendFormat.asMockColorType(self: skia.GrBackendFormat) skia.GrColorType
- GrBackendFormat.asMockCompressionType(self: skia.GrBackendFormat) SkTextureCompressionType
- GrBackendFormat.asVkFormat(self: skia.GrBackendFormat, format: VkFormat) bool
- GrBackendFormat.backend(self: skia.GrBackendFormat) skia.GrBackendApi
- GrBackendFormat.channelMask(self: skia.GrBackendFormat) int
- GrBackendFormat.getVkYcbcrConversionInfo(self: skia.GrBackendFormat) skgpu::VulkanYcbcrConversionInfo
- GrBackendFormat.isValid(self: skia.GrBackendFormat) bool
- GrBackendFormat.makeTexture2D(self: skia.GrBackendFormat) skia.GrBackendFormat
- GrBackendFormat.textureType(self: skia.GrBackendFormat) skia.GrTextureType