Struct voodoo::StencilOpState
[−]
[src]
#[repr(C)]pub struct StencilOpState { /* fields omitted */ }
A VkStencilOpState
.
Methods
impl StencilOpState
[src]
pub fn builder() -> StencilOpStateBuilder
[src]
pub unsafe fn from_raw(raw: VkStencilOpState) -> StencilOpState
[src]
pub fn fail_op<'a>(&'a self) -> StencilOp
[src]
pub fn pass_op<'a>(&'a self) -> StencilOp
[src]
pub fn depth_fail_op<'a>(&'a self) -> StencilOp
[src]
pub fn compare_op<'a>(&'a self) -> CompareOp
[src]
pub fn compare_mask<'a>(&'a self) -> u32
[src]
pub fn write_mask<'a>(&'a self) -> u32
[src]
pub fn reference<'a>(&'a self) -> u32
[src]
pub fn set_fail_op<'m>(&mut self, fail_op: StencilOp)
[src]
pub fn set_pass_op<'m>(&mut self, pass_op: StencilOp)
[src]
pub fn set_depth_fail_op<'m>(&mut self, depth_fail_op: StencilOp)
[src]
pub fn set_compare_op<'m>(&mut self, compare_op: CompareOp)
[src]
pub fn set_compare_mask<'m>(&mut self, compare_mask: u32)
[src]
pub fn set_write_mask<'m>(&mut self, write_mask: u32)
[src]
pub fn set_reference<'m>(&mut self, reference: u32)
[src]
pub fn as_raw(&self) -> &VkStencilOpState
[src]
Trait Implementations
impl Debug for StencilOpState
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for StencilOpState
[src]
fn clone(&self) -> StencilOpState
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for StencilOpState
[src]
fn default() -> StencilOpState
[src]
Returns the "default value" for a type. Read more
impl From<StencilOpState> for VkStencilOpState
[src]
fn from(f: StencilOpState) -> VkStencilOpState
[src]
Performs the conversion.