XII Release 0.1.0
Loading...
Searching...
No Matches
xiiRenderPipelinePassConcurrencyHint Struct Reference

Describes the concurrency behavior expected of a render pipeline pass during scheduling. More...

#include <RenderPipelinePass.h>

Inheritance diagram for xiiRenderPipelinePassConcurrencyHint:
[legend]

Public Types

enum  Enum : StorageType {
  Sequential = 0U , ParallelIndependent , ParallelWithSync , ENUM_COUNT ,
  Default = Sequential
}
 
using StorageType = xiiUInt8
 

Detailed Description

Describes the concurrency behavior expected of a render pipeline pass during scheduling.

This hint informs the render graph compiler whether the pass can be overlapped with others, and if so, whether synchronization mechanisms are required.

Unlike queue-type hints (e.g., compute vs graphics), this models scheduling independence, allowing fine control over pass parallelism.

Typical usage:

  • Use Sequential for passes with resource or ordering constraints.
  • Use ParallelIndependent for stateless or purely additive passes.
  • Use ParallelWithSync when interleaving is okay but hazards must be synchronized.

Member Enumeration Documentation

◆ Enum

Enumerator
Sequential 

Execute this pass in strict sequence; no overlap with any other pass.

ParallelIndependent 

No resource hazards; can be scheduled in parallel with other passes.

ParallelWithSync 

Can overlap with other passes but requires semaphores/fences to synchronize data dependencies.


The documentation for this struct was generated from the following file: