Modules§
- prelude
- The camera prelude.
- primitives
- visibility
Structs§
- Camera
- The defining
Component
for camera entities, storing information about how and what to render through this camera. - Camera2d
- A 2D camera component. Enables the 2D render graph for a
Camera
. - Camera3d
- A 3D camera component. Enables the main 3D render graph for a
Camera
. - Camera3d
Depth Texture Usage - Camera
Main Texture Usages - This component lets you control the
TextureUsages
field of the main texture generated for the camera - Camera
Plugin - Camera
Projection Plugin - Adds
Camera
driver systems for a given projection type. - Camera
Update Systems - Label for
camera_system<T>
, shared across allT
. - Clear
Color - A
Resource
that stores the default color that cameras use to clear the screen between frames. - Computed
Camera Values - Holds internally computed
Camera
values. - Custom
Projection - Holds a dynamic
CameraProjection
trait object. UseProjection::custom()
to construct a custom projection. - Exposure
- How much energy a
Camera3d
absorbs from incoming light. - Image
Render Target - A render target that renders to an
Image
. - Main
Pass Resolution Override - Override the resolution a 3d camera’s main pass is rendered at.
- Manual
Texture View Handle - A unique id that corresponds to a specific
ManualTextureView
in theManualTextureViews
collection. - Orthographic
Projection - Project a 3D space onto a 2D surface using parallel lines, i.e., unlike
PerspectiveProjection
, the size of objects remains the same regardless of their distance to the camera. - Perspective
Projection - A 3D camera projection in which distant objects appear smaller than close objects.
- Physical
Camera Parameters - Parameters based on physical camera characteristics for calculating EV100
values for use with
Exposure
. This is also used for depth of field. - Render
Target Info - Information about the current
RenderTarget
. - SubCamera
View - Settings to define a camera sub view.
- Viewport
- Render viewport configuration for the
Camera
component.
Enums§
- Camera3d
Depth Load Op - The depth clear operation to perform for the main 3d pass.
- Camera
Output Mode - Control how this
Camera
outputs once rendering is completed. - Clear
Color Config - For a camera, specifies the color used to clear the viewport before rendering or when writing to the final render target texture.
- Normalized
Render Target - Normalized version of the render target.
- Projection
- Component that defines how to compute a
Camera
’s projection matrix. - Render
Target - The “target” that a
Camera
will render to. For example, this could be aWindow
swapchain or anImage
. - Scaling
Mode - Scaling mode for
OrthographicProjection
. - Screen
Space Transmission Quality - The quality of the screen space transmission blur effect, applied to whatever’s “behind” transmissive
objects when their
roughness
is greater than0.0
. - Viewport
Conversion Error - Error returned when a conversion between world-space and viewport-space coordinates fails.
Traits§
- Camera
Projection - Describes a type that can generate a projection matrix, allowing it to be added to a
Camera
’sProjection
component.
Type Aliases§
- Camera
Update System Deprecated - Deprecated alias for
CameraUpdateSystems
.