Struct vulkano::pipeline::vertex::BufferlessVertices
source · Expand description
Value to be passed as the vertex source for bufferless draw commands.
Note that the concrete type of the graphics pipeline using BufferlessDefinition
must be
visible to the command buffer builder for this to be usable.
Fields
vertices: usize
instances: usize
Trait Implementations
sourceimpl VertexSource<BufferlessVertices> for BufferlessDefinition
impl VertexSource<BufferlessVertices> for BufferlessDefinition
sourcefn decode(
&self,
n: BufferlessVertices
) -> (Vec<Box<dyn BufferAccess + Sync + Send + 'static>>, usize, usize)
fn decode(
&self,
n: BufferlessVertices
) -> (Vec<Box<dyn BufferAccess + Sync + Send + 'static>>, usize, usize)
Checks and returns the list of buffers with offsets, number of vertices and number of instances.
Auto Trait Implementations
impl RefUnwindSafe for BufferlessVertices
impl Send for BufferlessVertices
impl Sync for BufferlessVertices
impl Unpin for BufferlessVertices
impl UnwindSafe for BufferlessVertices
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
sourceimpl<T> Content for T
impl<T> Content for T
sourcefn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
fn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
Builds a pointer to this type from a raw pointer.
sourcefn is_size_suitable(size: usize) -> bool
fn is_size_suitable(size: usize) -> bool
Returns true if the size is suitable to store a type like this.
sourcefn indiv_size() -> usize
fn indiv_size() -> usize
Returns the size of an individual element.