Struct amethyst_renderer::DrawFlatSeparate [−][src]
pub struct DrawFlatSeparate { /* fields omitted */ }Draw mesh without lighting
Methods
impl DrawFlatSeparate where
Self: Pass, [src]
impl DrawFlatSeparate where
Self: Pass, pub fn new() -> Self[src]
pub fn new() -> SelfCreate instance of DrawFlat pass
pub fn with_vertex_skinning(self) -> Self[src]
pub fn with_vertex_skinning(self) -> SelfEnable 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>
) -> SelfEnable transparency
Trait Implementations
impl Default for DrawFlatSeparate where
Self: Pass, [src]
impl Default for DrawFlatSeparate where
Self: Pass, impl Clone for DrawFlatSeparate[src]
impl Clone for DrawFlatSeparatefn clone(&self) -> DrawFlatSeparate[src]
fn clone(&self) -> DrawFlatSeparateReturns 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 DrawFlatSeparate[src]
impl Debug for DrawFlatSeparatefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for DrawFlatSeparate[src]
impl PartialEq for DrawFlatSeparatefn eq(&self, other: &DrawFlatSeparate) -> bool[src]
fn eq(&self, other: &DrawFlatSeparate) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &DrawFlatSeparate) -> bool[src]
fn ne(&self, other: &DrawFlatSeparate) -> boolThis method tests for !=.
impl<'a> PassData<'a> for DrawFlatSeparate[src]
impl<'a> PassData<'a> for DrawFlatSeparatetype Data = (Entities<'a>, Option<Read<'a, ActiveCamera>>, ReadStorage<'a, Camera>, 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, JointTransforms>)
The data itself.
impl Pass for DrawFlatSeparate[src]
impl Pass for DrawFlatSeparatefn 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, mesh_storage, tex_storage, material_defaults, visibility, mesh, material, global, joints): Self::Data
)[src]
fn apply<'a, 'b: 'a>(
&'a mut self,
encoder: &mut Encoder,
effect: &mut Effect,
_factory: Factory,
(entities, active, camera, mesh_storage, tex_storage, material_defaults, visibility, mesh, material, global, 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 DrawFlatSeparate
impl Send for DrawFlatSeparateimpl Sync for DrawFlatSeparate
impl Sync for DrawFlatSeparate