init(from:)
Asynchronously creates a texture resource from a low-level texture.
Declaration
@MainActor @preconcurrency convenience init(from texture: LowLevelTexture) async throwsParameters
- texture:
The texture data that defines the resource.
Asynchronously creates a texture resource from a low-level texture.
@MainActor @preconcurrency convenience init(from texture: LowLevelTexture) async throwsThe texture data that defines the resource.