[][src]Module web_glitz::pipeline::graphics

Modules

attribute_format

Structs

Blending

Provides instructions on how blending should be performed.

DepthRange

Defines how a fragment's depth output will be mapped onto the range 0.0..1.0 from the near plane at 0.0 to the far plane at 1.0.

DepthTest

Provides instructions on how depth testing should be performed.

FragmentShader

The programmable stage in the rendering pipeline that handles the processing of individual fragments generated by rasterization into a set of colors and a single depth value.

GraphicsPipeline

Encapsulates the state for a graphics pipeline.

GraphicsPipelineDescriptor

Provides a description from which a [GraphicsPipeline] may be created.

GraphicsPipelineDescriptorBuilder

Type checked builder for a GraphicsPipelineDescriptor.

IndexBufferEncoding

Encodes a description of an index buffer.

IndexBufferEncodingContext

Context for creating a new IndexBufferEncoding.

LineWidth

Defines the line width used by a [Rasterizer].

PolygonOffset

Specifies an offset modifier for for depth values from polygonal fragments.

ShaderLinkingError

Error returned when trying to create a graphics pipeline and the shaders fail to link.

StencilTest

Provides instructions on how stencil testing should be performed.

TransformFeedbackAttributeDescriptor

Describes how the data from a transform stage output attribute is recorded into transform feedback buffers.

TransformFeedbackBufferSlotAttributeAttacher

Returned from TransformFeedbackLayoutDescriptorBuilder::add_buffer_slot, attaches TransformFeedbackAttributeDescriptors to transform feedback buffer bind slots.

TransformFeedbackBufferSlotAttributes

Returned from TransformFeedbackBufferSlotRef::attributes.

TransformFeedbackBufferSlotRef

Reference to a bind slot description in a TransformFeedbackLayoutDescriptor.

TransformFeedbackBufferSlots

Returned from TransformFeedbackLayoutDescriptor::buffer_slots.

TransformFeedbackBuffersEncoding

An encoding of a description of a (set of) buffer(s) or buffer region(s) that can serve as the feedback input data source(s) for a graphics pipeline.

TransformFeedbackBuffersEncodingContext

Context required for the creation of a new TransformFeedbackBuffersEncoding.

TransformFeedbackLayoutAllocationHint

Allocation hint for a TransformFeedbackLayoutDescriptor, see TransformFeedbackLayoutDescriptorBuilder::new.

TransformFeedbackLayoutDescriptor
TransformFeedbackLayoutDescriptorBuilder

Builds a new TransformFeedbackLayoutDescriptor.

Untyped
VertexAttributeDescriptor

Describes how the data for an input attribute in a [VertexShader] is sourced from vertex buffers.

VertexBufferSlotAttributeAttacher

Returned from VertexInputLayoutDescriptorBuilder::add_buffer_slot, attaches VertexAttributeDescriptors to attribute layout bind slots.

VertexBufferSlotRef

Reference to a bind slot description in a [VertexAttributeLayoutDescriptor].

VertexBuffersEncoding

An encoding of a description of a (set of) buffer(s) or buffer region(s) that can serve as the vertex input data source(s) for a graphics pipeline.

VertexBuffersEncodingContext

Context required for the creation of a new VertexBuffersEncoding.

VertexInputLayoutAllocationHint

Allocation hint for a VertexInputLayoutDescriptor, see VertexInputLayoutDescriptorBuilder::new.

VertexInputLayoutDescriptor

Describes a layout of vertex buffers bind slots and the vertex attributes defined on these bind slots.

VertexInputLayoutDescriptorBuilder

Builds a new VertexInputLayoutDescriptor.

VertexShader

The programmable stage in the rendering pipeline that handles the processing of individual vertices.

Enums

BlendEquation

Enumerates the available blend equations that can be employed to perform Blending.

BlendFactor

Enumerates the possible blending factors that can be applied to color values during Blending.

CullingMode

Enumerates the face-culling modes that may be used by a [Rasterizer].

IncompatibleVertexInputLayout

Error returned by [AttributeSlotLayoutCompatible::check_compatibility].

IndexType

Enumerates the available type encodings for [VertexArray] indices.

InputRate

Describes the input rate for a vertex buffer in a VertexInputLayoutDescriptor.

PrimitiveAssembly

Enumerates the algorithms available for assembling a stream of vertices into a stream of primitives.

SlotBindingStrategy

Enumerates the strategies available to map pipeline resource slots to binding indices.

StencilOperation

Enumerates the operations that can be performed on a stencil fragment as a result of the StencilTest.

TestFunction

Enumerates the test functions that may be used with DepthTest and StencilTest.

TransformFeedbackAttributeIdentifier
TransformFeedbackAttributeType

Enumerates the possible transform stage output types that may be recorded as transform feedback.

VertexAttributeType

Enumerates the possible attribute types that might be required to fill an attribute slot.

Viewport

Describes the viewport used by by a [GraphicsPipeline].

WindingOrder

Enumerates the possible winding orders for triangles that may be used by a [Rasterizer].

Traits

IndexBuffer

Describes a data source that can be used to provide indexing data to a draw command.

IndexFormat

Trait implemented for types that can be used as indices for a [VertexArray] encoded in the associated IndexType.

TransformFeedback
TransformFeedbackAttribute

Trait implemented by types that can be used as fields in structs that derive TransformFeedback.

TransformFeedbackBuffer

Helper trait for the implementation of [FeedbackBuffers] for tuple types.

TransformFeedbackBuffers

Encodes a description of a (set of) buffer(s) or buffer region(s) that can record the output feedback from the transform stage of a graphics pipeline.

TypedTransformFeedbackBuffer

Helper trait for the implementation of [TypedFeedbackBuffers] for tuple types.

TypedTransformFeedbackBuffers

Sub-trait of TransformFeedbackBuffers, where a type statically describes the feedback attribute layout supported by the feedback buffers.

TypedTransformFeedbackLayout

A transform feedback layout description attached to a type.

TypedVertexBuffer

Helper trait for the implementation of TypedVertexBuffers for tuple types.

TypedVertexBuffers

Sub-trait of VertexBuffers, where a type statically describes the vertex attribute layout supported by the vertex buffers.

TypedVertexInputLayout

A vertex input layout description attached to a type.

Vertex

Trait implemented for types that provide attribute data for a vertex buffer.

VertexBuffer

Helper trait for the implementation of VertexBuffers for tuple types.

VertexBuffers

Encodes a description of a (set of) buffer(s) or buffer region(s) that can serve as the vertex input data source(s) for a graphics pipeline.