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 of TooManyColorAttachments
maximum: usize | Maximum number of attachments. |
obtained: usize | Number of attachments that were given. |
Trait Implementations
impl Copy for ValidationError[src]
impl Clone for ValidationError[src]
fn clone(&self) -> ValidationError[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for ValidationError[src]
impl PartialEq for ValidationError[src]
fn eq(&self, __arg_0: &ValidationError) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &ValidationError) -> bool[src]
This method tests for !=.
impl Eq for ValidationError[src]
impl Display for ValidationError[src]
fn fmt(&self, fmt: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more