MTLIOCompressionContextAppendData(_:_:_:)
Adds data to a compression context.
Declaration
func MTLIOCompressionContextAppendData(_ context: MTLIOCompressionContext, _ data: UnsafeRawPointer, _ size: Int)Parameters
- context:
An Mtliocompressioncontext instance that you create with the Mtliocreatecompressioncontext(_:_:_:) function.
- data:
A pointer to memory that contains the data the function adds to the compression context.
- size:
The number of bytes the function adds to the compression context from the data pointer.