#[repr(C)]pub struct PipelineState {
pub rootSignature: RootSignature,
pub pipeline: Pipeline,
pub uavCount: u32,
pub srvCount: u32,
pub constCount: u32,
pub uavResourceBindings: [ResourceBinding; 8],
pub srvResourceBindings: [ResourceBinding; 16],
pub cbResourceBindings: [ResourceBinding; 2],
}Expand description
A structure encapsulating a single pass of an algorithm.
Fields§
§rootSignature: RootSignature< The pipelines rootSignature
pipeline: Pipeline< The pipeline object
uavCount: u32< Count of UAVs used in this pipeline
srvCount: u32< Count of SRVs used in this pipeline
constCount: u32< Count of constant buffers used in this pipeline
uavResourceBindings: [ResourceBinding; 8]< Array of ResourceIdentifiers bound as UAVs
srvResourceBindings: [ResourceBinding; 16]< Array of ResourceIdentifiers bound as SRVs
cbResourceBindings: [ResourceBinding; 2]< Array of ResourceIdentifiers bound as CBs
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PipelineState
impl RefUnwindSafe for PipelineState
impl !Send for PipelineState
impl !Sync for PipelineState
impl Unpin for PipelineState
impl UnwindSafe for PipelineState
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