Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::USD::HnBeginFrameTask Class Referencefinal

#include <HnBeginFrameTask.hpp>

Inheritance diagram for Diligent::USD::HnBeginFrameTask:
Diligent::USD::HnTask

Detailed Description

Sets up rendering state for subsequent tasks:

  • Prepares the render targets and depth buffer
    • Retrieves final color Bprim from the render index using the FinalColorTargetId
    • (Re)creates the render targets if necessary
    • Inserts them into the render index as Bprims
    • Passes Bprim Id to subsequent tasks via the task context
  • Updates the render pass states
  • Updates the task context with the render pass states so that subsequent tasks can use it