pub struct ExposureBuffers {
pub histogram: BufferHandle,
pub measured: BufferHandle,
}Expand description
The buffers one frame’s measurement lives in.
A window for a test, and this pass’s only public surface, on
FroxelBuffers’ terms: the histogram is checked
against crcbl_shaders::exposure bin by bin, which is the one thing that
can tell a wrong bin from a wrong dispatch extent — a frame-level check sees
only the exposure the two of them compose to.
Fields§
§histogram: BufferHandle[bin]: how many texels of the frame landed in each bin, as
histogramMain left it.
measured: BufferHandle[0]: the exposure reduceMain measured, and the one the tonemap
applied.
Trait Implementations§
Source§impl Clone for ExposureBuffers
impl Clone for ExposureBuffers
impl Copy for ExposureBuffers
Auto Trait Implementations§
impl Forget for ExposureBuffers
impl Freeze for ExposureBuffers
impl RefUnwindSafe for ExposureBuffers
impl Send for ExposureBuffers
impl Sync for ExposureBuffers
impl Unpin for ExposureBuffers
impl UnsafeUnpin for ExposureBuffers
impl UnwindSafe for ExposureBuffers
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