Open
Description
#[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>,
}
"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>,