contents()
Gets the system address of the buffer’s storage allocation.
Declaration
func contents() -> UnsafeMutableRawPointerReturn Value
A pointer to the shared copy of the buffer data, or NULL for buffers allocated with a private resource storage mode (MTLStorageMode.private).
Discussion
Private resources aren’t CPU-accessible.