pub trait DynamicResourcesDesc {
// Required methods
fn resource_size_in_bytes(&self) -> u64;
fn allow_reuse(&self) -> bool;
}
Required Methods§
fn resource_size_in_bytes(&self) -> u64
sourcefn allow_reuse(&self) -> bool
fn allow_reuse(&self) -> bool
If true, a unused resources will be kept around for while and then re-used in following frames.
If false, it will be destroyed on DynamicResourcePool::begin_frame
.