rpcs3/rpcs3/Emu/GS/GL/GLProgram.h
Peter Tissen 8ac226ae69 replace all instances of wxString with std::string in all cases not
directly involved in either the GUI or other wxWidget classes like wxFile
2014-04-01 16:23:03 +02:00

28 lines
No EOL
403 B
C++

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