MTLBuffer

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.

Members

Functions

addDebugMarker
void addDebugMarker(NSString marker, NSRange range)

Adds a debug marker string to a specific buffer range.

contents
void* contents()

Gets the system address of the buffer’s storage allocation.

didModifyRange
void didModifyRange(NSRange )

Informs the GPU that the CPU has modified a section of the buffer.

length
NSUInteger length()

The logical size of the buffer, in bytes.

newTextureWithDescriptor
MTLTexture newTextureWithDescriptor(MTLTextureDescriptor , NSUInteger offset, NSUInteger bytesPerRow)

Creates a texture that shares its storage with the buffer.

removeAllDebugMarkers
void removeAllDebugMarkers()

Removes all debug marker strings from the buffer.

Mixins

__anonymous
mixin ObjcExtend!NSObject
Undocumented in source.

Meta