[−][src]Enum web_glitz::runtime::CreateGraphicsPipelineError
Error returned from [RenderingContext::create_graphics_pipeline].
Variants
ShaderLinkingError(ShaderLinkingError)Variant that is returned when the programmable shader stages fail to link into a valid program.
Typically the result of a prior stage's outputs not matching the succeeding stage's inputs.
UnsupportedUniformType(ResourceSlotIdentifier, &'static str)Variant that is returned when any of the programmable shader stages define an uniform type that is not supported by WebGlitz.
Note that WebGlitz does not support non-opaque uniform types (such as float, vec4,
mat4) outside of uniform blocks, only opaque (texture/shader types) are supported. All
basic non-opaque uniform slots must be declared as part of a uniform block.
IncompatibleInputAttributeLayout(IncompatibleVertexInputLayout)Variant that is returned when the input attribute layout declared for the pipeline (see [GraphicsPipelineBuilder::vertex_input_layout]) does not match the actual input attribute layout as defined by the shader code.
IncompatibleResources(IncompatibleResources)Variant that is returned when the resource layout declared for the pipeline (see [GraphicsPipelineBuilder::resource_layout]) does not match the resource layout as defined by the shader code.
TransformFeedbackTypeMismatch(String)Trait Implementations
impl Debug for CreateGraphicsPipelineError[src]
impl From<CreateProgramError> for CreateGraphicsPipelineError[src]
fn from(err: CreateProgramError) -> Self[src]
impl From<IncompatibleResources> for CreateGraphicsPipelineError[src]
fn from(error: IncompatibleResources) -> Self[src]
impl From<IncompatibleVertexInputLayout> for CreateGraphicsPipelineError[src]
fn from(error: IncompatibleVertexInputLayout) -> Self[src]
impl From<ShaderLinkingError> for CreateGraphicsPipelineError[src]
fn from(error: ShaderLinkingError) -> Self[src]
Auto Trait Implementations
impl RefUnwindSafe for CreateGraphicsPipelineError
impl Send for CreateGraphicsPipelineError
impl Sync for CreateGraphicsPipelineError
impl Unpin for CreateGraphicsPipelineError
impl UnwindSafe for CreateGraphicsPipelineError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
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> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<D, T> IntoBuffer<T> for D where
D: Borrow<T> + 'static,
T: Copy + 'static, [src]
D: Borrow<T> + 'static,
T: Copy + 'static,
fn into_buffer<Rc>(Self, &Rc, BufferId, UsageHint) -> Buffer<T> where
Rc: RenderingContext + Clone + 'static, [src]
Rc: RenderingContext + Clone + 'static,
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>,