VIZ++ Class: OpenGLVertexShader

 VIZ++ Class Library  VIZ++ Samples  VIZ++ ClassTree 

Source code

/*
 * OpenGLVertexShader.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 OpenGLVertexShader : public OpenGLShader {
public:
  OpenGLVertexShader()
  :OpenGLShader(GL_VERTEX_SHADER)
  {
  }
  
public:
  OpenGLVertexShader(const char* filename)
  :OpenGLShader(GL_VERTEX_SHADER, filename)
  {
  }

};

}

#endif

Last modified: 10 Feb 2017

Copyright (c) 2009-2017 Antillia.com ALL RIGHTS RESERVED.