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

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

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

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.

All attachments must have the same number of samples.

Backends only support a certain number of color attachments.

Fields of TooManyColorAttachments

Maximum number of attachments.

Number of attachments that were given.

Trait Implementations

impl Copy for ValidationError
[src]

impl Clone for ValidationError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ValidationError
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for ValidationError
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for ValidationError
[src]

impl Display for ValidationError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for ValidationError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more