[−][src]Trait luminance::backend::color_slot::ColorSlot
Associated Types
type ColorTextures
Required methods
fn color_formats() -> Vec<PixelFormat>
fn reify_color_textures<C>(
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr,
attachment_index: usize
) -> Result<Self::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr,
attachment_index: usize
) -> Result<Self::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
Implementations on Foreign Types
impl<B: ?Sized, D> ColorSlot<B, D> for () where
B: Framebuffer<D>,
D: Dimensionable,
D::Size: Copy,
[src]
B: Framebuffer<D>,
D: Dimensionable,
D::Size: Copy,
type ColorTextures = ()
fn color_formats() -> Vec<PixelFormat>
[src]
fn reify_color_textures<C>(
_: &mut C,
_: D::Size,
_: usize,
_: &Sampler,
_: &mut B::FramebufferRepr,
_: usize
) -> Result<Self::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
[src]
_: &mut C,
_: D::Size,
_: usize,
_: &Sampler,
_: &mut B::FramebufferRepr,
_: usize
) -> Result<Self::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
impl<B: ?Sized, D, P10, P11> ColorSlot<B, D> for (P10, P11) where
B: Framebuffer<D> + TextureBackend<D, P10> + TextureBackend<D, P11>,
D: Dimensionable,
D::Size: Copy,
P10: ColorPixel + RenderablePixel,
P11: ColorPixel + RenderablePixel,
[src]
B: Framebuffer<D> + TextureBackend<D, P10> + TextureBackend<D, P11>,
D: Dimensionable,
D::Size: Copy,
P10: ColorPixel + RenderablePixel,
P11: ColorPixel + RenderablePixel,
type ColorTextures = (Texture<B, D, P10>, Texture<B, D, P11>)
fn color_formats() -> Vec<PixelFormat>
[src]
fn reify_color_textures<C>(
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr,
attachment_index: usize
) -> Result<Self::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
[src]
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr,
attachment_index: usize
) -> Result<Self::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
impl<B: ?Sized, D, P9, P10, P11> ColorSlot<B, D> for (P9, P10, P11) where
B: Framebuffer<D> + TextureBackend<D, P9> + TextureBackend<D, P10> + TextureBackend<D, P11>,
D: Dimensionable,
D::Size: Copy,
P9: ColorPixel + RenderablePixel,
P10: ColorPixel + RenderablePixel,
P11: ColorPixel + RenderablePixel,
[src]
B: Framebuffer<D> + TextureBackend<D, P9> + TextureBackend<D, P10> + TextureBackend<D, P11>,
D: Dimensionable,
D::Size: Copy,
P9: ColorPixel + RenderablePixel,
P10: ColorPixel + RenderablePixel,
P11: ColorPixel + RenderablePixel,
type ColorTextures = (Texture<B, D, P9>, Texture<B, D, P10>, Texture<B, D, P11>)
fn color_formats() -> Vec<PixelFormat>
[src]
fn reify_color_textures<C>(
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr,
attachment_index: usize
) -> Result<Self::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
[src]
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr,
attachment_index: usize
) -> Result<Self::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
impl<B: ?Sized, D, P8, P9, P10, P11> ColorSlot<B, D> for (P8, P9, P10, P11) where
B: Framebuffer<D> + TextureBackend<D, P8> + TextureBackend<D, P9> + TextureBackend<D, P10> + TextureBackend<D, P11>,
D: Dimensionable,
D::Size: Copy,
P8: ColorPixel + RenderablePixel,
P9: ColorPixel + RenderablePixel,
P10: ColorPixel + RenderablePixel,
P11: ColorPixel + RenderablePixel,
[src]
B: Framebuffer<D> + TextureBackend<D, P8> + TextureBackend<D, P9> + TextureBackend<D, P10> + TextureBackend<D, P11>,
D: Dimensionable,
D::Size: Copy,
P8: ColorPixel + RenderablePixel,
P9: ColorPixel + RenderablePixel,
P10: ColorPixel + RenderablePixel,
P11: ColorPixel + RenderablePixel,
type ColorTextures = (Texture<B, D, P8>, Texture<B, D, P9>, Texture<B, D, P10>, Texture<B, D, P11>)
fn color_formats() -> Vec<PixelFormat>
[src]
fn reify_color_textures<C>(
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr,
attachment_index: usize
) -> Result<Self::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
[src]
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr,
attachment_index: usize
) -> Result<Self::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
impl<B: ?Sized, D, P7, P8, P9, P10, P11> ColorSlot<B, D> for (P7, P8, P9, P10, P11) where
B: Framebuffer<D> + TextureBackend<D, P7> + TextureBackend<D, P8> + TextureBackend<D, P9> + TextureBackend<D, P10> + TextureBackend<D, P11>,
D: Dimensionable,
D::Size: Copy,
P7: ColorPixel + RenderablePixel,
P8: ColorPixel + RenderablePixel,
P9: ColorPixel + RenderablePixel,
P10: ColorPixel + RenderablePixel,
P11: ColorPixel + RenderablePixel,
[src]
B: Framebuffer<D> + TextureBackend<D, P7> + TextureBackend<D, P8> + TextureBackend<D, P9> + TextureBackend<D, P10> + TextureBackend<D, P11>,
D: Dimensionable,
D::Size: Copy,
P7: ColorPixel + RenderablePixel,
P8: ColorPixel + RenderablePixel,
P9: ColorPixel + RenderablePixel,
P10: ColorPixel + RenderablePixel,
P11: ColorPixel + RenderablePixel,
type ColorTextures = (Texture<B, D, P7>, Texture<B, D, P8>, Texture<B, D, P9>, Texture<B, D, P10>, Texture<B, D, P11>)
fn color_formats() -> Vec<PixelFormat>
[src]
fn reify_color_textures<C>(
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr,
attachment_index: usize
) -> Result<Self::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
[src]
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr,
attachment_index: usize
) -> Result<Self::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
impl<B: ?Sized, D, P6, P7, P8, P9, P10, P11> ColorSlot<B, D> for (P6, P7, P8, P9, P10, P11) where
B: Framebuffer<D> + TextureBackend<D, P6> + TextureBackend<D, P7> + TextureBackend<D, P8> + TextureBackend<D, P9> + TextureBackend<D, P10> + TextureBackend<D, P11>,
D: Dimensionable,
D::Size: Copy,
P6: ColorPixel + RenderablePixel,
P7: ColorPixel + RenderablePixel,
P8: ColorPixel + RenderablePixel,
P9: ColorPixel + RenderablePixel,
P10: ColorPixel + RenderablePixel,
P11: ColorPixel + RenderablePixel,
[src]
B: Framebuffer<D> + TextureBackend<D, P6> + TextureBackend<D, P7> + TextureBackend<D, P8> + TextureBackend<D, P9> + TextureBackend<D, P10> + TextureBackend<D, P11>,
D: Dimensionable,
D::Size: Copy,
P6: ColorPixel + RenderablePixel,
P7: ColorPixel + RenderablePixel,
P8: ColorPixel + RenderablePixel,
P9: ColorPixel + RenderablePixel,
P10: ColorPixel + RenderablePixel,
P11: ColorPixel + RenderablePixel,
type ColorTextures = (Texture<B, D, P6>, Texture<B, D, P7>, Texture<B, D, P8>, Texture<B, D, P9>, Texture<B, D, P10>, Texture<B, D, P11>)
fn color_formats() -> Vec<PixelFormat>
[src]
fn reify_color_textures<C>(
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr,
attachment_index: usize
) -> Result<Self::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
[src]
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr,
attachment_index: usize
) -> Result<Self::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
impl<B: ?Sized, D, P5, P6, P7, P8, P9, P10, P11> ColorSlot<B, D> for (P5, P6, P7, P8, P9, P10, P11) where
B: Framebuffer<D> + TextureBackend<D, P5> + TextureBackend<D, P6> + TextureBackend<D, P7> + TextureBackend<D, P8> + TextureBackend<D, P9> + TextureBackend<D, P10> + TextureBackend<D, P11>,
D: Dimensionable,
D::Size: Copy,
P5: ColorPixel + RenderablePixel,
P6: ColorPixel + RenderablePixel,
P7: ColorPixel + RenderablePixel,
P8: ColorPixel + RenderablePixel,
P9: ColorPixel + RenderablePixel,
P10: ColorPixel + RenderablePixel,
P11: ColorPixel + RenderablePixel,
[src]
B: Framebuffer<D> + TextureBackend<D, P5> + TextureBackend<D, P6> + TextureBackend<D, P7> + TextureBackend<D, P8> + TextureBackend<D, P9> + TextureBackend<D, P10> + TextureBackend<D, P11>,
D: Dimensionable,
D::Size: Copy,
P5: ColorPixel + RenderablePixel,
P6: ColorPixel + RenderablePixel,
P7: ColorPixel + RenderablePixel,
P8: ColorPixel + RenderablePixel,
P9: ColorPixel + RenderablePixel,
P10: ColorPixel + RenderablePixel,
P11: ColorPixel + RenderablePixel,
type ColorTextures = (Texture<B, D, P5>, Texture<B, D, P6>, Texture<B, D, P7>, Texture<B, D, P8>, Texture<B, D, P9>, Texture<B, D, P10>, Texture<B, D, P11>)
fn color_formats() -> Vec<PixelFormat>
[src]
fn reify_color_textures<C>(
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr,
attachment_index: usize
) -> Result<Self::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
[src]
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr,
attachment_index: usize
) -> Result<Self::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
impl<B: ?Sized, D, P4, P5, P6, P7, P8, P9, P10, P11> ColorSlot<B, D> for (P4, P5, P6, P7, P8, P9, P10, P11) where
B: Framebuffer<D> + TextureBackend<D, P4> + TextureBackend<D, P5> + TextureBackend<D, P6> + TextureBackend<D, P7> + TextureBackend<D, P8> + TextureBackend<D, P9> + TextureBackend<D, P10> + TextureBackend<D, P11>,
D: Dimensionable,
D::Size: Copy,
P4: ColorPixel + RenderablePixel,
P5: ColorPixel + RenderablePixel,
P6: ColorPixel + RenderablePixel,
P7: ColorPixel + RenderablePixel,
P8: ColorPixel + RenderablePixel,
P9: ColorPixel + RenderablePixel,
P10: ColorPixel + RenderablePixel,
P11: ColorPixel + RenderablePixel,
[src]
B: Framebuffer<D> + TextureBackend<D, P4> + TextureBackend<D, P5> + TextureBackend<D, P6> + TextureBackend<D, P7> + TextureBackend<D, P8> + TextureBackend<D, P9> + TextureBackend<D, P10> + TextureBackend<D, P11>,
D: Dimensionable,
D::Size: Copy,
P4: ColorPixel + RenderablePixel,
P5: ColorPixel + RenderablePixel,
P6: ColorPixel + RenderablePixel,
P7: ColorPixel + RenderablePixel,
P8: ColorPixel + RenderablePixel,
P9: ColorPixel + RenderablePixel,
P10: ColorPixel + RenderablePixel,
P11: ColorPixel + RenderablePixel,
type ColorTextures = (Texture<B, D, P4>, Texture<B, D, P5>, Texture<B, D, P6>, Texture<B, D, P7>, Texture<B, D, P8>, Texture<B, D, P9>, Texture<B, D, P10>, Texture<B, D, P11>)
fn color_formats() -> Vec<PixelFormat>
[src]
fn reify_color_textures<C>(
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr,
attachment_index: usize
) -> Result<Self::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
[src]
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr,
attachment_index: usize
) -> Result<Self::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
impl<B: ?Sized, D, P3, P4, P5, P6, P7, P8, P9, P10, P11> ColorSlot<B, D> for (P3, P4, P5, P6, P7, P8, P9, P10, P11) where
B: Framebuffer<D> + TextureBackend<D, P3> + TextureBackend<D, P4> + TextureBackend<D, P5> + TextureBackend<D, P6> + TextureBackend<D, P7> + TextureBackend<D, P8> + TextureBackend<D, P9> + TextureBackend<D, P10> + TextureBackend<D, P11>,
D: Dimensionable,
D::Size: Copy,
P3: ColorPixel + RenderablePixel,
P4: ColorPixel + RenderablePixel,
P5: ColorPixel + RenderablePixel,
P6: ColorPixel + RenderablePixel,
P7: ColorPixel + RenderablePixel,
P8: ColorPixel + RenderablePixel,
P9: ColorPixel + RenderablePixel,
P10: ColorPixel + RenderablePixel,
P11: ColorPixel + RenderablePixel,
[src]
B: Framebuffer<D> + TextureBackend<D, P3> + TextureBackend<D, P4> + TextureBackend<D, P5> + TextureBackend<D, P6> + TextureBackend<D, P7> + TextureBackend<D, P8> + TextureBackend<D, P9> + TextureBackend<D, P10> + TextureBackend<D, P11>,
D: Dimensionable,
D::Size: Copy,
P3: ColorPixel + RenderablePixel,
P4: ColorPixel + RenderablePixel,
P5: ColorPixel + RenderablePixel,
P6: ColorPixel + RenderablePixel,
P7: ColorPixel + RenderablePixel,
P8: ColorPixel + RenderablePixel,
P9: ColorPixel + RenderablePixel,
P10: ColorPixel + RenderablePixel,
P11: ColorPixel + RenderablePixel,
type ColorTextures = (Texture<B, D, P3>, Texture<B, D, P4>, Texture<B, D, P5>, Texture<B, D, P6>, Texture<B, D, P7>, Texture<B, D, P8>, Texture<B, D, P9>, Texture<B, D, P10>, Texture<B, D, P11>)
fn color_formats() -> Vec<PixelFormat>
[src]
fn reify_color_textures<C>(
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr,
attachment_index: usize
) -> Result<Self::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
[src]
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr,
attachment_index: usize
) -> Result<Self::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
impl<B: ?Sized, D, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11> ColorSlot<B, D> for (P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) where
B: Framebuffer<D> + TextureBackend<D, P2> + TextureBackend<D, P3> + TextureBackend<D, P4> + TextureBackend<D, P5> + TextureBackend<D, P6> + TextureBackend<D, P7> + TextureBackend<D, P8> + TextureBackend<D, P9> + TextureBackend<D, P10> + TextureBackend<D, P11>,
D: Dimensionable,
D::Size: Copy,
P2: ColorPixel + RenderablePixel,
P3: ColorPixel + RenderablePixel,
P4: ColorPixel + RenderablePixel,
P5: ColorPixel + RenderablePixel,
P6: ColorPixel + RenderablePixel,
P7: ColorPixel + RenderablePixel,
P8: ColorPixel + RenderablePixel,
P9: ColorPixel + RenderablePixel,
P10: ColorPixel + RenderablePixel,
P11: ColorPixel + RenderablePixel,
[src]
B: Framebuffer<D> + TextureBackend<D, P2> + TextureBackend<D, P3> + TextureBackend<D, P4> + TextureBackend<D, P5> + TextureBackend<D, P6> + TextureBackend<D, P7> + TextureBackend<D, P8> + TextureBackend<D, P9> + TextureBackend<D, P10> + TextureBackend<D, P11>,
D: Dimensionable,
D::Size: Copy,
P2: ColorPixel + RenderablePixel,
P3: ColorPixel + RenderablePixel,
P4: ColorPixel + RenderablePixel,
P5: ColorPixel + RenderablePixel,
P6: ColorPixel + RenderablePixel,
P7: ColorPixel + RenderablePixel,
P8: ColorPixel + RenderablePixel,
P9: ColorPixel + RenderablePixel,
P10: ColorPixel + RenderablePixel,
P11: ColorPixel + RenderablePixel,
type ColorTextures = (Texture<B, D, P2>, Texture<B, D, P3>, Texture<B, D, P4>, Texture<B, D, P5>, Texture<B, D, P6>, Texture<B, D, P7>, Texture<B, D, P8>, Texture<B, D, P9>, Texture<B, D, P10>, Texture<B, D, P11>)
fn color_formats() -> Vec<PixelFormat>
[src]
fn reify_color_textures<C>(
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr,
attachment_index: usize
) -> Result<Self::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
[src]
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr,
attachment_index: usize
) -> Result<Self::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
impl<B: ?Sized, D, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11> ColorSlot<B, D> for (P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) where
B: Framebuffer<D> + TextureBackend<D, P1> + TextureBackend<D, P2> + TextureBackend<D, P3> + TextureBackend<D, P4> + TextureBackend<D, P5> + TextureBackend<D, P6> + TextureBackend<D, P7> + TextureBackend<D, P8> + TextureBackend<D, P9> + TextureBackend<D, P10> + TextureBackend<D, P11>,
D: Dimensionable,
D::Size: Copy,
P1: ColorPixel + RenderablePixel,
P2: ColorPixel + RenderablePixel,
P3: ColorPixel + RenderablePixel,
P4: ColorPixel + RenderablePixel,
P5: ColorPixel + RenderablePixel,
P6: ColorPixel + RenderablePixel,
P7: ColorPixel + RenderablePixel,
P8: ColorPixel + RenderablePixel,
P9: ColorPixel + RenderablePixel,
P10: ColorPixel + RenderablePixel,
P11: ColorPixel + RenderablePixel,
[src]
B: Framebuffer<D> + TextureBackend<D, P1> + TextureBackend<D, P2> + TextureBackend<D, P3> + TextureBackend<D, P4> + TextureBackend<D, P5> + TextureBackend<D, P6> + TextureBackend<D, P7> + TextureBackend<D, P8> + TextureBackend<D, P9> + TextureBackend<D, P10> + TextureBackend<D, P11>,
D: Dimensionable,
D::Size: Copy,
P1: ColorPixel + RenderablePixel,
P2: ColorPixel + RenderablePixel,
P3: ColorPixel + RenderablePixel,
P4: ColorPixel + RenderablePixel,
P5: ColorPixel + RenderablePixel,
P6: ColorPixel + RenderablePixel,
P7: ColorPixel + RenderablePixel,
P8: ColorPixel + RenderablePixel,
P9: ColorPixel + RenderablePixel,
P10: ColorPixel + RenderablePixel,
P11: ColorPixel + RenderablePixel,
type ColorTextures = (Texture<B, D, P1>, Texture<B, D, P2>, Texture<B, D, P3>, Texture<B, D, P4>, Texture<B, D, P5>, Texture<B, D, P6>, Texture<B, D, P7>, Texture<B, D, P8>, Texture<B, D, P9>, Texture<B, D, P10>, Texture<B, D, P11>)
fn color_formats() -> Vec<PixelFormat>
[src]
fn reify_color_textures<C>(
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr,
attachment_index: usize
) -> Result<Self::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
[src]
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr,
attachment_index: usize
) -> Result<Self::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
impl<B: ?Sized, D, P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11> ColorSlot<B, D> for (P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11) where
B: Framebuffer<D> + TextureBackend<D, P0> + TextureBackend<D, P1> + TextureBackend<D, P2> + TextureBackend<D, P3> + TextureBackend<D, P4> + TextureBackend<D, P5> + TextureBackend<D, P6> + TextureBackend<D, P7> + TextureBackend<D, P8> + TextureBackend<D, P9> + TextureBackend<D, P10> + TextureBackend<D, P11>,
D: Dimensionable,
D::Size: Copy,
P0: ColorPixel + RenderablePixel,
P1: ColorPixel + RenderablePixel,
P2: ColorPixel + RenderablePixel,
P3: ColorPixel + RenderablePixel,
P4: ColorPixel + RenderablePixel,
P5: ColorPixel + RenderablePixel,
P6: ColorPixel + RenderablePixel,
P7: ColorPixel + RenderablePixel,
P8: ColorPixel + RenderablePixel,
P9: ColorPixel + RenderablePixel,
P10: ColorPixel + RenderablePixel,
P11: ColorPixel + RenderablePixel,
[src]
B: Framebuffer<D> + TextureBackend<D, P0> + TextureBackend<D, P1> + TextureBackend<D, P2> + TextureBackend<D, P3> + TextureBackend<D, P4> + TextureBackend<D, P5> + TextureBackend<D, P6> + TextureBackend<D, P7> + TextureBackend<D, P8> + TextureBackend<D, P9> + TextureBackend<D, P10> + TextureBackend<D, P11>,
D: Dimensionable,
D::Size: Copy,
P0: ColorPixel + RenderablePixel,
P1: ColorPixel + RenderablePixel,
P2: ColorPixel + RenderablePixel,
P3: ColorPixel + RenderablePixel,
P4: ColorPixel + RenderablePixel,
P5: ColorPixel + RenderablePixel,
P6: ColorPixel + RenderablePixel,
P7: ColorPixel + RenderablePixel,
P8: ColorPixel + RenderablePixel,
P9: ColorPixel + RenderablePixel,
P10: ColorPixel + RenderablePixel,
P11: ColorPixel + RenderablePixel,
type ColorTextures = (Texture<B, D, P0>, Texture<B, D, P1>, Texture<B, D, P2>, Texture<B, D, P3>, Texture<B, D, P4>, Texture<B, D, P5>, Texture<B, D, P6>, Texture<B, D, P7>, Texture<B, D, P8>, Texture<B, D, P9>, Texture<B, D, P10>, Texture<B, D, P11>)
fn color_formats() -> Vec<PixelFormat>
[src]
fn reify_color_textures<C>(
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr,
attachment_index: usize
) -> Result<Self::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
[src]
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr,
attachment_index: usize
) -> Result<Self::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
Implementors
impl<B: ?Sized, D, P> ColorSlot<B, D> for P where
B: Framebuffer<D> + TextureBackend<D, P>,
D: Dimensionable,
D::Size: Copy,
Self: ColorPixel + RenderablePixel,
[src]
B: Framebuffer<D> + TextureBackend<D, P>,
D: Dimensionable,
D::Size: Copy,
Self: ColorPixel + RenderablePixel,
type ColorTextures = Texture<B, D, P>
fn color_formats() -> Vec<PixelFormat>
[src]
fn reify_color_textures<C>(
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr,
attachment_index: usize
) -> Result<Self::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,
[src]
ctx: &mut C,
size: D::Size,
mipmaps: usize,
sampler: &Sampler,
framebuffer: &mut B::FramebufferRepr,
attachment_index: usize
) -> Result<Self::ColorTextures, FramebufferError> where
C: GraphicsContext<Backend = B>,