Initial project import
This commit is contained in:
commit
23f2d29e32
11957 files changed
+1754577
No files matched your search
@@ -0,0 +1,22 @@
|
||||
module gg
|
||||
|
||||
@[heap]
|
||||
pub struct Image {
|
||||
pub mut:
|
||||
id int
|
||||
width int
|
||||
height int
|
||||
nr_channels int
|
||||
ok bool
|
||||
data voidptr
|
||||
ext string
|
||||
|
||||
path string
|
||||
}
|
||||
|
||||
pub fn (ctx &Context) draw_image_with_config(config DrawImageConfig) {
|
||||
}
|
||||
|
||||
// destroy GPU resources associated with the image
|
||||
fn (img &Image) destroy() {
|
||||
}
|
||||
Reference in new issue
Block a user