Struct windows_sys::Win32::Graphics::Direct3D11::D3D11_TEXTURE2D_DESC
[−]#[repr(C)]pub struct D3D11_TEXTURE2D_DESC {
pub Width: u32,
pub Height: u32,
pub MipLevels: u32,
pub ArraySize: u32,
pub Format: DXGI_FORMAT,
pub SampleDesc: DXGI_SAMPLE_DESC,
pub Usage: D3D11_USAGE,
pub BindFlags: D3D11_BIND_FLAG,
pub CPUAccessFlags: D3D11_CPU_ACCESS_FLAG,
pub MiscFlags: D3D11_RESOURCE_MISC_FLAG,
}
Expand description
Required features: "Win32_Graphics_Direct3D11"
, "Win32_Graphics_Dxgi_Common"
Fields
Width: u32
Height: u32
MipLevels: u32
ArraySize: u32
Format: DXGI_FORMAT
SampleDesc: DXGI_SAMPLE_DESC
Usage: D3D11_USAGE
BindFlags: D3D11_BIND_FLAG
CPUAccessFlags: D3D11_CPU_ACCESS_FLAG
MiscFlags: D3D11_RESOURCE_MISC_FLAG
Trait Implementations
impl Clone for D3D11_TEXTURE2D_DESC
impl Clone for D3D11_TEXTURE2D_DESC
impl Copy for D3D11_TEXTURE2D_DESC
Auto Trait Implementations
impl RefUnwindSafe for D3D11_TEXTURE2D_DESC
impl Send for D3D11_TEXTURE2D_DESC
impl Sync for D3D11_TEXTURE2D_DESC
impl Unpin for D3D11_TEXTURE2D_DESC
impl UnwindSafe for D3D11_TEXTURE2D_DESC
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more