Enum glium::framebuffer::ValidationError [] [src]

pub enum ValidationError {
    EmptyFramebufferObjectsNotSupported,
    EmptyFramebufferUnsupportedDimensions,
    DimensionsMismatchNotSupported,
    SamplesCountMismatch,
    TooManyColorAttachments {
        maximum: usize,
        obtained: usize,
    },
}

An error that can happen while validating attachments.

Variants

EmptyFramebufferObjectsNotSupported

You requested an empty framebuffer object, but they are not supported.

EmptyFramebufferUnsupportedDimensions

The requested characteristics of an empty framebuffer object are out of range.

DimensionsMismatchNotSupported

The backend doesn't support attachments with various dimensions.

Note that almost all OpenGL implementations support attachments with various dimensions. Only very old versions don't.

SamplesCountMismatch

All attachments must have the same number of samples.

TooManyColorAttachments

Backends only support a certain number of color attachments.

Fields

maximum

Maximum number of attachments.

obtained

Number of attachments that were given.

Trait Implementations

Derived Implementations

impl Eq for ValidationError

impl PartialEq for ValidationError

fn eq(&self, __arg_0: &ValidationError) -> bool

fn ne(&self, __arg_0: &ValidationError) -> bool

impl Debug for ValidationError

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for ValidationError

fn clone(&self) -> ValidationError

fn clone_from(&mut self, source: &Self)

impl Copy for ValidationError