pub struct AccelerationStructureLayoutEntry {
pub binding: u32,
pub visibility: ShaderStages,
}Expand description
One acceleration-structure slot in a ray-query bind-group layout.
Fields§
§binding: u32Binding index within the group.
visibility: ShaderStagesShader stages that may issue ray queries.
Trait Implementations§
impl Copy for AccelerationStructureLayoutEntry
Auto Trait Implementations§
impl Freeze for AccelerationStructureLayoutEntry
impl RefUnwindSafe for AccelerationStructureLayoutEntry
impl Send for AccelerationStructureLayoutEntry
impl Sync for AccelerationStructureLayoutEntry
impl Unpin for AccelerationStructureLayoutEntry
impl UnsafeUnpin for AccelerationStructureLayoutEntry
impl UnwindSafe for AccelerationStructureLayoutEntry
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