pub struct NormRGBA16I;Expand description
A red, green, blue and alpha 16-bit signed integral pixel format, accessed as normalized floating pixels.
Trait Implementations§
Source§impl Clone for NormRGBA16I
impl Clone for NormRGBA16I
Source§fn clone(&self) -> NormRGBA16I
fn clone(&self) -> NormRGBA16I
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NormRGBA16I
impl Debug for NormRGBA16I
Source§impl Pixel for NormRGBA16I
impl Pixel for NormRGBA16I
Source§type RawEncoding = i16
type RawEncoding = i16
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 NormRGBA16I
impl Copy for NormRGBA16I
impl RenderablePixel for NormRGBA16I
Auto Trait Implementations§
impl Freeze for NormRGBA16I
impl RefUnwindSafe for NormRGBA16I
impl Send for NormRGBA16I
impl Sync for NormRGBA16I
impl Unpin for NormRGBA16I
impl UnwindSafe for NormRGBA16I
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