Struct gpu_allocator::d3d12::ResourceCreateDesc
source · pub struct ResourceCreateDesc<'a> {
pub name: &'a str,
pub memory_location: MemoryLocation,
pub resource_category: ResourceCategory,
pub resource_desc: &'a D3D12_RESOURCE_DESC,
pub clear_value: Option<&'a D3D12_CLEAR_VALUE>,
pub initial_state: D3D12_RESOURCE_STATES,
pub resource_type: &'a ResourceType<'a>,
}
Fields§
§name: &'a str
§memory_location: MemoryLocation
§resource_category: ResourceCategory
§resource_desc: &'a D3D12_RESOURCE_DESC
§clear_value: Option<&'a D3D12_CLEAR_VALUE>
§initial_state: D3D12_RESOURCE_STATES
§resource_type: &'a ResourceType<'a>
Trait Implementations§
source§impl<'a> Clone for ResourceCreateDesc<'a>
impl<'a> Clone for ResourceCreateDesc<'a>
source§fn clone(&self) -> ResourceCreateDesc<'a>
fn clone(&self) -> ResourceCreateDesc<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more