Package-level declarations

Types

Link copied to clipboard
class AGMetal(view: MTKView, shouldFlattenVertexData: Boolean = true) : AG
Link copied to clipboard
value class MTLBuffer

wrap of MTLBufferProtocol to handle specific code related to ios/osx TODO: check if there is a more idiomatic way to do this

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun MTLDeviceProtocol.newBuffer(size: ULong): MTLBuffer

TODO: may not working on ios "In iOS and tvOS, the managed storage mode is not available." https://developer.apple.com/documentation/metal/mtlstoragemode/managed

Link copied to clipboard