GrBackendFormat

class GrBackendFormat

Methods

MakeGL

MakeMock

MakeVk

Overloaded function.

__init__

Overloaded function.

asGLFormat

asMockColorType

asMockCompressionType

asVkFormat

backend

channelMask

getVkYcbcrConversionInfo

isValid

makeTexture2D

textureType

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.

  1. MakeVk(format: VkFormat, willUseDRMFormatModifiers: bool = False) -> skia.GrBackendFormat

  2. MakeVk(ycbcrInfo: skgpu::VulkanYcbcrConversionInfo, willUseDRMFormatModifiers: bool = False) -> skia.GrBackendFormat

GrBackendFormat.__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: skia.GrBackendFormat) -> None

  2. __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