[−][src]Trait egui_web::Painter
Required methods
pub fn as_tex_allocator(&mut self) -> &mut dyn TextureAllocator
[src]
pub fn debug_info(&self) -> String
[src]
pub fn canvas_id(&self) -> &str
[src]
id of the canvas html element containing the rendering
pub fn upload_egui_texture(&mut self, texture: &Texture)
[src]
pub fn clear(&mut self, lear_color: Rgba)
[src]
pub fn paint_jobs(
&mut self,
jobs: PaintJobs,
pixels_per_point: f32
) -> Result<(), JsValue>
[src]
&mut self,
jobs: PaintJobs,
pixels_per_point: f32
) -> Result<(), JsValue>
Implementors
impl Painter for WebGlPainter
[src]
pub fn as_tex_allocator(&mut self) -> &mut dyn TextureAllocator
[src]
pub fn debug_info(&self) -> String
[src]
pub fn canvas_id(&self) -> &str
[src]
id of the canvas html element containing the rendering
pub fn upload_egui_texture(&mut self, texture: &Texture)
[src]
pub fn clear(&mut self, clear_color: Rgba)
[src]
pub fn paint_jobs(
&mut self,
jobs: PaintJobs,
pixels_per_point: f32
) -> Result<(), JsValue>
[src]
&mut self,
jobs: PaintJobs,
pixels_per_point: f32
) -> Result<(), JsValue>
impl Painter for WebGl2Painter
[src]
pub fn as_tex_allocator(&mut self) -> &mut dyn TextureAllocator
[src]
pub fn debug_info(&self) -> String
[src]
pub fn canvas_id(&self) -> &str
[src]
id of the canvas html element containing the rendering
pub fn upload_egui_texture(&mut self, texture: &Texture)
[src]
pub fn clear(&mut self, clear_color: Rgba)
[src]
pub fn paint_jobs(
&mut self,
jobs: PaintJobs,
pixels_per_point: f32
) -> Result<(), JsValue>
[src]
&mut self,
jobs: PaintJobs,
pixels_per_point: f32
) -> Result<(), JsValue>