Struct screen_13::pool::PoolInfoBuilder
source · pub struct PoolInfoBuilder { /* private fields */ }
Expand description
Builder for PoolInfo
.
Implementations§
source§impl PoolInfoBuilder
impl PoolInfoBuilder
sourcepub fn accel_struct_capacity(self, value: usize) -> Self
pub fn accel_struct_capacity(self, value: usize) -> Self
The maximum size of a single bucket of acceleration structure resource instances. The
default value is PoolInfo::DEFAULT_RESOURCE_CAPACITY
.
§Note
Individual Pool
implementations store varying numbers of buckets. Read the documentation
of each implementation to understand how this affects total number of stored acceleration
structure instances.
sourcepub fn buffer_capacity(self, value: usize) -> Self
pub fn buffer_capacity(self, value: usize) -> Self
The maximum size of a single bucket of buffer resource instances. The default value is
PoolInfo::DEFAULT_RESOURCE_CAPACITY
.
§Note
Individual Pool
implementations store varying numbers of buckets. Read the documentation
of each implementation to understand how this affects total number of stored buffer
instances.
sourcepub fn image_capacity(self, value: usize) -> Self
pub fn image_capacity(self, value: usize) -> Self
The maximum size of a single bucket of image resource instances. The default value is
PoolInfo::DEFAULT_RESOURCE_CAPACITY
.
§Note
Individual Pool
implementations store varying numbers of buckets. Read the documentation
of each implementation to understand how this affects total number of stored image
instances.
Trait Implementations§
source§impl Clone for PoolInfoBuilder
impl Clone for PoolInfoBuilder
source§fn clone(&self) -> PoolInfoBuilder
fn clone(&self) -> PoolInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more