hadronized / quaazar

Realtime 3D engine
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

Type duplication #80

Closed hadronized closed 9 years ago

hadronized commented 9 years ago

We have a lot of duplicated types, like GL.Texture vs GPUTexture, GL.Program vs GPUProgram. We need to sort that out.

hadronized commented 9 years ago

We need to fix the uses of all this shit.

First of all, what is Core? Does it make any sense to use core to represent bare concepts, without render purpose? I guess so. Does a core texture have a sense? I don’t think so.

A texture is a render object only. Just like shaders. We don’t have shaders in Core.

The first thing is to merge Texture with Render.Texture. But then, the GL objects and the Render ones are pretty the same…