17bool EZRShaderDefaultImplementation::isSupported(
Renderer* renderer) {
39 "shader/" + shaderVersion +
"/earlyzrejection",
45 "shader/" + shaderVersion +
"/earlyzrejection",
Early z rejection shader base class.
virtual void initialize() override
Init EZR render shader program implementation.
Early z rejection default shader class.
virtual void initialize() override
Init EZR render shader program implementation.
EZRShaderDefaultImplementation(Renderer *renderer)
Constructor.
virtual const string getId() override
~EZRShaderDefaultImplementation()
Destructor.
virtual void updateShaderParameters(Renderer *renderer, int contextIdx) override
Update shader parameters.
virtual int32_t loadShader(int32_t type, const string &pathName, const string &fileName, const string &definitions=string(), const string &functions=string())=0
Loads a shader.
int32_t SHADER_FRAGMENT_SHADER
int32_t SHADER_VERTEX_SHADER
virtual int32_t createProgram(int type)=0
Creates a shader program.
virtual void attachShaderToProgram(int32_t programId, int32_t shaderId)=0
Attaches a shader to a program.
virtual const string getShaderVersion()=0
File system singleton class.