Struct gpu_allocator::d3d12::winapi_d3d12::D3D12_RASTERIZER_DESC
source · #[repr(C)]pub struct D3D12_RASTERIZER_DESC {
pub FillMode: u32,
pub CullMode: u32,
pub FrontCounterClockwise: i32,
pub DepthBias: i32,
pub DepthBiasClamp: f32,
pub SlopeScaledDepthBias: f32,
pub DepthClipEnable: i32,
pub MultisampleEnable: i32,
pub AntialiasedLineEnable: i32,
pub ForcedSampleCount: u32,
pub ConservativeRaster: u32,
}
Fields§
§FillMode: u32
§CullMode: u32
§FrontCounterClockwise: i32
§DepthBias: i32
§DepthBiasClamp: f32
§SlopeScaledDepthBias: f32
§DepthClipEnable: i32
§MultisampleEnable: i32
§AntialiasedLineEnable: i32
§ForcedSampleCount: u32
§ConservativeRaster: u32
Trait Implementations§
source§impl Clone for D3D12_RASTERIZER_DESC
impl Clone for D3D12_RASTERIZER_DESC
source§fn clone(&self) -> D3D12_RASTERIZER_DESC
fn clone(&self) -> D3D12_RASTERIZER_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_RASTERIZER_DESC
impl Default for D3D12_RASTERIZER_DESC
source§fn default() -> D3D12_RASTERIZER_DESC
fn default() -> D3D12_RASTERIZER_DESC
Returns the “default value” for a type. Read more
impl Copy for D3D12_RASTERIZER_DESC
Auto Trait Implementations§
impl RefUnwindSafe for D3D12_RASTERIZER_DESC
impl Send for D3D12_RASTERIZER_DESC
impl Sync for D3D12_RASTERIZER_DESC
impl Unpin for D3D12_RASTERIZER_DESC
impl UnwindSafe for D3D12_RASTERIZER_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