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