pub struct R32UI;Expand description
A red 32-bit unsigned integral pixel format.
Trait Implementations§
Source§impl Pixel for R32UI
impl Pixel for R32UI
Source§type Encoding = u32
type Encoding = u32
Encoding of a single pixel. It should match the
PixelFormat mapping.Source§type RawEncoding = u32
type RawEncoding = u32
Raw encoding of a single pixel; i.e. that is, encoding of underlying values in contiguous
texture memory, without taking into account channels. It should match the
PixelFormat
mapping.Source§type SamplerType = Unsigned
type SamplerType = Unsigned
The type of sampler required to access this pixel format.
Source§fn pixel_format() -> PixelFormat
fn pixel_format() -> PixelFormat
Reify to
PixelFormat.impl ColorPixel for R32UI
impl Copy for R32UI
impl RenderablePixel for R32UI
Auto Trait Implementations§
impl Freeze for R32UI
impl RefUnwindSafe for R32UI
impl Send for R32UI
impl Sync for R32UI
impl Unpin for R32UI
impl UnwindSafe for R32UI
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<B, D, P> ColorSlot<B, D> for Pwhere
B: Framebuffer<D> + Texture<D, P> + ?Sized,
D: Dimensionable,
<D as Dimensionable>::Size: Copy,
P: ColorPixel + RenderablePixel,
impl<B, D, P> ColorSlot<B, D> for Pwhere
B: Framebuffer<D> + Texture<D, P> + ?Sized,
D: Dimensionable,
<D as Dimensionable>::Size: Copy,
P: ColorPixel + RenderablePixel,
Source§type ColorTextures = Texture<B, D, P>
type ColorTextures = Texture<B, D, P>
The associated data. Read more
Source§fn color_formats() -> Vec<PixelFormat>
fn color_formats() -> Vec<PixelFormat>
Pixel format representing the color slot. Read more
Source§fn reify_color_textures<C>(
ctx: &mut C,
size: <D as Dimensionable>::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut <B as Framebuffer<D>>::FramebufferRepr,
attachment_index: usize,
) -> Result<<P as ColorSlot<B, D>>::ColorTextures, FramebufferError>where
C: GraphicsContext<Backend = B>,
fn reify_color_textures<C>(
ctx: &mut C,
size: <D as Dimensionable>::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut <B as Framebuffer<D>>::FramebufferRepr,
attachment_index: usize,
) -> Result<<P as ColorSlot<B, D>>::ColorTextures, FramebufferError>where
C: GraphicsContext<Backend = B>,
Reify the color slots into 0, 1 or several textures. Read more