VIZ++ Class: OpenGLFragmentShader
|
Source code
/*
* OpenGLFragmentShader.h
* Copyright (c) 2015 Antillia.com TOSHIYUKI ARAI. ALL RIGHTS RESERVED.
*/
// 2016/07/30 Added a new constructor OpenGLVertexShader(const char* filename).
#pragma once
#ifdef GL_VERSION_2_0
#include <viz++/opengl2/OpenGLShader.h>
namespace VIZ {
class OpenGLFragmentShader : public OpenGLShader {
public:
OpenGLFragmentShader()
:OpenGLShader(GL_FRAGMENT_SHADER)
{
}
public:
OpenGLFragmentShader(const char* filename)
:OpenGLShader(GL_FRAGMENT_SHADER, filename)
{
}
};
}
#endif
Last modified: 10 Feb 2017
Copyright (c) 2009-2017 Antillia.com ALL RIGHTS RESERVED.