[−][src]Enum vulkano::pipeline::GraphicsPipelineCreationError
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.
FragmentShaderRenderPassIncompatible
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.
MaxVertexInputBindingStrideExceeded
The maximum stride value for vertex input (ie. the distance between two vertex elements) has been exceeded.
Fields of MaxVertexInputBindingStrideExceeded
MaxVertexInputBindingsExceeded
The maximum number of vertex sources has been exceeded.
Fields of MaxVertexInputBindingsExceeded
MaxVertexInputAttributeOffsetExceeded
The maximum offset for a vertex attribute has been exceeded. This means that your vertex struct is too large.
Fields of MaxVertexInputAttributeOffsetExceeded
MaxVertexInputAttributesExceeded
The maximum number of vertex attributes has been exceeded.
Fields of MaxVertexInputAttributesExceeded
PrimitiveDoesntSupportPrimitiveRestart
The user requested to use primitive restart, but the primitive topology doesn't support it.
Fields of PrimitiveDoesntSupportPrimitiveRestart
primitive: PrimitiveTopology
The topology that doesn't support primitive restart.
MultiViewportFeatureNotEnabled
The multi_viewport
feature must be enabled in order to use multiple viewports at once.
MaxViewportsExceeded
The maximum number of viewports has been exceeded.
Fields of MaxViewportsExceeded
MaxViewportDimensionsExceeded
The maximum dimensions of viewports has been exceeded.
ViewportBoundsExceeded
The minimum or maximum bounds of viewports have been exceeded.
WideLinesFeatureNotEnabled
The wide_lines
feature must be enabled in order to use a line width greater than 1.0.
DepthClampFeatureNotEnabled
The depth_clamp
feature must be enabled in order to use depth clamping.
DepthBiasClampFeatureNotEnabled
The depth_bias_clamp
feature must be enabled in order to use a depth bias clamp different
from 0.0.
FillModeNonSolidFeatureNotEnabled
The fill_mode_non_solid
feature must be enabled in order to use a polygon mode different
from Fill
.
DepthBoundsFeatureNotEnabled
The depth_bounds
feature must be enabled in order to use depth bounds testing.
WrongStencilState
The requested stencil test is invalid.
TopologyNotMatchingGeometryShader
The primitives topology does not match what the geometry shader expects.
GeometryShaderFeatureNotEnabled
The geometry_shader
feature must be enabled in order to use geometry shaders.
TessellationShaderFeatureNotEnabled
The tessellation_shader
feature must be enabled in order to use tessellation shaders.
MismatchBlendingAttachmentsCount
The number of attachments specified in the blending does not match the number of attachments in the subpass.
IndependentBlendFeatureNotEnabled
The independent_blend
feature must be enabled in order to use different blending
operations per attachment.
LogicOpFeatureNotEnabled
The logic_op
feature must be enabled in order to use logic operations.
NoDepthAttachment
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.
NoStencilAttachment
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.
InvalidPrimitiveTopology
Tried to use a patch list without a tessellation shader, or a non-patch-list with a tessellation shader.
MaxTessellationPatchSizeExceeded
The maxTessellationPatchSize
limit was exceeded.
WrongShaderType
The wrong type of shader has been passed.
For example you passed a vertex shader as the fragment shader.
SampleRateShadingFeatureNotEnabled
The sample_rate_shading
feature must be enabled in order to use sample shading.
AlphaToOneFeatureNotEnabled
The alpha_to_one
feature must be enabled in order to use alpha-to-one.
Trait Implementations
impl PartialEq<GraphicsPipelineCreationError> for GraphicsPipelineCreationError
[src]
fn eq(&self, other: &GraphicsPipelineCreationError) -> bool
[src]
fn ne(&self, other: &GraphicsPipelineCreationError) -> bool
[src]
impl From<OomError> for GraphicsPipelineCreationError
[src]
fn from(err: OomError) -> GraphicsPipelineCreationError
[src]
impl From<PipelineLayoutNotSupersetError> for GraphicsPipelineCreationError
[src]
impl From<IncompatibleVertexDefinitionError> for GraphicsPipelineCreationError
[src]
impl Clone for GraphicsPipelineCreationError
[src]
fn clone(&self) -> GraphicsPipelineCreationError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for GraphicsPipelineCreationError
[src]
impl Debug for GraphicsPipelineCreationError
[src]
impl Display for GraphicsPipelineCreationError
[src]
impl Error for GraphicsPipelineCreationError
[src]
Auto Trait Implementations
impl Send for GraphicsPipelineCreationError
impl Sync for GraphicsPipelineCreationError
Blanket Implementations
impl<T> Content for T
[src]
fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
fn is_size_suitable(usize) -> bool
[src]
fn indiv_size() -> usize
[src]
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,