[][src]Trait web_glitz::rendering::RenderingOutputBuffer

pub trait RenderingOutputBuffer {
    type Format: InternalFormat;
    fn width(&self) -> u32;
fn height(&self) -> u32; }

Trait implemented by types that represent a rendering output buffer in the framebuffer for a custom render target.

Associated Types

type Format: InternalFormat

The type image storage format used by the buffer.

Loading content...

Required methods

fn width(&self) -> u32

The width of the buffer (in pixels).

fn height(&self) -> u32

The height of the buffer (in pixels).

Loading content...

Implementors

impl<F> RenderingOutputBuffer for DepthBuffer<F> where
    F: InternalFormat
[src]

type Format = F

impl<F> RenderingOutputBuffer for DepthStencilBuffer<F> where
    F: InternalFormat
[src]

type Format = F

impl<F> RenderingOutputBuffer for FloatBuffer<F> where
    F: InternalFormat
[src]

type Format = F

impl<F> RenderingOutputBuffer for IntegerBuffer<F> where
    F: InternalFormat
[src]

type Format = F

impl<F> RenderingOutputBuffer for StencilBuffer<F> where
    F: InternalFormat
[src]

type Format = F

impl<F> RenderingOutputBuffer for UnsignedIntegerBuffer<F> where
    F: InternalFormat
[src]

type Format = F

Loading content...