Enum opal::pipeline::GraphicsPipelineCreationError [] [src]

pub enum GraphicsPipelineCreationError {
    ProgramLinkError(LinkError),
    DescriptorSetLayoutCountMismatch(TypeusizeTypeusize),
    DescriptorSetLayoutSlotCountMismatch(usizeTypeusizeTypeusize),
    ShaderEntityIndexNotFound(Typeu32),
    DescriptorSetToTraditionalBindingConversionError(String),
}

The pipeline can fail to be created

Variants

ProgramLinkError(LinkError)

The shader program failed to link

DescriptorSetLayoutCountMismatch(TypeusizeTypeusize)

There was a different number of descriptor set layouts between the different shaders. All shaders in a pipeline must have the same number of descriptor set layouts

DescriptorSetLayoutSlotCountMismatch(usizeTypeusizeTypeusize)

There was a different number of descriptor slots between the different shaders. All shaders in a pipeline must have same size descriptor set layout

ShaderEntityIndexNotFound(Typeu32)

Sometimes the shader entity index can't be found inside the shader source code.

DescriptorSetToTraditionalBindingConversionError(String)

There was a miscellaneous error while converting the DescriptorSet system to a traditional binding model such as that of OpenGL

Trait Implementations

impl Clone for GraphicsPipelineCreationError
[src]

fn clone(&self) -> GraphicsPipelineCreationError

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

impl Eq for GraphicsPipelineCreationError
[src]

impl PartialEq for GraphicsPipelineCreationError
[src]

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

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

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

This method tests for !=.

impl Debug for GraphicsPipelineCreationError
[src]

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

Formats the value using the given formatter.

impl From<LinkError> for GraphicsPipelineCreationError
[src]

fn from(error: LinkError) -> Self

Performs the conversion.