Re-exports§
pub use materials::*;
Modules§
Structs§
- Collect
Primitive - Culling
- Draw
Indexed Indirect - GpuRender
Primitive - Material
Shader - Outlines
- Outlines
Config - Render
Primitive - Render
Target - Renderer
- Renderer
Collect - This collects primitives into indirect draw buffers
- Renderer
Collect Params - Renderer
Collect State - Renderer
Config - Renderer
Resources - Renderer
Shader - Shader
Debug Params - Shadow
AndUI Globals - Shadow
Camera Data - Shadows
Renderer - Shared
Material - Standard
Shader Key - Transparent
Renderer - Transparent
Renderer Config - Tree
Renderer - Tree
Renderer Config
Enums§
Constants§
- GLOBALS_
BIND_ GROUP - GLOBALS_
BIND_ GROUP_ SIZE - MATERIAL_
BIND_ GROUP - MAX_
PRIMITIVE_ COUNT - MAX_
SHADOW_ CASCADES - MESH_
BASE_ BINDING - MESH_
METADATA_ BINDING - MESH_
SKIN_ BINDING - PRIMITIVES_
BIND_ GROUP - SKINS_
BINDING
Traits§
Functions§
- cast_
shadows - Cast shadows: If attached, this entity will cast shadows.
- color
- Color: This entity will be tinted with the specified color if the color is not black.
- default_
sun_ direction - double_
sided - Double-sided: If this is set, the entity will be rendered with double-sided rendering.
- fog_
color - Fog color: The color of the fog for this
sun
. - fog_
density - Fog density: The density of the fog for this
sun
. - fog_
height_ falloff - Fog height fall-off: The height at which the fog will fall off (i.e. stop being visible) for this
sun
. - get_
active_ sun - get_
common_ layout - get_
common_ module - Includes entity locs
- get_
defs_ module - No bind groups
- get_
forward_ modules - get_
globals_ module - Contains scene globals and shadow maps
- get_
gpu_ primitive_ id - get_
mesh_ data_ module - get_
mesh_ meta_ module - get_
overlay_ modules - get_
sun_ light_ direction - globals_
layout - gpu_
primitives_ lod - gpu_
primitives_ mesh - The (cpu) primitives are split into an SoA on the gpu side
- gpu_
world_ systems - init_
all_ components - init_
components - Initialize the components for the module
- init_
gpu_ components - light_
ambient - Light ambient: The ambient light color of the
sun
. - light_
diffuse - Light diffuse: The diffuse light color of the
sun
. - material
- outline
- Outline: If attached, this entity will be rendered with an outline with the color specified.
- outline_
recursive - Outline (recursive): If attached, this entity and all of its children will be rendered with an outline with the color specified.
- overlay
- Overlay: If attached, this entity will be rendered with an overlay.
- pbr_
material_ from_ url - PBR material from URL: Load a PBR material from the URL and attach it to this entity.
- primitives
- primitives_
layout - renderer_
shader - renderer_
stats - sun
- Sun: Marks this entity as a sun (i.e. its rotation will be used to control the global light direction).
- systems
- transparency_
group - Transparency group: Controls when this transparent object will be rendered. Transparent objects are sorted by
(transparency_group, z-depth)
.