pub struct PipelineResources {
pub constants: BTreeMap<(u32, u32), Vec<[u32; 4]>>,
pub scene: Scene,
}Expand description
What a dispatch binds besides the programs: the constant buffers of the root signature, by register and space, and the acceleration structure all the programs trace into.
Fields§
§constants: BTreeMap<(u32, u32), Vec<[u32; 4]>>The constant buffers of the root signature, by (register, space): rows of four 32-bit words.
scene: SceneThe acceleration structure every program traces into.
Trait Implementations§
Source§impl Clone for PipelineResources
impl Clone for PipelineResources
Source§impl Debug for PipelineResources
impl Debug for PipelineResources
Auto Trait Implementations§
impl Freeze for PipelineResources
impl RefUnwindSafe for PipelineResources
impl Send for PipelineResources
impl Sync for PipelineResources
impl Unpin for PipelineResources
impl UnsafeUnpin for PipelineResources
impl UnwindSafe for PipelineResources
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