11/**
22 * Logs a frame number.
33 *
4- * @type {string }
54 * @category Debug
65 */
76export const TRACEID_RENDER_FRAME = 'RenderFrame' ;
87
98/**
109 * Logs a frame time.
1110 *
12- * @type {string }
1311 * @category Debug
1412 */
1513export const TRACEID_RENDER_FRAME_TIME = 'RenderFrameTime' ;
1614
1715/**
1816 * Logs basic information about generated render passes.
1917 *
20- * @type {string }
2118 * @category Debug
2219 */
2320export const TRACEID_RENDER_PASS = 'RenderPass' ;
2421
2522/**
2623 * Logs additional detail for render passes.
2724 *
28- * @type {string }
2925 * @category Debug
3026 */
3127export const TRACEID_RENDER_PASS_DETAIL = 'RenderPassDetail' ;
@@ -34,143 +30,125 @@ export const TRACEID_RENDER_PASS_DETAIL = 'RenderPassDetail';
3430 * Logs render actions created by the layer composition. Only executes when the
3531 * layer composition changes.
3632 *
37- * @type {string }
3833 * @category Debug
3934 */
4035export const TRACEID_RENDER_ACTION = 'RenderAction' ;
4136
4237/**
4338 * Logs the allocation of render targets.
4439 *
45- * @type {string }
4640 * @category Debug
4741 */
4842export const TRACEID_RENDER_TARGET_ALLOC = 'RenderTargetAlloc' ;
4943
5044/**
5145 * Logs the allocation of textures.
5246 *
53- * @type {string }
5447 * @category Debug
5548 */
5649export const TRACEID_TEXTURE_ALLOC = 'TextureAlloc' ;
5750
5851/**
5952 * Logs the creation of shaders.
6053 *
61- * @type {string }
6254 * @category Debug
6355 */
6456export const TRACEID_SHADER_ALLOC = 'ShaderAlloc' ;
6557
6658/**
6759 * Logs the compilation time of shaders.
6860 *
69- * @type {string }
7061 * @category Debug
7162 */
7263export const TRACEID_SHADER_COMPILE = 'ShaderCompile' ;
7364
7465/**
7566 * Logs the vram use by the textures.
7667 *
77- * @type {string }
7868 * @category Debug
7969 */
8070export const TRACEID_VRAM_TEXTURE = 'VRAM.Texture' ;
8171
8272/**
8373 * Logs the vram use by the vertex buffers.
8474 *
85- * @type {string }
8675 * @category Debug
8776 */
8877export const TRACEID_VRAM_VB = 'VRAM.Vb' ;
8978
9079/**
9180 * Logs the vram use by the index buffers.
9281 *
93- * @type {string }
9482 * @category Debug
9583 */
9684export const TRACEID_VRAM_IB = 'VRAM.Ib' ;
9785
9886/**
9987 * Logs the vram use by the storage buffers.
10088 *
101- * @type {string }
10289 * @category Debug
10390 */
10491export const TRACEID_VRAM_SB = 'VRAM.Sb' ;
10592
10693/**
10794 * Logs the creation of bind groups.
10895 *
109- * @type {string }
11096 * @category Debug
11197 */
11298export const TRACEID_BINDGROUP_ALLOC = 'BindGroupAlloc' ;
11399
114100/**
115101 * Logs the creation of bind group formats.
116102 *
117- * @type {string }
118103 * @category Debug
119104 */
120105export const TRACEID_BINDGROUPFORMAT_ALLOC = 'BindGroupFormatAlloc' ;
121106
122107/**
123108 * Logs the creation of render pipelines. WebBPU only.
124109 *
125- * @type {string }
126110 * @category Debug
127111 */
128112export const TRACEID_RENDERPIPELINE_ALLOC = 'RenderPipelineAlloc' ;
129113
130114/**
131115 * Logs the creation of compute pipelines. WebGPU only.
132116 *
133- * @type {string }
134117 * @category Debug
135118 */
136119export const TRACEID_COMPUTEPIPELINE_ALLOC = 'ComputePipelineAlloc' ;
137120
138121/**
139122 * Logs the creation of pipeline layouts. WebBPU only.
140123 *
141- * @type {string }
142124 * @category Debug
143125 */
144126export const TRACEID_PIPELINELAYOUT_ALLOC = 'PipelineLayoutAlloc' ;
145127
146128/**
147129 * Logs the internal debug information for Elements.
148130 *
149- * @type {string }
150131 * @category Debug
151132 */
152133export const TRACE_ID_ELEMENT = 'Element' ;
153134
154135/**
155136 * Logs the vram use by all textures in memory.
156137 *
157- * @type {string }
158138 * @category Debug
159139 */
160140export const TRACEID_TEXTURES = 'Textures' ;
161141
162142/**
163143 * Logs the render queue commands.
164144 *
165- * @type {string }
166145 * @category Debug
167146 */
168147export const TRACEID_RENDER_QUEUE = 'RenderQueue' ;
169148
170149/**
171150 * Logs the GPU timings.
172151 *
173- * @type {string }
174152 * @category Debug
175153 */
176154export const TRACEID_GPU_TIMINGS = 'GpuTimings' ;
0 commit comments