pub struct RenderBuffer {
pub name: String,
pub size: BufferSize,
pub stride: Option<u32>,
pub elements: Option<u64>,
pub history: bool,
pub shared: bool,
}Expand description
One buffer the frame makes (or keeps from the frame before): its steps write it as an unordered-access view and read
it as a shader resource, the step that writes it named in the graph’s order (PassWork::Compute::buffer_writes).
Fields§
§name: StringWhat it holds, as the step that writes it says (GXLightOrganize16 u0).
size: BufferSize§stride: Option<u32>The bytes of one element, where the source’s views of it state one (a structured buffer’s stride).
elements: Option<u64>The elements the source’s views of it span, where they state a count.
history: boolThe frame reads what the previous frame left in it.
One buffer for the frame, shared by every view, rather than one per view.
Trait Implementations§
Source§impl Clone for RenderBuffer
impl Clone for RenderBuffer
Source§impl Debug for RenderBuffer
impl Debug for RenderBuffer
Source§impl PartialEq for RenderBuffer
impl PartialEq for RenderBuffer
Source§impl Serialize for RenderBuffer
impl Serialize for RenderBuffer
impl StructuralPartialEq for RenderBuffer
Auto Trait Implementations§
impl Forget for RenderBuffer
impl Freeze for RenderBuffer
impl RefUnwindSafe for RenderBuffer
impl Send for RenderBuffer
impl Sync for RenderBuffer
impl Unpin for RenderBuffer
impl UnsafeUnpin for RenderBuffer
impl UnwindSafe for RenderBuffer
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