Struct vulkano::command_buffer::synced::CommandBufferState [−][src]
pub struct CommandBufferState<'a> { /* fields omitted */ }
Expand description
Allows you to retrieve the current state of a command buffer builder.
Implementations
pub fn descriptor_set(
&self,
pipeline_bind_point: PipelineBindPoint,
set_num: u32
) -> Option<&'a SetOrPush>
pub fn descriptor_set(
&self,
pipeline_bind_point: PipelineBindPoint,
set_num: u32
) -> Option<&'a SetOrPush>
Returns the descriptor set currently bound to a given set number, or None
if nothing has
been bound yet.
pub fn descriptor_sets_pipeline_layout(
&self,
pipeline_bind_point: PipelineBindPoint
) -> Option<&'a Arc<PipelineLayout>>
pub fn descriptor_sets_pipeline_layout(
&self,
pipeline_bind_point: PipelineBindPoint
) -> Option<&'a Arc<PipelineLayout>>
Returns the pipeline layout that describes all currently bound descriptor sets.
This can be the layout used to perform the last bind operation, but it can also be the layout of an earlier bind if it was compatible with more recent binds.
Returns the index buffer currently bound, or None
if nothing has been bound yet.
Returns the compute pipeline currently bound, or None
if nothing has been bound yet.
Returns the graphics pipeline currently bound, or None
if nothing has been bound yet.
Returns the vertex buffer currently bound to a given binding slot number, or None
if
nothing has been bound yet.
Returns a set containing push constant bytes that have been set.
Returns the pipeline layout that describes the current push constants.
This is the layout used to perform the last push constant write operation.
Returns the current blend constants, or None
if nothing has been set yet.
Returns the current color write enable settings, or None
if nothing has been set yet.
Returns the current cull mode, or None
if nothing has been set yet.
Returns the current depth bias settings, or None
if nothing has been set yet.
Returns whether depth bias is enabled, or None
if nothing has been set yet.
Returns the current depth bounds settings, or None
if nothing has been set yet.
Returns whether depth bound testing is enabled, or None
if nothing has been set yet.
Returns the current depth compare op, or None
if nothing has been set yet.
Returns whether depth testing is enabled, or None
if nothing has been set yet.
Returns whether depth write is enabled, or None
if nothing has been set yet.
Returns the current discard rectangles, or None
if nothing has been set yet.
Returns the current front face, or None
if nothing has been set yet.
Returns the current line stipple settings, or None
if nothing has been set yet.
Returns the current line width, or None
if nothing has been set yet.
Returns the current logic op, or None
if nothing has been set yet.
Returns the current number of patch control points, or None
if nothing has been set yet.
Returns whether primitive restart is enabled, or None
if nothing has been set yet.
Returns the current primitive topology, or None
if nothing has been set yet.
Returns whether rasterizer discard is enabled, or None
if nothing has been set yet.
Returns the current scissor for a given viewport slot, or None
if nothing has been set yet.
Returns the current viewport-with-count settings, or None
if nothing has been set yet.
Returns the current stencil compare masks.
Returns the current stencil ops.
Returns the current stencil references.
Returns whether stencil testing is enabled, or None
if nothing has been set yet.
Returns the current stencil write masks.
Returns the current viewport for a given viewport slot, or None
if nothing has been set yet.
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for CommandBufferState<'a>
impl<'a> Send for CommandBufferState<'a>
impl<'a> Sync for CommandBufferState<'a>
impl<'a> Unpin for CommandBufferState<'a>
impl<'a> !UnwindSafe for CommandBufferState<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.