Enum vulkano::pipeline::GraphicsPipelineCreationError [−][src]
pub enum GraphicsPipelineCreationError {}Show variants
OomError(OomError), IncompatiblePipelineLayout(PipelineLayoutNotSupersetError), VertexGeometryStagesMismatch(ShaderInterfaceMismatchError), VertexTessControlStagesMismatch(ShaderInterfaceMismatchError), VertexFragmentStagesMismatch(ShaderInterfaceMismatchError), TessControlTessEvalStagesMismatch(ShaderInterfaceMismatchError), TessEvalGeometryStagesMismatch(ShaderInterfaceMismatchError), TessEvalFragmentStagesMismatch(ShaderInterfaceMismatchError), GeometryFragmentStagesMismatch(ShaderInterfaceMismatchError), FragmentShaderRenderPassIncompatible, IncompatibleVertexDefinition(IncompatibleVertexDefinitionError), MaxVertexInputBindingStrideExceeded { binding: usize, max: usize, obtained: usize, }, MaxVertexInputBindingsExceeded { max: usize, obtained: usize, }, MaxVertexInputAttributeOffsetExceeded { max: usize, obtained: usize, }, MaxVertexInputAttributesExceeded { max: usize, obtained: usize, }, PrimitiveDoesntSupportPrimitiveRestart { primitive: PrimitiveTopology, }, MultiViewportFeatureNotEnabled, MaxViewportsExceeded { max: u32, obtained: u32, }, MaxViewportDimensionsExceeded, ViewportBoundsExceeded, WideLinesFeatureNotEnabled, DepthClampFeatureNotEnabled, DepthBiasClampFeatureNotEnabled, FillModeNonSolidFeatureNotEnabled, DepthBoundsFeatureNotEnabled, WrongStencilState, TopologyNotMatchingGeometryShader, GeometryShaderFeatureNotEnabled, TessellationShaderFeatureNotEnabled, MismatchBlendingAttachmentsCount, IndependentBlendFeatureNotEnabled, LogicOpFeatureNotEnabled, NoDepthAttachment, NoStencilAttachment, InvalidPrimitiveTopology, MaxTessellationPatchSizeExceeded, WrongShaderType, SampleRateShadingFeatureNotEnabled, AlphaToOneFeatureNotEnabled,
Error that can happen when creating a graphics pipeline.
Variants
OomError(OomError)
Not enough memory.
IncompatiblePipelineLayout(PipelineLayoutNotSupersetError)
The pipeline layout is not compatible with what the shaders expect.
VertexGeometryStagesMismatch(ShaderInterfaceMismatchError)
The interface between the vertex shader and the geometry shader mismatches.
VertexTessControlStagesMismatch(ShaderInterfaceMismatchError)
The interface between the vertex shader and the tessellation control shader mismatches.
VertexFragmentStagesMismatch(ShaderInterfaceMismatchError)
The interface between the vertex shader and the fragment shader mismatches.
TessControlTessEvalStagesMismatch(ShaderInterfaceMismatchError)
The interface between the tessellation control shader and the tessellation evaluation shader mismatches.
TessEvalGeometryStagesMismatch(ShaderInterfaceMismatchError)
The interface between the tessellation evaluation shader and the geometry shader mismatches.
TessEvalFragmentStagesMismatch(ShaderInterfaceMismatchError)
The interface between the tessellation evaluation shader and the fragment shader mismatches.
GeometryFragmentStagesMismatch(ShaderInterfaceMismatchError)
The interface between the geometry shader and the fragment shader mismatches.
The output of the fragment shader is not compatible with what the render pass subpass expects.
IncompatibleVertexDefinition(IncompatibleVertexDefinitionError)
The vertex definition is not compatible with the input of the vertex shader.
The maximum stride value for vertex input (ie. the distance between two vertex elements) has been exceeded.
Show fields
The maximum number of vertex sources has been exceeded.
Show fields
The maximum offset for a vertex attribute has been exceeded. This means that your vertex struct is too large.
Show fields
The maximum number of vertex attributes has been exceeded.
Show fields
The user requested to use primitive restart, but the primitive topology doesn’t support it.
Show fields
Fields of PrimitiveDoesntSupportPrimitiveRestart
primitive: PrimitiveTopology
The topology that doesn’t support primitive restart.
The multi_viewport
feature must be enabled in order to use multiple viewports at once.
The maximum number of viewports has been exceeded.
Show fields
The maximum dimensions of viewports has been exceeded.
The minimum or maximum bounds of viewports have been exceeded.
The wide_lines
feature must be enabled in order to use a line width greater than 1.0.
The depth_clamp
feature must be enabled in order to use depth clamping.
The depth_bias_clamp
feature must be enabled in order to use a depth bias clamp different
from 0.0.
The fill_mode_non_solid
feature must be enabled in order to use a polygon mode different
from Fill
.
The depth_bounds
feature must be enabled in order to use depth bounds testing.
The requested stencil test is invalid.
The primitives topology does not match what the geometry shader expects.
The geometry_shader
feature must be enabled in order to use geometry shaders.
The tessellation_shader
feature must be enabled in order to use tessellation shaders.
The number of attachments specified in the blending does not match the number of attachments in the subpass.
The independent_blend
feature must be enabled in order to use different blending
operations per attachment.
The logic_op
feature must be enabled in order to use logic operations.
The depth test requires a depth attachment but render pass has no depth attachment, or depth writing is enabled and the depth attachment is read-only.
The stencil test requires a stencil attachment but render pass has no stencil attachment, or stencil writing is enabled and the stencil attachment is read-only.
Tried to use a patch list without a tessellation shader, or a non-patch-list with a tessellation shader.
The maxTessellationPatchSize
limit was exceeded.
The wrong type of shader has been passed.
For example you passed a vertex shader as the fragment shader.
The sample_rate_shading
feature must be enabled in order to use sample shading.
The alpha_to_one
feature must be enabled in order to use alpha-to-one.
Trait Implementations
impl Clone for GraphicsPipelineCreationError
[src]
impl Clone for GraphicsPipelineCreationError
[src]fn clone(&self) -> GraphicsPipelineCreationError
[src]
fn clone(&self) -> GraphicsPipelineCreationError
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for GraphicsPipelineCreationError
[src]
impl Debug for GraphicsPipelineCreationError
[src]impl Error for GraphicsPipelineCreationError
[src]
impl Error for GraphicsPipelineCreationError
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]use the Display impl or to_string()
impl From<IncompatibleVertexDefinitionError> for GraphicsPipelineCreationError
[src]
impl From<IncompatibleVertexDefinitionError> for GraphicsPipelineCreationError
[src]fn from(err: IncompatibleVertexDefinitionError) -> GraphicsPipelineCreationError
[src]
fn from(err: IncompatibleVertexDefinitionError) -> GraphicsPipelineCreationError
[src]Performs the conversion.
impl From<OomError> for GraphicsPipelineCreationError
[src]
impl From<OomError> for GraphicsPipelineCreationError
[src]fn from(err: OomError) -> GraphicsPipelineCreationError
[src]
fn from(err: OomError) -> GraphicsPipelineCreationError
[src]Performs the conversion.
impl From<PipelineLayoutNotSupersetError> for GraphicsPipelineCreationError
[src]
impl From<PipelineLayoutNotSupersetError> for GraphicsPipelineCreationError
[src]fn from(err: PipelineLayoutNotSupersetError) -> GraphicsPipelineCreationError
[src]
fn from(err: PipelineLayoutNotSupersetError) -> GraphicsPipelineCreationError
[src]Performs the conversion.
impl PartialEq<GraphicsPipelineCreationError> for GraphicsPipelineCreationError
[src]
impl PartialEq<GraphicsPipelineCreationError> for GraphicsPipelineCreationError
[src]fn eq(&self, other: &GraphicsPipelineCreationError) -> bool
[src]
fn eq(&self, other: &GraphicsPipelineCreationError) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &GraphicsPipelineCreationError) -> bool
[src]
fn ne(&self, other: &GraphicsPipelineCreationError) -> bool
[src]This method tests for !=
.
impl Eq for GraphicsPipelineCreationError
[src]
impl StructuralEq for GraphicsPipelineCreationError
[src]
impl StructuralPartialEq for GraphicsPipelineCreationError
[src]
Auto Trait Implementations
impl RefUnwindSafe for GraphicsPipelineCreationError
impl Send for GraphicsPipelineCreationError
impl Sync for GraphicsPipelineCreationError
impl Unpin for GraphicsPipelineCreationError
impl UnwindSafe for GraphicsPipelineCreationError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Content for T
[src]
impl<T> Content for T
[src]pub fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
pub fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]Builds a pointer to this type from a raw pointer.
pub fn is_size_suitable(usize) -> bool
[src]
pub fn is_size_suitable(usize) -> bool
[src]Returns true if the size is suitable to store a type like this.
pub fn indiv_size() -> usize
[src]
pub fn indiv_size() -> usize
[src]Returns the size of an individual element.
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more