Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions crates/bevy_camera/src/camera.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ impl Default for SubCameraView {
}

/// Information about the current [`RenderTarget`].
#[derive(Debug, Clone)]
#[derive(Debug, Reflect, Clone)]
pub struct RenderTargetInfo {
/// The physical size of this render target (in physical pixels, ignoring scale factor).
pub physical_size: UVec2,
Expand All @@ -179,7 +179,7 @@ impl Default for RenderTargetInfo {
}

/// Holds internally computed [`Camera`] values.
#[derive(Default, Debug, Clone)]
#[derive(Default, Debug, Reflect, Clone)]
pub struct ComputedCameraValues {
pub clip_from_view: Mat4,
pub target_info: Option<RenderTargetInfo>,
Expand Down Expand Up @@ -355,7 +355,6 @@ pub struct Camera {
/// camera will not be rendered.
pub is_active: bool,
/// Computed values for this camera, such as the projection matrix and the render target size.
#[reflect(ignore, clone)]
pub computed: ComputedCameraValues,
// todo: reflect this when #6042 lands
/// The [`CameraOutputMode`] for this camera.
Expand Down