Diligent Engine
Loading...
Searching...
No Matches
Diligent::RadientRendererDesc Struct Reference

Renderer description. More...

#include <RadientRenderer.h>

Public Attributes

const Char * Name = nullptr
 Renderer name.
Bool EnableAsyncPipelineCompilation = True
Uint32 MaterialTextureSlotCount = 8
Uint32 MultiDrawBatchSize = 16
Float32 PostFXTransitionDuration = 1.f

Detailed Description

Renderer description.

Member Data Documentation

◆ EnableAsyncPipelineCompilation

Bool Diligent::RadientRendererDesc::EnableAsyncPipelineCompilation = True

Enables asynchronous geometry pipeline compilation.

When enabled, geometry drawables are skipped until their pipeline state is ready instead of blocking the render call.

◆ MaterialTextureSlotCount

Uint32 Diligent::RadientRendererDesc::MaterialTextureSlotCount = 8

Number of texture slots in each material SRB. Zero selects the default value of 8. The value must not exceed the number of PBR texture attributes.

◆ MultiDrawBatchSize

Uint32 Diligent::RadientRendererDesc::MultiDrawBatchSize = 16

Maximum number of compatible primitives submitted in one multi-draw batch. Zero selects the default value of 16; one disables batching.

Multi-draw is automatically disabled when the backend cannot provide a primitive ID through native multi-draw or base-instance emulation.

◆ PostFXTransitionDuration

Float32 Diligent::RadientRendererDesc::PostFXTransitionDuration = 1.f

Duration, in seconds, over which newly ready post-processing effects fade in. Zero applies effects immediately.