Struct gpu_allocator::d3d12::winapi_d3d12::D3D12_RESOURCE_DESC
source · #[repr(C)]pub struct D3D12_RESOURCE_DESC {
pub Dimension: u32,
pub Alignment: u64,
pub Width: u64,
pub Height: u32,
pub DepthOrArraySize: u16,
pub MipLevels: u16,
pub Format: u32,
pub SampleDesc: DXGI_SAMPLE_DESC,
pub Layout: u32,
pub Flags: u32,
}
Fields§
§Dimension: u32
§Alignment: u64
§Width: u64
§Height: u32
§DepthOrArraySize: u16
§MipLevels: u16
§Format: u32
§SampleDesc: DXGI_SAMPLE_DESC
§Layout: u32
§Flags: u32
Trait Implementations§
source§impl Clone for D3D12_RESOURCE_DESC
impl Clone for D3D12_RESOURCE_DESC
source§fn clone(&self) -> D3D12_RESOURCE_DESC
fn clone(&self) -> D3D12_RESOURCE_DESC
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 moresource§impl Default for D3D12_RESOURCE_DESC
impl Default for D3D12_RESOURCE_DESC
source§fn default() -> D3D12_RESOURCE_DESC
fn default() -> D3D12_RESOURCE_DESC
Returns the “default value” for a type. Read more
source§impl From<&D3D12_RESOURCE_DESC> for ResourceCategory
impl From<&D3D12_RESOURCE_DESC> for ResourceCategory
source§fn from(desc: &D3D12_RESOURCE_DESC) -> Self
fn from(desc: &D3D12_RESOURCE_DESC) -> Self
Converts to this type from the input type.
impl Copy for D3D12_RESOURCE_DESC
Auto Trait Implementations§
impl RefUnwindSafe for D3D12_RESOURCE_DESC
impl Send for D3D12_RESOURCE_DESC
impl Sync for D3D12_RESOURCE_DESC
impl Unpin for D3D12_RESOURCE_DESC
impl UnwindSafe for D3D12_RESOURCE_DESC
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