You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
568 B
27 lines
568 B
Content-Type: text/x-zim-wiki
|
|
Wiki-Format: zim 0.4
|
|
Creation-Date: 2020-08-06T21:51:48-07:00
|
|
|
|
====== MakingAnActualThing ======
|
|
Created Thursday 06 August 2020
|
|
|
|
So, I need to figure out how to determine which objects will :
|
|
* Be rendered
|
|
* Be notified
|
|
* Get batched
|
|
* And initialized
|
|
|
|
The best candidate that I have right now is some sort of "scene" setup. Maybe something like
|
|
|
|
pub struct Scene {
|
|
|
|
drawables_bucket
|
|
notifiable_bucket
|
|
}
|
|
|
|
impl Scene {
|
|
pub fn init() -> Scene {}
|
|
pub fn get_drawable() -> Maybe iterator of drawables?
|
|
pub fn get_notifiable() -
|
|
}
|