Contents

init(sharedTextureHandle:)

Creates a new Lowleveldeviceresource from the specified Metal shared texture handle. Throws if an MTLTexture cannot be created from the specified handle.

Declaration

init(sharedTextureHandle: MTLSharedTextureHandle) throws

Parameters

  • sharedTextureHandle:

    The underlying shared texture handle for this memory resource.

Discussion

See Also

Creating a device resource