pub struct ResolutionInfo {
pub(crate) buffer: WgpuBuffer<UVec3>,
pub(crate) pixel_count_buffer: WgpuVecBuffer<u32>,
pub(crate) oit_colors_buffer: WgpuVecBuffer<u32>,
pub(crate) oit_depths_buffer: WgpuVecBuffer<f32>,
pub(crate) bind_group: BindGroup,
}Fields§
§buffer: WgpuBuffer<UVec3>§pixel_count_buffer: WgpuVecBuffer<u32>§oit_colors_buffer: WgpuVecBuffer<u32>§oit_depths_buffer: WgpuVecBuffer<f32>§bind_group: BindGroupImplementations§
Source§impl ResolutionInfo
impl ResolutionInfo
pub fn new( ctx: &WgpuContext, width: u32, height: u32, oit_layers: usize, ) -> Self
pub fn create_bind_group_layout(ctx: &WgpuContext) -> BindGroupLayout
Auto Trait Implementations§
impl Freeze for ResolutionInfo
impl !RefUnwindSafe for ResolutionInfo
impl Send for ResolutionInfo
impl Sync for ResolutionInfo
impl Unpin for ResolutionInfo
impl !UnwindSafe for ResolutionInfo
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more