On main: Asset loading
This commit is contained in:
commit
cf04ed300b
|
@ -1,6 +1,6 @@
|
|||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
version = 3
|
||||
version = 4
|
||||
|
||||
[[package]]
|
||||
name = "addr2line"
|
||||
|
@ -718,9 +718,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "glam"
|
||||
version = "0.24.2"
|
||||
version = "0.29.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b5418c17512bdf42730f9032c74e1ae39afc408745ebb2acf72fbc4691c17945"
|
||||
checksum = "480c9417a5dc586fc0c0cb67891170e59cc11e9dc79ba1c11ddd2c56ca3f3b90"
|
||||
|
||||
[[package]]
|
||||
name = "hashbrown"
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
interface asset {
|
||||
resource handle {
|
||||
set-watched: func(watched: bool);
|
||||
version: func() -> u64;
|
||||
uuid: func() -> string;
|
||||
path: func() -> string;
|
||||
is-watched: func() -> bool;
|
||||
is-loaded: func() -> bool;
|
||||
wait-for-load: func();
|
||||
wait-recurse-dependencies-load: func();
|
||||
}
|
||||
|
||||
resource asset-manager {
|
||||
constructor();
|
||||
|
||||
request: func(path: string) -> handle;
|
||||
}
|
||||
}
|
|
@ -1 +1 @@
|
|||
Subproject commit 60c139f9b2563b4c2d809031ecac336badc63965
|
||||
Subproject commit 7ae0eae6ac714d72250149ab6b61a1ac66a5a6a9
|
|
@ -0,0 +1,3 @@
|
|||
[toolchain]
|
||||
channel = "nightly"
|
||||
#targets = [ "x86_64-unknown-linux-gnu" ]
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,18 @@
|
|||
interface asset {
|
||||
resource handle {
|
||||
set-watched: func(watched: bool);
|
||||
version: func() -> u64;
|
||||
uuid: func() -> string;
|
||||
path: func() -> string;
|
||||
is-watched: func() -> bool;
|
||||
is-loaded: func() -> bool;
|
||||
wait-for-load: func();
|
||||
wait-recurse-dependencies-load: func();
|
||||
}
|
||||
|
||||
resource asset-manager {
|
||||
constructor();
|
||||
|
||||
request: func(path: string) -> handle;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue