webrender::renderer::gpu_buffer

Type Alias GpuBufferI

Source
pub type GpuBufferI = GpuBuffer<GpuBufferBlockI>;

Aliased Type§

struct GpuBufferI {
    pub data: Vec<GpuBufferBlockI, FrameAllocator>,
    pub size: Size2D<i32, DevicePixel>,
    pub format: ImageFormat,
}

Fields§

§data: Vec<GpuBufferBlockI, FrameAllocator>§size: Size2D<i32, DevicePixel>§format: ImageFormat

Implementations

Source§

impl<T> GpuBuffer<T>

Source

pub fn is_empty(&self) -> bool

Trait Implementations

Source§

impl<T> Serialize for GpuBuffer<T>
where T: Serialize,

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more