Added Texture backgrounds

Former-commit-id: 8aa98a9b8bee5fbf1b5eefa958a7b9095b784cf5
This commit is contained in:
Lynix
2013-03-22 11:15:17 +01:00
parent aecc5919d3
commit ea2cc97169
4 changed files with 234 additions and 8 deletions

View File

@@ -40,6 +40,7 @@ class NAZARA_API NzRenderer
static void DrawIndexedPrimitivesInstanced(unsigned int instanceCount, nzPrimitiveType primitive, unsigned int firstIndex, unsigned int indexCount);
static void DrawPrimitives(nzPrimitiveType primitive, unsigned int firstVertex, unsigned int vertexCount);
static void DrawPrimitivesInstanced(unsigned int instanceCount, nzPrimitiveType primitive, unsigned int firstVertex, unsigned int vertexCount);
NAZARA_DEPRECATED("Don't use this or you will have cancer") static void DrawTexture(unsigned int unit, const NzRectf& rect, const NzVector2f& uv0, const NzVector2f& uv1, float z = 0.f);
static void Enable(nzRendererParameter parameter, bool enable);