Struct wgpu::PipelineLayout
source · pub struct PipelineLayout { /* private fields */ }
Expand description
Handle to a pipeline layout.
A PipelineLayout
object describes the available binding groups of a pipeline.
It can be created with Device::create_pipeline_layout
.
Corresponds to WebGPU GPUPipelineLayout
.
Implementations§
source§impl PipelineLayout
impl PipelineLayout
sourcepub fn global_id(&self) -> Id
Available on crate feature expose-ids
only.
pub fn global_id(&self) -> Id
expose-ids
only.Returns a globally-unique identifier for this PipelineLayout
.
Calling this method multiple times on the same object will always return the same value.
The returned value is guaranteed to be different for all resources created from the same Instance
.