GrBackendTexture

class GrBackendTexture

Methods

__init__

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

backend

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

dimensions

dimensions(self: skia.GrBackendTexture) -> skia.ISize

getBackendFormat

getBackendFormat(self: skia.GrBackendTexture) -> skia.GrBackendFormat

getGLTextureInfo

getGLTextureInfo(self: skia.GrBackendTexture, info: GrGLTextureInfo) -> bool

getMockTextureInfo

getMockTextureInfo(self: skia.GrBackendTexture, info: GrMockTextureInfo) -> bool

getVkImageInfo

getVkImageInfo(self: skia.GrBackendTexture, info: GrVkImageInfo) -> bool

glTextureParametersModified

glTextureParametersModified(self: skia.GrBackendTexture) -> None

hasMipmaps

hasMipmaps(self: skia.GrBackendTexture) -> bool

height

height(self: skia.GrBackendTexture) -> int

isProtected

isProtected(self: skia.GrBackendTexture) -> bool

isSameTexture

isSameTexture(self: skia.GrBackendTexture, texture: skia.GrBackendTexture) -> bool

isValid

isValid(self: skia.GrBackendTexture) -> bool

setMutableState

setMutableState(self: skia.GrBackendTexture, state: skgpu::MutableTextureState) -> None

setVkImageLayout

setVkImageLayout(self: skia.GrBackendTexture, layout: VkImageLayout) -> None

width

width(self: skia.GrBackendTexture) -> int

Methods

GrBackendTexture.__init__(*args, **kwargs)

Overloaded function.

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

  2. __init__(self: skia.GrBackendTexture, width: int, height: int, mipMapped: skia.GrMipmapped, glInfo: GrGLTextureInfo) -> None

  3. __init__(self: skia.GrBackendTexture, width: int, height: int, vkInfo: GrVkImageInfo) -> None

  4. __init__(self: skia.GrBackendTexture, width: int, height: int, mipMapped: skia.GrMipmapped, mockInfo: GrMockTextureInfo) -> None

  5. __init__(self: skia.GrBackendTexture, that: skia.GrBackendTexture) -> None

GrBackendTexture.backend(self: skia.GrBackendTexture) skia.GrBackendApi
GrBackendTexture.dimensions(self: skia.GrBackendTexture) skia.ISize
GrBackendTexture.getBackendFormat(self: skia.GrBackendTexture) skia.GrBackendFormat
GrBackendTexture.getGLTextureInfo(self: skia.GrBackendTexture, info: GrGLTextureInfo) bool
GrBackendTexture.getMockTextureInfo(self: skia.GrBackendTexture, info: GrMockTextureInfo) bool
GrBackendTexture.getVkImageInfo(self: skia.GrBackendTexture, info: GrVkImageInfo) bool
GrBackendTexture.glTextureParametersModified(self: skia.GrBackendTexture) None
GrBackendTexture.hasMipmaps(self: skia.GrBackendTexture) bool
GrBackendTexture.height(self: skia.GrBackendTexture) int
GrBackendTexture.isProtected(self: skia.GrBackendTexture) bool
GrBackendTexture.isSameTexture(self: skia.GrBackendTexture, texture: skia.GrBackendTexture) bool
GrBackendTexture.isValid(self: skia.GrBackendTexture) bool
GrBackendTexture.setMutableState(self: skia.GrBackendTexture, state: skgpu::MutableTextureState) None
GrBackendTexture.setVkImageLayout(self: skia.GrBackendTexture, layout: VkImageLayout) None
GrBackendTexture.width(self: skia.GrBackendTexture) int