pub trait DynamicResourcesDesc {
    // Required methods
    fn resource_size_in_bytes(&self) -> u64;
    fn allow_reuse(&self) -> bool;
}

Required Methods§

source

fn resource_size_in_bytes(&self) -> u64

source

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.

Implementors§