Struct erupt::vk1_0::StencilOpStateBuilder
source · #[repr(transparent)]pub struct StencilOpStateBuilder<'a>(_, _);
Expand description
Vulkan Manual Page · Builder of StencilOpState
Implementations
sourceimpl<'a> StencilOpStateBuilder<'a>
impl<'a> StencilOpStateBuilder<'a>
pub fn new() -> StencilOpStateBuilder<'a>
pub fn fail_op(self, fail_op: StencilOp) -> Self
pub fn pass_op(self, pass_op: StencilOp) -> Self
pub fn depth_fail_op(self, depth_fail_op: StencilOp) -> Self
pub fn compare_op(self, compare_op: CompareOp) -> Self
pub fn compare_mask(self, compare_mask: u32) -> Self
pub fn write_mask(self, write_mask: u32) -> Self
pub fn reference(self, reference: u32) -> Self
pub fn build(self) -> StencilOpState
Trait Implementations
sourceimpl<'a> Clone for StencilOpStateBuilder<'a>
impl<'a> Clone for StencilOpStateBuilder<'a>
sourcefn clone(&self) -> StencilOpStateBuilder<'a>
fn clone(&self) -> StencilOpStateBuilder<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for StencilOpStateBuilder<'a>
impl<'a> Debug for StencilOpStateBuilder<'a>
sourceimpl<'a> Default for StencilOpStateBuilder<'a>
impl<'a> Default for StencilOpStateBuilder<'a>
sourcefn default() -> StencilOpStateBuilder<'a>
fn default() -> StencilOpStateBuilder<'a>
Returns the “default value” for a type. Read more
sourceimpl<'a> Deref for StencilOpStateBuilder<'a>
impl<'a> Deref for StencilOpStateBuilder<'a>
type Target = StencilOpState
type Target = StencilOpState
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for StencilOpStateBuilder<'a>
impl<'a> DerefMut for StencilOpStateBuilder<'a>
impl<'a> Copy for StencilOpStateBuilder<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for StencilOpStateBuilder<'a>
impl<'a> Send for StencilOpStateBuilder<'a>
impl<'a> Sync for StencilOpStateBuilder<'a>
impl<'a> Unpin for StencilOpStateBuilder<'a>
impl<'a> UnwindSafe for StencilOpStateBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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