Contents

init(_:)

Creates a custom texture from a texture resource.

Declaration

init(_ resource: TextureResource)

Parameters

  • resource:

    The texture resource.