Movatterモバイル変換


[0]ホーム

URL:


Docs.rs

Crate bevy_render

Cratebevy_render 

Source
Expand description

§Useful Environment Variables

Bothbevy_render andwgpu have a number of environment variable options for changing the runtime behaviorof both crates. Many of these may be useful in development or release environments.

  • WGPU_DEBUG=1 enables debug labels, which can be useful in release builds.
  • WGPU_VALIDATION=0 disables validation layers. This can help with particularly spammy errors.
  • WGPU_FORCE_FALLBACK_ADAPTER=1 attempts to force software rendering. This typically matches what is used in CI.
  • WGPU_ADAPTER_NAME allows selecting a specific adapter by name.
  • WGPU_SETTINGS_PRIO=webgl2 uses webgl2 limits.
  • WGPU_SETTINGS_PRIO=compatibility uses webgpu limits.
  • VERBOSE_SHADER_ERROR=1 prints more detailed information about WGSL compilation errors, such as shader defs and shader entrypoint.

Modules§

alpha
batching
camera
diagnostic
Infrastructure for recording render diagnostics.
erased_render_asset
experimental
Experimental rendering features.
extract_component
extract_instances
Convenience logic for turning components from the main world into extractedinstances in the render world.
extract_resource
globals
gpu_component_array_buffer
gpu_readback
graph
mesh
pipelined_renderingNon-WebAssembly
prelude
The render prelude.
render_asset
render_graph
render_phase
The modular rendering abstraction responsible for queuing, preparing, sorting and drawingentities as part of separate render phases.
render_resource
renderer
settings
storage
sync_component
sync_world
texture
view

Macros§

define_atomic_id

Structs§

Extract
A helper for accessingMainWorld content using a system parameter.
ExtractSchedule
Schedule which extract data from the main world and inserts it into the render world.
MainWorld
The simulationWorld of the application, stored as a resource.
Render
The main render schedule.
RenderApp
A label for the rendering sub-app.
RenderDebugFlags
Debugging flags that can optionally be set when constructing the renderer.
RenderPlugin
Contains the default Bevy rendering backend based on wgpu.
RenderStartup
The startup schedule of theRenderApp

Enums§

RenderSystems
The systems sets of the defaultApp rendering schedule.

Functions§

get_adreno_model
If theRenderAdapterInfo is a Qualcomm Adreno, returns its model number.
get_mali_driver_version
Get the Mali driver version if the adapter is a Mali GPU.

Type Aliases§

RenderSetDeprecated
Deprecated alias forRenderSystems.

[8]ページ先頭

©2009-2025 Movatter.jp