mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
Add support for importing OpenGL textures into Slint
This is the initial API for Slint to borrow OpenGL textures from the application for rendering.
This commit is contained in:
parent
9d2cc6ee5e
commit
eadfec64a3
16 changed files with 879 additions and 1 deletions
|
@ -245,6 +245,8 @@ compile_error!(
|
|||
pub use slint_macros::slint;
|
||||
|
||||
pub use i_slint_core::api::*;
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
pub use i_slint_core::graphics::BorrowedOpenGLTexture;
|
||||
pub use i_slint_core::graphics::{
|
||||
Brush, Color, Image, LoadImageError, Rgb8Pixel, Rgba8Pixel, RgbaColor, SharedPixelBuffer,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue