[][src]Module web_glitz::rendering

Structs

ActiveGraphicsPipeline

An activated GraphicsPipeline which may be used to draw to a Framebuffer.

Attachment

Exclusive reference to an image that may be attached to a [RenderTarget].

BindIndexBufferCommand

Command that binds an index buffer to the currently bound graphics pipeline.

BindResourcesCommand

Command that binds a set of resources to the resource slots of the currently bound pipeline.

BindVertexBuffersCommand

Command that binds a (set of) vertex buffer(s) to the currently bound graphics pipeline.

BlitCommand

Encapsulates a command that transfers a rectangle of pixels from a source image into the framebuffer.

BlitSourceDescriptor

Returned from BlitSource::descriptor, encapsulates the information about the blit source required by the BlitCommand.

BlitTargetDescriptor

Returned from BlitColorTarget::descriptor, encapsulates the information about the target buffer needed by the BlitCommand.

ColorBufferEncoding

An encoding of the information needed by a [RenderPass] to load data from an attached image into the framebuffer before the render pass, and to store data from the framebuffer back into the attached image after the render pass.

ColorBufferEncodingContext

Provides the context for encoding a [ColorAttachmentDescription].

DefaultDepthBuffer

Represents the depth-stencil buffer for a [DefaultRenderTarget] with only a depth channel and no stencil channel.

DefaultDepthStencilBuffer

Represents the depth-stencil buffer for a [DefaultRenderTarget] with both a depth and a stencil channel.

DefaultMultisampleRenderTarget

A handle to the default render target associated with a [RenderingContext].

DefaultRGBABuffer

Represents the color buffer for a [DefaultRenderTarget] with an alpha channel.

DefaultRGBBuffer

Represents the color buffer for a [DefaultRenderTarget] without an alpha channel.

DefaultRenderTarget

A handle to the default render target associated with a [RenderingContext].

DefaultStencilBuffer

Represents the depth-stencil buffer for a [DefaultRenderTarget] with only a stencil channel and no depth channel.

DepthAttachment
DepthBuffer

Represents a depth-stencil buffer that stores only depth values in a framebuffer for a custom render target.

DepthStencilAttachment
DepthStencilBuffer

Represents a depth-stencil buffer that stores both depth and stencil values in a framebuffer for a custom render target.

DepthStencilBufferEncoding
DepthStencilBufferEncodingContext
DrawCommand

Command that runs the currently bound graphics pipeline.

DrawIndexedCommand

Command that runs the currently bound graphics pipeline in indexed mode.

FloatAttachment
FloatBuffer

Represents a color buffer that stores floating point values in a framebuffer for a custom render target.

Framebuffer

Represents a set of image memory buffers that serve as the rendering destination for a [RenderPass].

GraphicsPipelineTarget
GraphicsPipelineTaskBuilder

A builder interface that enforces valid sequencing of pipeline commands.

IntegerAttachment
IntegerBuffer

Represents a color buffer that stores integer values in a framebuffer for a custom render target.

MultisampleAttachment

Exclusive reference to a multisample image that may be attached to a [MultisampleRenderTarget].

MultisampleFramebuffer

Represents a set of image memory buffers that serve as the rendering destination for a [RenderPass].

MultisampleRenderTarget
MultisampleRenderTargetDescriptor

Describes a MultisampleRenderTarget for a RenderPass.

RenderPass

Encapsulates a render pass.

RenderPassContext

An execution context associated with a RenderPass.

RenderTarget

Describes a target for rendering operations.

RenderTargetDescriptor

Describes a RenderTarget for a RenderPass.

ResolveSourceDescriptor

Returned from ResolveSource::descriptor, encapsulates the information about the source image required by the [ResolveImageCommand].

StencilAttachment
StencilBuffer
UnsignedIntegerAttachment
UnsignedIntegerBuffer

Represents a color buffer that stores unsigned integer values in a framebuffer for a custom render target.

Enums

LoadOp
StoreOp

Traits

AsAttachment

Trait implemented for image references that can be attached to a render target.

AsMultisampleAttachment

Trait implemented for image references that can be attached to a multisample render target.

AttachColorFloat

Marker trait for image reference types that may be attached to a RenderTargetDescriptor as a floating point color attachment.

AttachColorInteger

Marker trait for image reference types that may be attached to a RenderTargetDescriptor as an integer color attachment.

AttachColorUnsignedInteger

Marker trait for image reference types that may be attached to a RenderTargetDescriptor as an unsigned integer color attachment.

AttachDepth

Marker trait for image reference types that may be attached to a RenderTargetDescriptor as a depth attachment.

AttachDepthStencil

Marker trait for image reference types that may be attached to a RenderTargetDescriptor as a depth-stencil attachment.

AttachMultisampleColorFloat

Marker trait for multisample image reference types that may be attached to a MultisampleRenderTargetDescriptor as a floating point color attachment.

AttachMultisampleDepth

Marker trait for multisample image reference types that may be attached to a MultisampleRenderTargetDescriptor as a depth attachment.

AttachMultisampleDepthStencil

Marker trait for multisample image reference types that may be attached to a MultisampleRenderTargetDescriptor as a depth-stencil attachment.

AttachStencil

Marker trait for image reference types that may be attached to a RenderTargetDescriptor as a stencil attachment.

BlitColorCompatible

Marker trait that identifies BlitSource types that can be safely blitted to a typed color buffer or set of color buffers.

BlitColorTarget

Helper trait implemented by color buffers that can serve as a target for a BlitCommand, see Framebuffer::blit_color_nearest_command and Framebuffer::blit_color_linear_command.

BlitSource

Trait implemented by image reference types that can serve as the image data source for a color BlitCommand.

EncodeColorBuffer

Helper trait implemented by types that describe a color image attachment for a [RenderTarget].

EncodeDepthStencilBuffer

Helper trait implemented by types that describe a depth-stencil image attachment for a [RenderTarget].

EncodeMultisampleColorBuffer

Helper trait implemented by types that describe a multisample color image attachment for a [MultisampleRenderTarget].

EncodeMultisampleDepthStencilBuffer

Helper trait implemented by types that describe a multisampledepth-stencil image attachment for a [MultisampleRenderTarget].

RenderingOutputBuffer

Trait implemented by types that represent a rendering output buffer in the framebuffer for a custom render target.

ResolveColorCompatible

Marker trait that identifies multisampled ResolveSource types that can be safely resolved to a typed single sample color buffer or set of color buffers.

ResolveSource

Trait implemented by multisample image reference types that can serve as the image data source for a color BlitCommand on a multisample framebuffer.