Enum conrod_vulkano::Draw
source · Expand description
A Command
for drawing to the target.
Each variant describes how to draw the contents of the vertex buffer.
Variants§
Image(Id, &'a [Vertex])
A range of vertices representing triangles textured with the image in the
image_map at the given widget::Id
.
Plain(&'a [Vertex])
A range of vertices representing plain triangles.
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Draw<'a>
impl<'a> Send for Draw<'a>
impl<'a> Sync for Draw<'a>
impl<'a> Unpin for Draw<'a>
impl<'a> UnwindSafe for Draw<'a>
Blanket Implementations§
source§impl<T> Content for T
impl<T> Content for T
source§fn 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.
source§fn 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.
source§fn indiv_size() -> usize
fn indiv_size() -> usize
Returns the size of an individual element.