Module renderer

Module renderer 

Source

Modules§

gpu_data

Structs§

ColormappedTexture
Describes a texture and how to map it to a color.
DebugOverlayDrawData
Debug overlay for quick & dirty display of texture contents.
DebugOverlayRenderer
DepthCloud
DepthCloudDrawData
DepthCloudRenderer
DepthClouds
DrawDataDrawable
A single drawable item within a given DrawData.
DrawInstruction
A draw instruction specifies which drawables of a given DrawData should be rendered.
DrawableCollectionViewInfo
Information about the view for which can be taken into account when collecting drawables.
GenericSkyboxDrawData
GpuMeshInstance
LineBatchInfo
Data that is valid for a batch of line strips.
LineDrawData
A line drawing operation. Encompasses several lines, each consisting of a list of positions. Expected to be recreated every frame.
LineStripFlags
Property flags for a line strip
MeshDrawData
PointCloudBatchFlags
Property flags for a point batch
PointCloudBatchInfo
Data that is valid for a batch of point cloud points.
PointCloudDrawData
A point cloud drawing operation. Expected to be recreated every frame.
RectangleDrawData
RectangleOptions
TestTriangleDrawData
TexturedRect
WorldGridConfiguration
Configuration for the world grid renderer.
WorldGridDrawData
Draw data for a world grid renderer.
WorldGridRenderer

Enums§

ColorMapper
How to map the normalized .r component to a color.
DebugOverlayError
DrawError
GenericSkyboxType
The type of generic skybox to render.
LineDrawDataError
PointCloudDrawDataError
ShaderDecoding
Describes how the color information is encoded in the texture.
TextureAlpha
How is the alpha channel in the texture?
TextureFilterMag
Texture filter setting for magnification (a texel covers several pixels).
TextureFilterMin
Texture filter setting for minification (several texels fall to one pixel).

Traits§

DrawData
GPU sided data used by a Renderer to draw things to the screen.
Renderer
A Renderer encapsulate the knowledge of how to render a certain kind of primitives.

Functions§

screen_triangle_vertex_shader
Gets or creates a vertex shader module for drawing a screen filling triangle.

Type Aliases§

DrawDataDrawablePayload
DrawData specific payload that is injected into the otherwise type agnostic crate::Drawable.