pub struct NormRG32I;Expand description
A red and green 32-bit signed integral pixel format, accessed as normalized floating pixels.
Trait Implementations§
Source§impl Pixel for NormRG32I
impl Pixel for NormRG32I
Source§type RawEncoding = i32
type RawEncoding = i32
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 = NormIntegral
type SamplerType = NormIntegral
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 NormRG32I
impl Copy for NormRG32I
impl RenderablePixel for NormRG32I
Auto Trait Implementations§
impl Freeze for NormRG32I
impl RefUnwindSafe for NormRG32I
impl Send for NormRG32I
impl Sync for NormRG32I
impl Unpin for NormRG32I
impl UnwindSafe for NormRG32I
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