Struct octoon::materials::skybox::SkyboxMaterial
source · pub struct SkyboxMaterial {
pub uuid: Uuid,
pub attribs: Vec<VertexAttrib>,
pub uniforms: HashMap<String, Variant>,
}
Fields
uuid: Uuid
attribs: Vec<VertexAttrib>
uniforms: HashMap<String, Variant>
Implementations
sourceimpl SkyboxMaterial
impl SkyboxMaterial
Trait Implementations
sourceimpl Debug for SkyboxMaterial
impl Debug for SkyboxMaterial
sourceimpl From<SkyboxMaterial> for Arc<RefCell<dyn Material + 'static>>
impl From<SkyboxMaterial> for Arc<RefCell<dyn Material + 'static>>
sourcefn from(material: SkyboxMaterial) -> Self
fn from(material: SkyboxMaterial) -> Self
Converts to this type from the input type.
sourceimpl From<SkyboxMaterial> for Arc<dyn Material + 'static>
impl From<SkyboxMaterial> for Arc<dyn Material + 'static>
sourcefn from(material: SkyboxMaterial) -> Self
fn from(material: SkyboxMaterial) -> Self
Converts to this type from the input type.
sourceimpl From<SkyboxMaterial> for Rc<RefCell<dyn Material + 'static>>
impl From<SkyboxMaterial> for Rc<RefCell<dyn Material + 'static>>
sourcefn from(material: SkyboxMaterial) -> Self
fn from(material: SkyboxMaterial) -> Self
Converts to this type from the input type.
sourceimpl From<SkyboxMaterial> for Rc<dyn Material + 'static>
impl From<SkyboxMaterial> for Rc<dyn Material + 'static>
sourcefn from(material: SkyboxMaterial) -> Self
fn from(material: SkyboxMaterial) -> Self
Converts to this type from the input type.
sourceimpl Material for SkyboxMaterial
impl Material for SkyboxMaterial
fn input_layout(&self) -> &[VertexAttrib]
fn uniforms(&self) -> &HashMap<String, Variant>
fn set_uniform(&mut self, name: &str, value: Variant)
fn vs(&self) -> &str
fn fs(&self) -> &str
fn cull_mode(&self) -> CullMode
fn blend_enable(&self) -> bool
fn blend_op(&self) -> BlendOp
fn blend_src(&self) -> BlendFactor
fn blend_dest(&self) -> BlendFactor
fn blend_alpha_op(&self) -> BlendOp
fn blend_alpha_src(&self) -> BlendFactor
fn blend_alpha_dest(&self) -> BlendFactor
fn color_write_mask(&self) -> u32
fn polygon_mode(&self) -> PolygonMode
fn depth_enable(&self) -> bool
fn depth_write_enable(&self) -> bool
fn depth_func(&self) -> ComparisonFunc
fn line_width(&self) -> f32
fn front_face(&self) -> FrontFace
Auto Trait Implementations
impl RefUnwindSafe for SkyboxMaterial
impl Send for SkyboxMaterial
impl Sync for SkyboxMaterial
impl Unpin for SkyboxMaterial
impl UnwindSafe for SkyboxMaterial
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
Sets
value
as a parameter of self
.