init(_:)
Creates a custom texture from a texture resource.
Declaration
init(_ resource: TextureResource)Parameters
- resource:
The texture resource.
Creates a custom texture from a texture resource.
init(_ resource: TextureResource)The texture resource.