[][src]Struct ilmenite::raster::ImtRaster

pub struct ImtRaster { /* fields omitted */ }

Implementations

impl ImtRaster[src]

pub fn new(
    device: Arc<Device>,
    queue: Arc<Queue>,
    opts: ImtRasterOpts
) -> Result<Self, ImtError>
[src]

pub fn sample_count(&self) -> usize[src]

pub fn ray_count(&self) -> usize[src]

pub fn device(&self) -> Arc<Device>[src]

pub fn device_ref(&self) -> &Arc<Device>[src]

pub fn queue(&self) -> Arc<Queue>[src]

pub fn queue_ref(&self) -> &Arc<Queue>[src]

pub fn glyph_shader(&self) -> &Shader[src]

pub fn sample_data_buf(&self) -> Arc<DeviceLocalBuffer<[[f32; 4]]>>[src]

pub fn ray_data_buf(&self) -> Arc<DeviceLocalBuffer<[[f32; 4]]>>[src]

pub fn raster_shaped_glyphs(
    &self,
    parser: &ImtParser,
    text_height: f32,
    shaped_glyphs: Vec<ImtShapedGlyph>
) -> Result<Vec<ImtRasteredGlyph>, ImtError>
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Content for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.