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
EmptyFramebufferObjectsNotSupportedYou requested an empty framebuffer object, but they are not supported.
EmptyFramebufferUnsupportedDimensionsThe requested characteristics of an empty framebuffer object are out of range.
DimensionsMismatchNotSupportedThe 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.
SamplesCountMismatchAll attachments must have the same number of samples.
TooManyColorAttachmentsBackends only support a certain number of color attachments.
Fields
maximum: usize | Maximum number of attachments. |
obtained: usize | Number of attachments that were given. |
Trait Implementations
impl Eq for ValidationError[src]
impl PartialEq for ValidationError[src]
fn eq(&self, __arg_0: &ValidationError) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ValidationError) -> bool
This method tests for !=.
impl Debug for ValidationError[src]
impl Clone for ValidationError[src]
fn clone(&self) -> ValidationError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more