Module renderer

Source

Modules§

binding πŸ”’
drawer πŸ”’
locals πŸ”’
pipeline_creation πŸ”’
rain_occlusion_map πŸ”’
screenshot πŸ”’
shaders πŸ”’
shadow_map πŸ”’

Structs§

AltIndices
Terrain-related buffers segment themselves by depth to allow us to do primitive occlusion culling based on whether the camera is underground or not. This struct specifies the buffer offsets at which various layers start and end.
ImmutableLayouts πŸ”’
A type that stores all the layouts associated with this renderer that never change when the RenderMode is modified.
Layouts πŸ”’
A type that stores all the layouts associated with this renderer.
Renderer
A type that encapsulates rendering state. Renderer is central to Voxygen’s rendering subsystem and contains any state necessary to interact with the GPU, along with pipeline state objects (PSOs) needed to renderer different kinds of models to the screen.
Shadow πŸ”’
Shadow rendering textures, layouts, pipelines, and bind groups
Views πŸ”’
Render target views

Enums§

CullingMode
The mode with which culling based on the camera position relative to the terrain is performed.
State πŸ”’
Represent two states of the renderer:

Constants§

QUAD_INDEX_BUFFER_U16_START_VERT_LEN πŸ”’
QUAD_INDEX_BUFFER_U32_START_VERT_LEN πŸ”’

Functions§

create_quad_index_buffer_u16 πŸ”’
create_quad_index_buffer_u32 πŸ”’