Crate ambient_renderer

Source

Re-exports§

pub use materials::*;

Modules§

bind_groups
lod
materials
skinning

Structs§

CollectPrimitive
Culling
DrawIndexedIndirect
GpuRenderPrimitive
MaterialShader
Outlines
OutlinesConfig
RenderPrimitive
RenderTarget
Renderer
RendererCollect
This collects primitives into indirect draw buffers
RendererCollectParams
RendererCollectState
RendererConfig
RendererResources
RendererShader
ShaderDebugParams
ShadowAndUIGlobals
ShadowCameraData
ShadowsRenderer
SharedMaterial
StandardShaderKey
TransparentRenderer
TransparentRendererConfig
TreeRenderer
TreeRendererConfig

Enums§

AlphaMode
FSMain
RendererTarget

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§

Material
SubRenderer

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).

Type Aliases§

PostSubmitFunc
PrimitiveIndex
RendererShaderProducer