Struct three_d::renderer::material::UVMaterial [−][src]
pub struct UVMaterial {
pub render_states: RenderStates,
}
Fields
render_states: RenderStates
Trait Implementations
Returns the “default value” for a type. Read more
Returns the fragment shader source for this material. Should output the final fragment color.
fn use_uniforms(
&self,
_program: &Program,
_camera: &Camera,
_lights: &Lights
) -> ThreeDResult<()>
fn use_uniforms(
&self,
_program: &Program,
_camera: &Camera,
_lights: &Lights
) -> ThreeDResult<()>
Sends the uniform data needed for this material to the fragment shader.
Returns the render states needed to render with this material.
Returns whether or not this material is transparent.
Auto Trait Implementations
impl RefUnwindSafe for UVMaterial
impl Send for UVMaterial
impl Sync for UVMaterial
impl Unpin for UVMaterial
impl UnwindSafe for UVMaterial
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