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


Looks like it could possibly be specs...

Sprites currently are just a container for the meta-information needed in order to return a VertexTypeContainer. 

{{{code: lang="rust" linenumbers="True"
pub enum VertexTypeContainer {
    TextureType(Vec<TextureVertex3D>, Arc<CanvasTextureHandle>),
    ImageType(Vec<ImageVertex3D>, Arc<CanvasImageHandle>),
    ColorType(Vec<ColorVertex3D>),
    ThreeDType(Vec<Vertex3D>),
    TextType(Vec<ColorVertex3D>),
}
}}}


So for a sprite, which is a generic texture and position/size combo
Images are similar, but instead of a "sprite" I made a computsprite because that's the only thing that uses them.

Now if I had to shove these into a component / a set of components... I could have a component of the vertex type even?
