Struct three_d::renderer::object::Skybox [−][src]
pub struct Skybox { /* fields omitted */ }Expand description
An illusion of a sky.
Implementations
pub fn new<T: TextureDataType>(
context: &Context,
cpu_texture: &mut CPUTexture<T>
) -> ThreeDResult<Skybox>
pub fn new<T: TextureDataType>(
context: &Context,
cpu_texture: &mut CPUTexture<T>
) -> ThreeDResult<Skybox>
Creates a new skybox with the given cpu-side version of a TextureCubeMap.
Creates a new skybox with the given TextureCubeMap.
Returns a reference to the cube map texture
Render the skybox.
Auto Trait Implementations
impl !RefUnwindSafe for Skybox
impl !UnwindSafe for Skybox
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