summaryrefslogtreecommitdiff
path: root/Runtime/GfxDevice/opengl/ArbGpuProgamGL.h
blob: 404c3e7e142694dca89228f95d064094aa828e1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include "Runtime/GfxDevice/GpuProgram.h"

class ArbGpuProgram : public GpuProgramGL {
public:
	ArbGpuProgram( const std::string& source, ShaderType type, ShaderImplType implType );
	virtual ~ArbGpuProgram();
	
	virtual void ApplyGpuProgram (const GpuProgramParameters& params, const UInt8* buffer);

	GLShaderID GetGLProgram(FogMode fog);
	
private:
	bool Create( const std::string& source, ShaderType type );	

private:
	bool		m_FogFailed[kFogModeCount];
};