Improved GS Renderer.

This commit is contained in:
DH 2013-11-09 23:29:49 +02:00
parent 6ea2c7d6a8
commit 521244b0e0
28 changed files with 2568 additions and 2702 deletions

View file

@ -0,0 +1,28 @@
#pragma once
#include "GLVertexProgram.h"
#include "GLFragmentProgram.h"
struct GLProgram
{
private:
struct Location
{
int loc;
wxString name;
};
Array<Location> m_locations;
public:
u32 id;
GLProgram();
int GetLocation(const wxString& name);
bool IsCreated() const;
void Create(const u32 vp, const u32 fp);
void Use();
void UnUse();
void SetTex(u32 index);
void Delete();
};