Interface VeilRenderProfiler
public interface VeilRenderProfiler
Collects render information for the
PipelineStatisticsViewer.- Since:
- 2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic VeilRenderProfilerget()voidpop()Pops the current region.voidpopPush(String name, RenderProfilerCounter... statistics) Pops, then pushes a region onto the profile stack.voidpopPush(Supplier<String> name, RenderProfilerCounter... statistics) Pops, then pushes a region onto the profile stack.voidpush(String name, RenderProfilerCounter... statistics) Pushes a region onto the profile stack.voidpush(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
-