Create empty texture idea, change function scopes

Some functions which should not be exposed in the API have been switched
to INTERNAL scope. We have a notion of an empty texture in World Traveller
that we can pass in situations where we just want to render a solid
colour with no associated texture.

The alternative to this was creating a separate shader for rendering
primitives but would require at some point to expose the AssetManager to
the renderer or the user on behalf has to manually switch shaders before
rendering (non-intuitive).
This commit is contained in:
doylet committed 2016-07-16 17:15:03 +10:00
1 parent 86b4d1e206
commit d0b4c99787
13 files changed
+198 -164

No files matched your search

Binary file not shown.