Cross-platform multimedia layer
0.26
.egui::plugin::Output.needs_repaint()
, now is only used internally and not exposed to users.notan::draw::DrawBuilder
allowing custom builders.notan::app::AppTimer
.draw.point
allowing to draw points. Check examples/draw_point.rs
.WindowConfig::set_canvas_id
to WindowConfig::set_app_id
and is not available for wayland too.app.request_frame()
when using lazy lopps on Window OS.--
Thanks everybody!
If you're using egui to render notan textures you may want to check the example because the API did change.
--
Thank you so much for the help!
WindowConfig::set_position
to set x/y position before creating the window.Renderer.begin
uses Option<ClearOption>
instead of Option<&ClearOption>
.i32
to u32
.AppTimer::elapsed
to return time since init as Duration
.AppTimer::time_since_init
to AppTimer::elapsed_f32
.WindowConfig
setter method to use the prefix set_
.Mouse::local_position
.mat3_screen_to_local
, mat3_local_to_screen
, mat3_local_to_local
.--no-default-features
excluding shader compilation macros.AtlasFrame
uses a default pivot
if is empty.WindowConfig::set_window_icon_data
.WindowConfig::set_taskbar_icon_data
.window_icon_from_raw.rs
.glsl_layout
dependency for crevice
.0.22
.egui
panic when custom font are set.egui needs_repaint
not working right in some situations.Draw
methods.WebGL
and WebGL2
contexts cannot be adquired.Buffer
to allow reuse Uniform Buffers
between pipelines.debug
to trace
.Clone
to Random
.Mouse::wheel_delta
when the user stops scrolling.Mouse::is_scrolling
.State<'n>
.Clone
to AssetsList
.image
crate on notan_graphics
is only used when texture_to_file
is enabled.WindowBackend::set_cursor_position
, Event::MouseMotion
and Mouse::is_moving
.window_initial_position.rs
.RenderTextureBuilder
.texture_params
.renderer_stencil
.set_multisamples
. It is no longer being ignored for winit backendis_focused()
for winit backendwindow_focus
exampleThanks everybody!
Thanks everybody!
WindowBackend::set_title
and WindowBackend::title
to change or get the title at any time. #240max_width
and size
as 0. #240debug_assert
in Device::inner_read_pixels
. #236include
directives using shaderc
. #233serde
to serialize/deserialize some core types. #244Thanks for the contributions!
WindowBackend::screen_size
to get the screen's resolution size. #229WindowBackend::container_size
to get the windows container size (screen on native, parent element on web). #229draw_mask_animated.rs
. #231Just a small release with a few minor fixes, thanks all!
RenderTexture
using Draw2D API. #189Draw
structure is clonable again. #190SetupHandler
and AppBuilder::initialize
to FnOnce
allowing to embed notan easily.glutin
to 0.30.2
. #192draw_arcs.rs
to show how to draw circle sections. #195R8Uint
.WindowConfig::window_icon
and WindowConfig::taskbar_icon
to add icons for windows os. #202egui_custom_font.rs
.TextureFormat::Rgba32Float
. #207Thank you so much for your contributions, you make this project great!
notan_egui
to the latest version of egui
0.19. #154TextureBuilder::generate_mipmaps
. #155WindowBackend::position
and WindowBackend::set_position
. #156notan_main
macro. #160.fill_color
and stroke_color
for the Draw2d shapes to allow to stroke and fill with the same builder. #175Draw::star(spikes, outser_radius, inner_radius)
to draw stars. #175Draw::polygon(sides, radius)
to draw regular polygons. #175shaderc
feature to compile shaders using shaderc
instead of glsl_to_spirv
. #165RenderTexture
orientation when drawing using the Draw2d API. #179IndexBufferBuilder::with_data_u16
to create index buffers using u16 slices. #168Text::last_bounds
to get the bounding box of the latest text drawn. #172Text::bounds
to get the bounding box of all the text elements combined. #172Draw::last_text_bounds
to get the bounding box of the latest text drawn using the Draw2d API. #172text_bounds.rs
and draw_text_bounds.rs
to show how to measure the text size with real use cases. #172WindowBackend::set_mouse_passthrough
to change the passthrough condition at runtime. #173draw_shapes_shader.rs
to show how to set a custom pipeline drawing shapes. #176draw_shader.rs
to draw_image_shader.rs
Graphics::stats() -> GpuStats
to get more info about what the GPU did the last frame.TextureFormat::R16Uint
, R32Uint
, R32Float
. #178renderer_texture_r32.rs
to show how to use new texture types.Renderer::bind_texture
will set the slot automatically to the next one if using in a row.copypasta
dependency by arboard
and moved clipboard features to app level. #170wasm
. #170.flip_x
and .flip_y
to Image
, Animation
and Pattern
object from the Draw2d API. #179Draw::set_blend_mode
needs an Option<BlendMode>
now, and passing None the blending mode can be canceled. #185Draw::set_alpha_mode
and DrawBuilder::alpha_mode
to set the blend mode for the alpha composition. #185Thank you so much for all the hard work!