[−][src]Struct nobs_vulkanism_headless::cmd::commands::DrawVertices
Binds vertex buffers and issues draw call
Fields
vertex_buffers: BindVertexBuffers
vertex_count: u32
instance_count: u32
first_vertex: u32
first_instance: u32
Methods
impl DrawVertices
[src]
pub fn new(vertex_buffers: BindVertexBuffers) -> Self
[src]
Creates a new builder for normal drawing
Default initializes:
index_count = 0
instance_count = 1
first_index = 0
first_instance = 0
pub fn first_vertex(self, first: u32) -> Self
[src]
pub fn vertex_count(self, count: u32) -> Self
[src]
pub fn vertices(self, first: u32, count: u32) -> Self
[src]
pub fn first_instance(self, first: u32) -> Self
[src]
pub fn instance_count(self, count: u32) -> Self
[src]
pub fn instances(self, first: u32, count: u32) -> Self
[src]
Trait Implementations
impl StreamPush for DrawVertices
[src]
impl Default for DrawVertices
[src]
fn default() -> DrawVertices
[src]
Auto Trait Implementations
impl Send for DrawVertices
impl Sync for DrawVertices
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>,