Function crayon::video::update_texture

source ·
pub fn update_texture(
    handle: TextureHandle,
    area: Aabb2<u32>,
    data: &[u8]
) -> CrResult<()>
Expand description

Update a contiguous subregion of an existing two-dimensional texture object.