Documentation / scene / RGProfilingOptions
Interface: RGProfilingOptions
Defined in: libs/scene/src/render/rendergraph/types.ts:369
Render graph GPU timestamp profiling options.
Properties
enabled?
optionalenabled?:boolean
Defined in: libs/scene/src/render/rendergraph/types.ts:371
Enable render graph timestamp profiling. Default true when an options object is provided.
graph?
optionalgraph?:boolean
Defined in: libs/scene/src/render/rendergraph/types.ts:373
Measure the whole graph execution. Default true.
pass?
optionalpass?:boolean
Defined in: libs/scene/src/render/rendergraph/types.ts:375
Measure every render graph pass. Default true.
subpass?
optionalsubpass?:boolean
Defined in: libs/scene/src/render/rendergraph/types.ts:377
Measure every subpass and expose it as a child scope. Default true.
includePendingUploads?
optionalincludePendingUploads?:boolean
Defined in: libs/scene/src/render/rendergraph/types.ts:379
Include pending upload/copy commands at timestamp boundaries. Default true.
allowCrossFrame?
optionalallowCrossFrame?:boolean
Defined in: libs/scene/src/render/rendergraph/types.ts:381
Allow graph profile scopes to remain open across frame boundaries. Default false.
maxPendingFrames?
optionalmaxPendingFrames?:number
Defined in: libs/scene/src/render/rendergraph/types.ts:383
Maximum unresolved profile frames kept by the executor. Default 3.
label?
optionallabel?:string
Defined in: libs/scene/src/render/rendergraph/types.ts:385
Root graph profile label. Default 'RenderGraph'.
device?
optionaldevice?:AbstractDevice
Defined in: libs/scene/src/render/rendergraph/types.ts:387
Device used for timestamp queries. If omitted, the scene global getDevice() is used.