Structs§
- The defining
Componentfor camera entities, storing information about how and what to render through this camera. - This component lets you control the
TextureUsagesfield of the main texture generated for the camera - Adds
Cameradriver systems for a given projection type. - Configures the
RenderGraphname assigned to be run for a givenCameraentity. - Label for
camera_system<T>, shared across allT. - A
Resourcethat stores the color that is used to clear the screen between frames. - Holds internally computed
Cameravalues. - How much energy a
Camera3dabsorbs from incoming light. - A manually managed
TextureViewfor use as acrate::camera::RenderTarget. - A unique id that corresponds to a specific
ManualTextureViewin theManualTextureViewscollection. - Stores manually managed
ManualTextureViews for use as acrate::camera::RenderTarget. - Camera component specifying a mip bias to apply when sampling from material textures.
- 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. - A 3D camera projection in which distant objects appear smaller than close objects.
- Parameters based on physical camera characteristics for calculating EV100 values for use with
Exposure. This is also used for depth of field. - Information about the current
RenderTarget. - Cameras sorted by their order field. This is updated in the
sort_camerassystem. - A subpixel offset to jitter a perspective camera’s frustum by.
- Render viewport configuration for the
Cameracomponent.
Enums§
- Control how this camera outputs once rendering is completed.
- For a camera, specifies the color used to clear the viewport before rendering.
- Normalized version of the render target.
- A configurable
CameraProjectionthat can select its projection type at runtime. - Scaling mode for
OrthographicProjection.
Traits§
- Trait to control the projection matrix of a camera.
Functions§
- System in charge of updating a
Camerawhen its window or projection changes.