Contents

init(_:_:)

Creates a custom texture from a texture resource.

Declaration

init(_ resource: TextureResource, _ swizzle: MTLTextureSwizzleChannels)

Parameters

  • resource:

    The texture resource.