Interface PrePassRenderable
Methods
execute
-
Execute pre-pass work (e.g., render shadow depth map + blur). Returns the number of GPU draw calls issued.
Parameters
- encoder: GPUCommandEncoder
- engine: EngineContext
Returns number
Execute pre-pass work (e.g., render shadow depth map + blur). Returns the number of GPU draw calls issued.
Something that runs before the main render pass (shadow maps, compute, etc.).