[][src]Module web_glitz::render_target

A render pass (see render_pass) needs a render target: zero or more color images and zero or one depth-stencil image (see also image) into which the output of the render pass may be stored when the render pass completes. These images are said to be "attached" to the render target and are referred to as the "attached images" or simply the "attachments".

Structs

AttachableImageRef

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

ColorAttachmentEncoding

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.

ColorAttachmentEncodingContext

Provides the context for encoding a ColorAttachmentDescription.

DefaultRenderTarget

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

DepthAttachment
DepthStencilAttachment
DepthStencilAttachmentEncoding
DepthStencilAttachmentEncodingContext
FloatAttachment
IntegerAttachment
RenderTarget

May be used to define a RenderTargetDescription for a RenderPass.

StencilAttachment
UnsignedIntegerAttachment

Enums

LoadOp
StoreOp

Traits

AsAttachableImageRef

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

ColorAttachmentDescription

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

DepthStencilAttachmentDescription
RenderTargetDescription

Describes a render target that may be used with a RenderPass task.