[][src]Trait solstice::texture::TextureUpdate

pub trait TextureUpdate {
    pub fn set_texture_sub_data(
        &mut self,
        texture_key: TextureKey,
        texture: TextureInfo,
        texture_type: TextureType,
        data: &[u8],
        x_offset: u32,
        y_offset: u32
    );
pub fn set_texture_data(
        &mut self,
        texture_key: TextureKey,
        texture: TextureInfo,
        texture_type: TextureType,
        data: Option<&[u8]>
    );
pub fn set_texture_wrap(
        &mut self,
        texture_key: TextureKey,
        texture_type: TextureType,
        wrap: Wrap
    );
pub fn set_texture_filter(
        &mut self,
        texture_key: TextureKey,
        texture_type: TextureType,
        filter: Filter
    ); }

Required methods

pub fn set_texture_sub_data(
    &mut self,
    texture_key: TextureKey,
    texture: TextureInfo,
    texture_type: TextureType,
    data: &[u8],
    x_offset: u32,
    y_offset: u32
)
[src]

pub fn set_texture_data(
    &mut self,
    texture_key: TextureKey,
    texture: TextureInfo,
    texture_type: TextureType,
    data: Option<&[u8]>
)
[src]

pub fn set_texture_wrap(
    &mut self,
    texture_key: TextureKey,
    texture_type: TextureType,
    wrap: Wrap
)
[src]

pub fn set_texture_filter(
    &mut self,
    texture_key: TextureKey,
    texture_type: TextureType,
    filter: Filter
)
[src]

Loading content...

Implementors

impl TextureUpdate for Context[src]

Loading content...