webrender::renderer::gpu_buffer

Type Alias GpuBufferF

Source
pub type GpuBufferF = GpuBuffer<GpuBufferBlockF>;

Aliased Type§

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

Fields§

§data: Vec<GpuBufferBlockF, 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