[−][src]Struct makepad_render::Blit
Fields
shader: Shader
min_x: f32
min_y: f32
max_x: f32
max_y: f32
alpha: f32
do_scroll: bool
Methods
impl Blit
[src]
pub fn style(cx: &mut Cx) -> Self
[src]
pub fn instance_x() -> InstanceFloat
[src]
pub fn instance_y() -> InstanceFloat
[src]
pub fn instance_w() -> InstanceFloat
[src]
pub fn instance_h() -> InstanceFloat
[src]
pub fn instance_min_x() -> InstanceFloat
[src]
pub fn instance_min_y() -> InstanceFloat
[src]
pub fn instance_max_x() -> InstanceFloat
[src]
pub fn instance_max_y() -> InstanceFloat
[src]
pub fn instance_z() -> InstanceFloat
[src]
pub fn instance_color() -> InstanceColor
[src]
pub fn uniform_alpha() -> UniformFloat
[src]
pub fn def_blit_shader() -> ShaderGen
[src]
pub fn begin_blit(
&mut self,
cx: &mut Cx,
texture: &Texture,
layout: Layout
) -> InstanceArea
[src]
&mut self,
cx: &mut Cx,
texture: &Texture,
layout: Layout
) -> InstanceArea
pub fn end_blit(&mut self, cx: &mut Cx, inst: &InstanceArea) -> Area
[src]
pub fn draw_blit_walk(
&mut self,
cx: &mut Cx,
texture: &Texture,
walk: Walk
) -> InstanceArea
[src]
&mut self,
cx: &mut Cx,
texture: &Texture,
walk: Walk
) -> InstanceArea
pub fn draw_blit(
&mut self,
cx: &mut Cx,
texture: &Texture,
rect: Rect
) -> InstanceArea
[src]
&mut self,
cx: &mut Cx,
texture: &Texture,
rect: Rect
) -> InstanceArea
pub fn draw_blit_abs(
&mut self,
cx: &mut Cx,
texture: &Texture,
rect: Rect
) -> InstanceArea
[src]
&mut self,
cx: &mut Cx,
texture: &Texture,
rect: Rect
) -> InstanceArea
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Blit
impl Send for Blit
impl Sync for Blit
impl Unpin for Blit
impl UnwindSafe for Blit
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,