oa::render::RendererConfig

Configuration for one headless Renderer target ring.

StRust public API

Declaration

pub struct RendererConfig { pub width: u32, pub height: u32, pub target_slot_count: u32, pub max_vertex_count: u32, pub max_index_count: u32, pub clear_color: Color, pub light_direction: [f32; 3], pub ambient: f32, pub max_materials_per_scene: u32, }
Public Rust declaration.

Public Methods

fn clone(&self) -> RendererConfig
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &RendererConfig) -> bool

Associated Functions

fn default() -> Self

Public Data Members

widthu32field
heightu32field
target_slot_countu32field
max_vertex_countu32field
max_index_countu32field
clear_colorColorfield
light_direction[f32; 3]field
ambientf32field
max_materials_per_sceneu32field

Public Method Documentation

fn clone( &self ) -> RendererConfig
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn eq( &self, other: &RendererConfig ) -> bool
No public source comment is attached to this declaration.
fn default() -> Self
No public source comment is attached to this declaration.