Module traits

Source
Expand description

Defines the core architectural traits for the rendering subsystem.

This module contains the fundamental contracts that decouple the engine’s rendering logic from any specific graphics backend.

  • GraphicsDevice: The main interface for creating and managing GPU resources.
  • [CommandRecorder]: An interface for recording GPU commands.
  • RenderSystem: A high-level trait representing the entire rendering pipeline.
  • GraphicsBackendSelector: A trait for selecting the appropriate graphics backend.
  • GpuProfiler: An interface for performance profiling on the GPU.

Traits§

CommandEncoder
A trait for an object that records a sequence of GPU commands.
ComputePass
A trait representing an active compute pass, used for recording dispatch commands.
GpuProfiler
A trait for GPU performance profilers that use timestamp queries.
GraphicsBackendSelector
A trait for a system that discovers and selects a suitable graphics backend.
GraphicsDevice
Defines the abstract interface for a graphics device.
RenderPass
A trait representing an active render pass, used for recording drawing commands.
RenderSystem
A high-level trait representing the entire rendering subsystem.