Contents

replace(with:)

Replaces a texture resource with a low-level texture.

Declaration

@MainActor @preconcurrency func replace(with texture: LowLevelTexture)

Parameters

  • texture:

    The texture data that defines the resource.

Discussion

See Also

Modifying the texture