Skip to content

migrate to auto-generated GPU buffers using bevy_interleave #170

Open
@github-actions

Description

@github-actions

#[cfg(feature = "f16")]

#[derive(Component, Clone, Debug, Reflect)]

pub struct TextureBuffers {

position_visibility: Handle<Image>,

spherical_harmonics: Handle<Image>,

covariance_3d_opacity: Handle<Image>,

#[cfg(not(feature = "precompute_covariance_3d"))]

rotation_scale_opacity: Handle<Image>,

}

// TODO: migrate to auto-generated GPU buffers using bevy_interleave

    "texture rendering is only supported with the `planar` feature enabled",
);


// TODO: migrate to auto-generated GPU buffers using bevy_interleave
// #[cfg(feature = "f16")]
// #[derive(Component, Clone, Debug, Reflect)]
// pub struct TextureBuffers {
//     position_visibility: Handle<Image>,
//     spherical_harmonics: Handle<Image>,

//     #[cfg(feature = "precompute_covariance_3d")]
//     covariance_3d_opacity: Handle<Image>,
//     #[cfg(not(feature = "precompute_covariance_3d"))]
//     rotation_scale_opacity: Handle<Image>,
// }

#[derive(Component, Clone, Debug, Reflect)]
pub struct TextureBuffers {
    position_visibility: Handle<Image>,

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions