[−][src]Struct luminance::pixel::NormRG8UI
A red and green 8-bit unsigned integral pixel format, accessed as normalized floating pixels.
Trait Implementations
impl Clone for NormRG8UI
[src]
impl ColorPixel for NormRG8UI
[src]
impl Copy for NormRG8UI
[src]
impl Debug for NormRG8UI
[src]
impl Pixel for NormRG8UI
[src]
type Encoding = (u8, u8)
Encoding of a single pixel. It should match the PixelFormat
mapping.
type RawEncoding = u8
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. Read more
type SamplerType = NormUnsigned
The type of sampler required to access this pixel format.
pub fn pixel_format() -> PixelFormat
[src]
impl RenderablePixel for NormRG8UI
[src]
Auto Trait Implementations
impl RefUnwindSafe for NormRG8UI
[src]
impl Send for NormRG8UI
[src]
impl Sync for NormRG8UI
[src]
impl Unpin for NormRG8UI
[src]
impl UnwindSafe for NormRG8UI
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<B, D, P> ColorSlot<B, D> for P where
B: Framebuffer<D> + Texture<D, P> + ?Sized,
D: Dimensionable,
P: ColorPixel + RenderablePixel,
<D as Dimensionable>::Size: Copy,
[src]
B: Framebuffer<D> + Texture<D, P> + ?Sized,
D: Dimensionable,
P: ColorPixel + RenderablePixel,
<D as Dimensionable>::Size: Copy,
type ColorTextures = Texture<B, D, P>
pub fn color_formats() -> Vec<PixelFormat, Global>
[src]
pub fn reify_color_textures<C>(
&mut C,
<D as Dimensionable>::Size,
usize,
&Sampler,
&mut <B as Framebuffer<D>>::FramebufferRepr,
usize
) -> Result<<P as ColorSlot<B, D>>::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
[src]
&mut C,
<D as Dimensionable>::Size,
usize,
&Sampler,
&mut <B as Framebuffer<D>>::FramebufferRepr,
usize
) -> Result<<P as ColorSlot<B, D>>::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,