mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
28 lines
No EOL
389 B
C++
28 lines
No EOL
389 B
C++
#pragma once
|
|
#include "VertexProgram.h"
|
|
#include "FragmentProgram.h"
|
|
|
|
struct Program
|
|
{
|
|
private:
|
|
struct Location
|
|
{
|
|
int loc;
|
|
wxString name;
|
|
};
|
|
|
|
Array<Location> m_locations;
|
|
|
|
public:
|
|
u32 id;
|
|
|
|
Program();
|
|
|
|
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();
|
|
}; |