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) throwsParameters
- sharedTextureHandle:
The underlying shared texture handle for this memory resource.