Struct winapi::d3d12::D3D12_CLEAR_VALUE [] [src]

pub struct D3D12_CLEAR_VALUE {
    pub Format: DXGI_FORMAT,
    pub u: [FLOAT; 4],
}

Fields

Format: DXGI_FORMAT u: [FLOAT; 4]

Methods

impl D3D12_CLEAR_VALUE
[src]

unsafe fn DepthStencil(&self) -> &D3D12_DEPTH_STENCIL_VALUE

unsafe fn DepthStencil_mut(&mut self) -> &mut D3D12_DEPTH_STENCIL_VALUE

impl D3D12_CLEAR_VALUE
[src]

unsafe fn Color(&self) -> &[FLOAT; 4]

unsafe fn Color_mut(&mut self) -> &mut [FLOAT; 4]

Trait Implementations

impl Debug for D3D12_CLEAR_VALUE
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Copy for D3D12_CLEAR_VALUE
[src]

impl Clone for D3D12_CLEAR_VALUE
[src]

fn clone(&self) -> D3D12_CLEAR_VALUE

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more