Struct amethyst_renderer::DrawPbmSeparate [−][src]
pub struct DrawPbmSeparate { /* fields omitted */ }
Draw mesh with physically based lighting
Methods
impl DrawPbmSeparate
[src]
impl DrawPbmSeparate
pub fn new() -> Self
[src]
pub fn new() -> Self
Create instance of DrawPbm
pass
pub fn with_vertex_skinning(self) -> Self
[src]
pub fn with_vertex_skinning(self) -> Self
Enable vertex skinning
pub fn with_transparency(
self,
mask: ColorMask,
blend: Blend,
depth: Option<DepthMode>
) -> Self
[src]
pub fn with_transparency(
self,
mask: ColorMask,
blend: Blend,
depth: Option<DepthMode>
) -> Self
Enable transparency
Trait Implementations
impl Default for DrawPbmSeparate
[src]
impl Default for DrawPbmSeparate
fn default() -> DrawPbmSeparate
[src]
fn default() -> DrawPbmSeparate
Returns the "default value" for a type. Read more
impl Clone for DrawPbmSeparate
[src]
impl Clone for DrawPbmSeparate
fn clone(&self) -> DrawPbmSeparate
[src]
fn clone(&self) -> DrawPbmSeparate
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for DrawPbmSeparate
[src]
impl Debug for DrawPbmSeparate
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for DrawPbmSeparate
[src]
impl PartialEq for DrawPbmSeparate
fn eq(&self, other: &DrawPbmSeparate) -> bool
[src]
fn eq(&self, other: &DrawPbmSeparate) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DrawPbmSeparate) -> bool
[src]
fn ne(&self, other: &DrawPbmSeparate) -> bool
This method tests for !=
.
impl<'a> PassData<'a> for DrawPbmSeparate
[src]
impl<'a> PassData<'a> for DrawPbmSeparate
type Data = (Entities<'a>, Option<Read<'a, ActiveCamera>>, ReadStorage<'a, Camera>, Read<'a, AmbientColor>, Read<'a, AssetStorage<Mesh>>, Read<'a, AssetStorage<Texture>>, ReadExpect<'a, MaterialDefaults>, Option<Read<'a, Visibility>>, ReadStorage<'a, MeshHandle>, ReadStorage<'a, Material>, ReadStorage<'a, GlobalTransform>, ReadStorage<'a, Light>, ReadStorage<'a, JointTransforms>)
The data itself.
impl Pass for DrawPbmSeparate
[src]
impl Pass for DrawPbmSeparate
fn compile(&mut self, effect: NewEffect) -> Result<Effect>
[src]
fn compile(&mut self, effect: NewEffect) -> Result<Effect>
The pass is given an opportunity to compile shaders and store them in an Effect
which is then passed to the pass in apply
. Read more
fn apply<'a, 'b: 'a>(
&'a mut self,
encoder: &mut Encoder,
effect: &mut Effect,
_factory: Factory,
(entities, active, camera, ambient, mesh_storage, tex_storage, material_defaults, visibility, mesh, material, global, light, joints): Self::Data
)
[src]
fn apply<'a, 'b: 'a>(
&'a mut self,
encoder: &mut Encoder,
effect: &mut Effect,
_factory: Factory,
(entities, active, camera, ambient, mesh_storage, tex_storage, material_defaults, visibility, mesh, material, global, light, joints): Self::Data
)
Called whenever the renderer is ready to apply the pass. Feed commands into the encoder here. Read more
Auto Trait Implementations
impl Send for DrawPbmSeparate
impl Send for DrawPbmSeparate
impl Sync for DrawPbmSeparate
impl Sync for DrawPbmSeparate