Struct three_d::renderer::object::Imposters [−][src]
pub struct Imposters { /* fields omitted */ }
Expand description
A level-of-detail technique to replace rendering high-poly meshes at a distance. A mesh is rendered from different angles into a set of textures and the textures are then rendered continuously instead of the high-poly meshes.
Implementations
pub fn update_texture(
&mut self,
render: impl Fn(&Camera) -> ThreeDResult<()>,
aabb: (Vec3, Vec3),
max_texture_size: u32
) -> ThreeDResult<()>
Auto Trait Implementations
impl !RefUnwindSafe for Imposters
impl !UnwindSafe for Imposters
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more