Skip to main content

Module io

Module io 

Source
Expand description

Metal IO command types.

Corresponds to Metal/MTLIOCommandQueue.hpp, Metal/MTLIOCommandBuffer.hpp, and Metal/MTLIOCompressor.hpp.

IO commands provide asynchronous file loading directly to GPU buffers and textures.

Structs§

IOCommandBuffer
Command buffer for IO operations.
IOCommandQueue
Command queue for IO operations.
IOCommandQueueDescriptor
Descriptor for creating an IO command queue.
IOFileHandle
Handle to a file for IO operations.
IOScratchBuffer
Scratch buffer for IO operations.
IOScratchBufferAllocator
Allocator for IO scratch buffers.

Functions§

io_compression_context_append_data
Append data to a compression context.
io_compression_context_default_chunk_size
Get the default chunk size for IO compression.
io_create_compression_context
Create a compression context for writing compressed data to a file.
io_flush_and_destroy_compression_context
Flush and destroy a compression context.

Type Aliases§

IOCompressionContext
Opaque compression context handle.