Documentation / scene / RGProfilingOptions
Interface: RGProfilingOptions
Defined in: libs/scene/src/render/rendergraph/types.ts:252
GPU timestamp profiling options.
Properties
enabled?
optionalenabled?:boolean
Defined in: libs/scene/src/render/rendergraph/types.ts:254
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:256
Measure the whole graph execution. Default true.
pass?
optionalpass?:boolean
Defined in: libs/scene/src/render/rendergraph/types.ts:258
Measure every render graph pass. Default true.
subpass?
optionalsubpass?:boolean
Defined in: libs/scene/src/render/rendergraph/types.ts:260
Measure every subpass and expose it as a child scope. Default true.
includePendingUploads?
optionalincludePendingUploads?:boolean
Defined in: libs/scene/src/render/rendergraph/types.ts:262
Include pending upload/copy commands at timestamp boundaries. Default true.
allowCrossFrame?
optionalallowCrossFrame?:boolean
Defined in: libs/scene/src/render/rendergraph/types.ts:264
Allow graph profile scopes to remain open across frame boundaries. Default false.
maxPendingFrames?
optionalmaxPendingFrames?:number
Defined in: libs/scene/src/render/rendergraph/types.ts:266
Maximum unresolved profile frames kept by the executor. Default 3.
label?
optionallabel?:string
Defined in: libs/scene/src/render/rendergraph/types.ts:268
Root graph profile label. Default 'RenderGraph'.
device?
optionaldevice?:AbstractDevice
Defined in: libs/scene/src/render/rendergraph/types.ts:270
Device used for timestamp queries. If omitted, the scene global getDevice() is used.