-/*RenderPass &RenderPass::operator=(const RenderPass &other)
-{
- shprog=other.shprog;
- delete shdata;
- shdata=(other.shdata ? new ProgramData(*other.shdata) : 0);
- material=other.material;
- use_material=other.use_material;
- textures=other.textures;
- use_textures=other.use_textures;
-
- return *this;
-}*/
-