pub struct VertexInputState {
pub flags: PipelineVertexInputStateCreateFlags,
pub vertex_binding_descriptions: Vec<VertexInputBindingDescription>,
pub vertex_attribute_descriptions: Vec<VertexInputAttributeDescription>,
}Expand description
Fields§
§flags: PipelineVertexInputStateCreateFlags§vertex_binding_descriptions: Vec<VertexInputBindingDescription>§vertex_attribute_descriptions: Vec<VertexInputAttributeDescription>Implementations§
Source§impl VertexInputState
impl VertexInputState
pub fn write_create_info_builder<'a>( &'a self, builder: PipelineVertexInputStateCreateInfoBuilder<'a>, ) -> PipelineVertexInputStateCreateInfoBuilder<'a>
pub fn create_info_builder( &self, ) -> PipelineVertexInputStateCreateInfoBuilder<'_>
Sourcepub unsafe fn from_create_info(
value: &PipelineVertexInputStateCreateInfo,
) -> Self
pub unsafe fn from_create_info( value: &PipelineVertexInputStateCreateInfo, ) -> Self
Safety:
- if
p_vertex_binding_descriptionsis not null, it must point to an array ofvertex_binding_description_countvalues - if
p_vertex_attribute_descriptionsis not null, it must point to an array ofvertex_attribute_description_countvalues
pub fn from_create_info_builder( value: &PipelineVertexInputStateCreateInfoBuilder<'_>, ) -> Self
Trait Implementations§
Source§impl Clone for VertexInputState
impl Clone for VertexInputState
Source§fn clone(&self) -> VertexInputState
fn clone(&self) -> VertexInputState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VertexInputState
impl Debug for VertexInputState
Auto Trait Implementations§
impl Freeze for VertexInputState
impl RefUnwindSafe for VertexInputState
impl Send for VertexInputState
impl Sync for VertexInputState
impl Unpin for VertexInputState
impl UnwindSafe for VertexInputState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more