Struct ilmenite::raster::ImtRaster [−][src]
pub struct ImtRaster { /* fields omitted */ }
Implementations
impl ImtRaster
[src]
impl ImtRaster
[src]pub fn new(
device: Arc<Device>,
queue: Arc<Queue>,
opts: ImtRasterOpts
) -> Result<Self, ImtError>
[src]
device: Arc<Device>,
queue: Arc<Queue>,
opts: ImtRasterOpts
) -> Result<Self, ImtError>
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]
&self,
parser: &ImtParser,
text_height: f32,
shaped_glyphs: Vec<ImtShapedGlyph>
) -> Result<Vec<ImtRasteredGlyph>, ImtError>
Auto Trait Implementations
impl !RefUnwindSafe for ImtRaster
impl Send for ImtRaster
impl Sync for ImtRaster
impl Unpin for ImtRaster
impl !UnwindSafe for ImtRaster
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Content for T
[src]
impl<T> Content for T
[src]pub fn ref_from_ptr(ptr: *mut c_void, size: usize) -> Option<*mut T>
[src]
pub fn ref_from_ptr(ptr: *mut c_void, size: usize) -> Option<*mut T>
[src]Builds a pointer to this type from a raw pointer.
pub fn is_size_suitable(size: usize) -> bool
[src]
pub fn is_size_suitable(size: usize) -> bool
[src]Returns true if the size is suitable to store a type like this.
pub fn indiv_size() -> usize
[src]
pub fn indiv_size() -> usize
[src]Returns the size of an individual element.
impl<T> Pointable for T
impl<T> Pointable for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,