pub struct NewDxgiParams {
pub height: u32,
pub width: u32,
pub depth: Option<u32>,
pub format: DxgiFormat,
pub mipmap_levels: Option<u32>,
pub array_layers: Option<u32>,
pub caps2: Option<Caps2>,
pub is_cubemap: bool,
pub resource_dimension: D3D10ResourceDimension,
pub alpha_mode: AlphaMode,
}Expand description
Parameters for Dds::new_dxgi()
Fields§
§height: u32§width: u32§depth: Option<u32>§format: DxgiFormat§mipmap_levels: Option<u32>§array_layers: Option<u32>§caps2: Option<Caps2>§is_cubemap: bool§resource_dimension: D3D10ResourceDimension§alpha_mode: AlphaModeAuto Trait Implementations§
impl Freeze for NewDxgiParams
impl RefUnwindSafe for NewDxgiParams
impl Send for NewDxgiParams
impl Sync for NewDxgiParams
impl Unpin for NewDxgiParams
impl UnwindSafe for NewDxgiParams
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