13 lines
371 B
TypeScript
13 lines
371 B
TypeScript
/**
|
|
* An instruction that can be executed by the renderer
|
|
* @memberof rendering
|
|
*/
|
|
export interface Instruction {
|
|
/** a the id of the render pipe that can run this instruction */
|
|
renderPipeId: string;
|
|
/** the name of the instruction */
|
|
action?: string;
|
|
/** true if this instruction can be compiled into a WebGPU bundle */
|
|
canBundle: boolean;
|
|
}
|