pub struct PipelineLayoutDesc {
pub bind_group_count: usize,
pub max_vertex_buffers: usize,
pub total_vertex_attributes: usize,
pub max_vertex_buffer_stride: usize,
pub sample_count: u32,
pub uniform_buffer_sizes: Vec<usize>,
}Expand description
Pipeline layout descriptor — a simplified representation for lint checking.
Fields§
§bind_group_count: usizeNumber of bind groups
max_vertex_buffers: usizeMaximum vertex buffers used
total_vertex_attributes: usizeTotal vertex attributes across all buffers
max_vertex_buffer_stride: usizeMaximum stride of any vertex buffer
sample_count: u32Sample count for rasterization
uniform_buffer_sizes: Vec<usize>Uniform buffer sizes per bind group
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PipelineLayoutDesc
impl RefUnwindSafe for PipelineLayoutDesc
impl Send for PipelineLayoutDesc
impl Sync for PipelineLayoutDesc
impl Unpin for PipelineLayoutDesc
impl UnsafeUnpin for PipelineLayoutDesc
impl UnwindSafe for PipelineLayoutDesc
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