MTLBuffer.castFrom constructor
MTLBuffer.castFrom(
- ObjCObjectBase other
Constructs a MTLBuffer that points to the same underlying object as other.
Implementation
MTLBuffer.castFrom(objc.ObjCObjectBase other)
: this._(other.ref.pointer, retain: true, release: true);