Struct vulkano::pipeline::layout::PipelineLayoutPcRange [−][src]
pub struct PipelineLayoutPcRange {
pub offset: u32,
pub size: u32,
pub stages: ShaderStages,
}
Expand description
Description of a range of the push constants of a pipeline layout.
Fields
offset: u32
Offset in bytes from the start of the push constants to this range.
size: u32
Size in bytes of the range.
stages: ShaderStages
The stages which can access this range. A stage can access at most one push constant range.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PipelineLayoutPcRange
impl Send for PipelineLayoutPcRange
impl Sync for PipelineLayoutPcRange
impl Unpin for PipelineLayoutPcRange
impl UnwindSafe for PipelineLayoutPcRange
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.