Procedure¶
Overview¶
TODO: doc
@author Jonathan Olson <jonathan.olson@colorado.edu>
Class Procedure¶
Constructor¶
new Procedure( routine : Routine<IntentionalAny, In, Out>, resourceMap : Map<ResourceSlot, Resource>, bindGroupMap : Map<BindGroupLayout, BindGroup> )¶
Instance Methods¶
bind( slot : ResourceSlot, resource : Resource ) : this¶
bindTexture( textureSlot : TextureViewSlot, resource : TextureViewResource ) : this¶
Should be callable repeatedly (TODO test)
bindRemainingBuffers() : this¶
createChild() : Procedure<In, Out>¶
execute( executor : Executor, data : In, options? : ProcedureExecuteOptions ) : Promise<Out>¶
standaloneExecute( deviceContext : DeviceContext, data : In, options? : ProcedureStandaloneExecuteOptions ) : Promise<Out>¶
getLogBuffer() : GPUBuffer | null¶
dispose()¶
Type ProcedureExecuteOptions¶
- separateComputePasses?: boolean
Source Code¶
See the source for Procedure.ts in the alpenglow repository.