[−][src]Struct nobs_vulkanism_headless::pipes::pipeline::builder::graphics::raster::Builder
Builder for a raster state
Default initialized with
- depth clamp: dispabled
- rasterizer discard: disabled
- polygon mode:
vk::POLYGON_MODE_FILL
- line width:
1
- cull mode:
vk::CULL_MODE_BACK_BIT
- front face:
vk::FRONT_FACE_COUNTER_CLOCKWISE
- depth bias: disabled
- depth bias const factor:
0
- depth bias clamp:
0
- depth bias solpe factor:
0
Fields
info: PipelineRasterizationStateCreateInfo
Methods
impl Builder
[src]
pub fn raw(info: PipelineRasterizationStateCreateInfo) -> Builder
[src]
pub fn depth_clamp_enable(self, enable: u32) -> Builder
[src]
pub fn discard_enable(self, enable: u32) -> Builder
[src]
pub fn polygon_mode(self, mode: u32) -> Builder
[src]
pub fn line_width(self, width: f32) -> Builder
[src]
pub fn cull_mode(self, mode: u32) -> Builder
[src]
pub fn front_face(self, front_face: u32) -> Builder
[src]
pub fn depth_bias_enable(self, enable: u32) -> Builder
[src]
pub fn depth_bias_constantfactor(self, f: f32) -> Builder
[src]
pub fn depth_bias_clamp(self, c: f32) -> Builder
[src]
pub fn depth_bias_slopefactor(self, f: f32) -> Builder
[src]
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,