setBuffers
Swift declarationfunc setBuffers(_ buffers: [(any MTLBuffer)?], offsets: [Int], attributeStrides: [Int], range: Range<Int>)protocol · iOS 8.0+ · SDK 27.1
protocol MTLComputeCommandEncoder : MTLCommandEncoderfunc setBuffers(_ buffers: [(any MTLBuffer)?], offsets: [Int], attributeStrides: [Int], range: Range<Int>)func setBuffers(_ buffers: [(any MTLBuffer)?], offsets: [Int], range: Range<Int>)func setTextures(_ textures: [(any MTLTexture)?], range: Range<Int>)func useResources(_ resources: [any MTLResource], usage: MTLResourceUsage)func memoryBarrier(resources: [any MTLResource])func executeCommands(in indirectCommandbuffer: any MTLIndirectCommandBuffer, indirectBuffer indirectRangeBuffer: any MTLBuffer, indirectBufferOffset: Int)func executeCommands(in indirectCommandBuffer: any MTLIndirectCommandBuffer, with executionRange: NSRange)func setSamplerStates(_ samplers: [(any MTLSamplerState)?], lodMinClamps: [Float], lodMaxClamps: [Float], range: Range<Int>)func setSamplerStates(_ samplers: [(any MTLSamplerState)?], range: Range<Int>)func executeCommandsInBuffer(_ buffer: any MTLIndirectCommandBuffer, indirectBuffer indirectRangeBuffer: any MTLBuffer, offset: Int)func executeCommandsInBuffer(_ buffer: any MTLIndirectCommandBuffer, range: Range<Int>)func setVisibleFunctionTables(_ visibleFunctionTables: [(any MTLVisibleFunctionTable)?], bufferRange: Range<Int>)func setIntersectionFunctionTables(_ intersectionFunctionTables: [(any MTLIntersectionFunctionTable)?], bufferRange: Range<Int>)func useHeaps(_ heaps: [any MTLHeap])No declarations were skipped in this snapshot.