pub fn load_from_image_buffer<P, Container>(
        device: &wgpu::Device,
        queue: &mut wgpu::Queue,
        usage: wgpu::TextureUsage,
        buffer: &image::ImageBuffer<P, Container>,
    ) -> Self
    where
        P: 'static + Pixel,
        Container: std::ops::Deref<Target = [P::Subpixel]>,
    {
        load_texture_from_image_buffer(device, queue, usage, buffer)
    }
/// Load a texture directly from an image buffer using the given device queue.
///
/// No format or size conversions are performed - the given buffer is loaded directly into GPU
/// memory.
///
/// Pixel type compatibility is ensured via the `Pixel` trait.
Load a texture directly from an image buffer using the given device queue.
No format or size conversions are performed - the given buffer is loaded directly into GPU
memory.

Pixel type compatibility is ensured via the `Pixel` trait.
Load a texture directly from an image buffer using the given device queue . No format or size conversions are performed - the given buffer is loaded directly into GPU memory . Pixel type compatibility is ensured via the ` Pixel ` trait .
pub fn load_from_image_buffer<P, Container>(
        device: &wgpu::Device,
        queue: &mut wgpu::Queue,
        usage: wgpu::TextureUsage,
        buffer: &image::ImageBuffer<P, Container>,
    ) -> Self
    where
        P: 'static + Pixel,
        Container: std::ops::Deref<Target = [P::Subpixel]>,
    {
        load_texture_from_image_buffer(device, queue, usage, buffer)
    }
pub fn load_from_image_buffer < P , Container > ( device : & wgpu :: Device , queue : & mut wgpu :: Queue , usage : wgpu :: TextureUsage , buffer : & image :: ImageBuffer < P , Container > , ) -> Self where P : ' static + Pixel , Container : std :: ops :: Deref < Target = [ P :: Subpixel ] > , { load_texture_from_image_buffer ( device , queue , usage , buffer ) }
Load a texture directly from an image buffer using the given device queue.
Load a texture directly from an image buffer using the given device queue .
device
&wgpu::Device
queue
&mut wgpu::Queue
usage
wgpu::TextureUsage
buffer
&image::ImageBuffer<P, Container>
device
&wgpu::Device
queue
&mut wgpu::Queue
usage
wgpu::TextureUsage
buffer
&image::ImageBuffer<P, Container>