[−][src]Trait sfml::graphics::Drawable
The trait drawable is inherited by each object who can be drawn in a RenderTarget
Required methods
fn draw<'a: 'shader, 'texture, 'shader, 'shader_texture>(
&'a self,
target: &mut dyn RenderTarget,
states: RenderStates<'texture, 'shader, 'shader_texture>
)
&'a self,
target: &mut dyn RenderTarget,
states: RenderStates<'texture, 'shader, 'shader_texture>
)
Draw a drawable object into a RenderTarget
Implementors
impl Drawable for VertexArray
[src]
fn draw<'a: 'shader, 'texture, 'shader, 'shader_texture>(
&'a self,
target: &mut dyn RenderTarget,
states: RenderStates<'texture, 'shader, 'shader_texture>
)
[src]
&'a self,
target: &mut dyn RenderTarget,
states: RenderStates<'texture, 'shader, 'shader_texture>
)
impl<'s> Drawable for CircleShape<'s>
[src]
fn draw<'a: 'shader, 'texture, 'shader, 'shader_texture>(
&'a self,
target: &mut dyn RenderTarget,
states: RenderStates<'texture, 'shader, 'shader_texture>
)
[src]
&'a self,
target: &mut dyn RenderTarget,
states: RenderStates<'texture, 'shader, 'shader_texture>
)
impl<'s> Drawable for ConvexShape<'s>
[src]
fn draw<'a: 'shader, 'texture, 'shader, 'shader_texture>(
&'a self,
target: &mut dyn RenderTarget,
states: RenderStates<'texture, 'shader, 'shader_texture>
)
[src]
&'a self,
target: &mut dyn RenderTarget,
states: RenderStates<'texture, 'shader, 'shader_texture>
)
impl<'s> Drawable for CustomShape<'s>
[src]
fn draw<'a: 'shader, 'texture, 'shader, 'shader_texture>(
&'a self,
target: &mut dyn RenderTarget,
states: RenderStates<'texture, 'shader, 'shader_texture>
)
[src]
&'a self,
target: &mut dyn RenderTarget,
states: RenderStates<'texture, 'shader, 'shader_texture>
)
impl<'s> Drawable for RectangleShape<'s>
[src]
fn draw<'a: 'shader, 'texture, 'shader, 'shader_texture>(
&'a self,
target: &mut dyn RenderTarget,
states: RenderStates<'texture, 'shader, 'shader_texture>
)
[src]
&'a self,
target: &mut dyn RenderTarget,
states: RenderStates<'texture, 'shader, 'shader_texture>
)
impl<'s> Drawable for Sprite<'s>
[src]
fn draw<'a: 'shader, 'texture, 'shader, 'shader_texture>(
&'a self,
target: &mut dyn RenderTarget,
states: RenderStates<'texture, 'shader, 'shader_texture>
)
[src]
&'a self,
target: &mut dyn RenderTarget,
states: RenderStates<'texture, 'shader, 'shader_texture>
)
impl<'s> Drawable for Text<'s>
[src]
fn draw<'a: 'shader, 'texture, 'shader, 'shader_texture>(
&'a self,
target: &mut dyn RenderTarget,
states: RenderStates<'texture, 'shader, 'shader_texture>
)
[src]
&'a self,
target: &mut dyn RenderTarget,
states: RenderStates<'texture, 'shader, 'shader_texture>
)