pub struct RenderConfig {
pub gpu: ConfigUniform,
pub workgroup_counts: WorkgroupCounts,
pub buffer_sizes: BufferSizes,
}Expand description
CPU side setup and configuration.
Fields§
§gpu: ConfigUniformGPU side configuration.
workgroup_counts: WorkgroupCountsWorkgroup counts for all compute pipelines.
buffer_sizes: BufferSizesSizes of all buffer resources.
Implementations§
Trait Implementations§
Source§impl Default for RenderConfig
impl Default for RenderConfig
Source§fn default() -> RenderConfig
fn default() -> RenderConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RenderConfig
impl RefUnwindSafe for RenderConfig
impl Send for RenderConfig
impl Sync for RenderConfig
impl Unpin for RenderConfig
impl UnwindSafe for RenderConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more