76 struct GLDevicePrivate;
103 void SetUseVbo(
bool useVbo);
109 virtual void Clear();
131 virtual void SetTexture(
int index,
unsigned int textureId);
195 void UpdateModelviewMatrix();
197 void UpdateLightPosition(
int index);
199 void UpdateTextureParams(
int index);
220 std::vector<Light> m_lights;
222 std::vector<bool> m_lightsEnabled;
225 std::vector<Texture> m_currentTextures;
227 std::vector<bool> m_texturesEnabled;
229 std::vector<TextureStageParams> m_textureStageParams;
232 std::set<Texture> m_allTextures;
246 unsigned int bufferId;
247 VertexType vertexType;
252 bool m_multitextureAvailable;
256 std::map<unsigned int, VboObjectInfo> m_vboObjects;
258 unsigned int m_lastVboId;