Interface VeilRenderProfiler
public interface VeilRenderProfiler
Collects render information for the
PipelineStatisticsViewer
.- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic VeilRenderProfiler
get()
void
pop()
Pops the current region.void
popPush
(String name, RenderProfilerCounter... statistics) Pops, then pushes a region onto the profile stack.void
popPush
(Supplier<String> name, RenderProfilerCounter... statistics) Pops, then pushes a region onto the profile stack.void
push
(String name, RenderProfilerCounter... statistics) Pushes a region onto the profile stack.void
push
(Supplier<String> name, RenderProfilerCounter... statistics) Pushes a region onto the profile stack.
-
Method Details
-
get
- Returns:
- The currently active profiler instance
-
push
Pushes a region onto the profile stack. This will only collect information if being viewed in the profiler window.- Parameters:
name
- The name of the region to pushstatistics
- The statistics to capture or empty to capture all available
-
push
Pushes a region onto the profile stack. This will only collect information if being viewed in the profiler window.- Parameters:
name
- The name of the region to pushstatistics
- The statistics to capture or empty to capture all available
-
pop
void pop()Pops the current region. -
popPush
Pops, then pushes a region onto the profile stack. This will only collect information if being viewed in the profiler window.- Parameters:
name
- The name of the region to pushstatistics
- The statistics to capture or empty to capture all available
-
popPush
Pops, then pushes a region onto the profile stack. This will only collect information if being viewed in the profiler window.- Parameters:
name
- The name of the region to pushstatistics
- The statistics to capture or empty to capture all available
-