GrBackendFormat

class GrBackendFormat

Methods

MakeGL

MakeGL(format: int, target: int) -> skia.GrBackendFormat

MakeMock

MakeMock(colorType: skia.GrColorType, compression: SkTextureCompressionType, isStencilFormat: bool = False) -> skia.GrBackendFormat

MakeVk

MakeVk(*args, **kwargs) Overloaded function.

__init__

__init__(*args, **kwargs) Overloaded function.

asGLFormat

asGLFormat(self: skia.GrBackendFormat) -> GrGLFormat

asMockColorType

asMockColorType(self: skia.GrBackendFormat) -> skia.GrColorType

asMockCompressionType

asMockCompressionType(self: skia.GrBackendFormat) -> SkTextureCompressionType

asVkFormat

asVkFormat(self: skia.GrBackendFormat, format: VkFormat) -> bool

backend

backend(self: skia.GrBackendFormat) -> skia.GrBackendApi

channelMask

channelMask(self: skia.GrBackendFormat) -> int

getVkYcbcrConversionInfo

getVkYcbcrConversionInfo(self: skia.GrBackendFormat) -> skgpu::VulkanYcbcrConversionInfo

isValid

isValid(self: skia.GrBackendFormat) -> bool

makeTexture2D

makeTexture2D(self: skia.GrBackendFormat) -> skia.GrBackendFormat

textureType

textureType(self: skia.GrBackendFormat) -> skia.GrTextureType

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