[Plib-devel] proposal for PLIB 1.3 ssg load hints
Brought to you by:
sjbaker
From: Dave M. <Dav...@dy...> - 2000-04-05 16:41:33
|
Currently, when you load something in SSG there is no way to control what gets loaded. Usually, that is ok, but if you want a small memory footprint and don't have an easy way to cleanup the models, I propose adding load hint flags: enum ssgLoadHintFlags { SSG_LOAD_TEXTURES = (1<<0), // texture images and coordinates SSG_LOAD_VNORMALS = (1<<1), // vertex normals SSG_LOAD_VCOLOURS = (1<<2), // vertex colours SSG_LOAD_ANIMATION = (1<<3), // transform and mesh animation SSG_LOAD_EVERYTHING = ((1<<15)-1), SSG_LOAD_NOTHING = 0, } ; void ssgLoadHint ( int hint_flags ) ; Of course, this won't happen until PLIB 1.3 but i just wanted to throw the idea out for comment. -- Dave McClurg mailto:dav...@dy... http://www.dynamix.com mailto:da...@po... (home) http://www.pond.net/~davem |