Open
Description
objc2_metal:
/// Returns the data pointer of this buffer's shared copy.
#[unsafe(method(contents))]
#[unsafe(method_family = none)]
fn contents(&self) -> NonNull<c_void>;
Apple documentation:
A pointer to the shared copy of the buffer data, or NULL for buffers allocated with a private resource storage mode (MTLStorageModePrivate).