One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSSVGFDefaultTextureAllocator

class · iOS 13.0+ · SDK 27.1

class MPSSVGFDefaultTextureAllocator

Members (6)

init · iOS 13.0+

init

TypeScript
static init(device: SDKHandle): MPSSVGFDefaultTextureAllocator
Swift declaration
init(device: any MTLDevice)
method · iOS 13.0+

reset

TypeScript
reset(): void
Swift declaration
func reset()
method · iOS 13.0+

return

TypeScript
return(texture: SDKHandle): void
Swift declaration
func `return`(_ texture: any MTLTexture)
method · iOS 13.0+

texture

TypeScript
texture(pixelFormat: _Metal_MTLPixelFormat, width: number, height: number): (SDKHandle) | null
Swift declaration
func texture(with pixelFormat: MTLPixelFormat, width: Int, height: Int) -> (any MTLTexture)?
get · iOS 13.0+

allocatedTextureCount

TypeScript
get allocatedTextureCount(): number
Swift declaration
var allocatedTextureCount: Int { get }
get · iOS 13.0+

device

TypeScript
get device(): SDKHandle
Swift declaration
var device: any MTLDevice { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

MPSSVGFDefaultTextureAllocator.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All MetalPerformanceShaders types →