VIZ++ Class: OpenGLIndexedVertices
|
Source code
/*
* OpenGLIndexedVertices.h
* Copyright (c) 2015 Antillia.com TOSHIYUKI ARAI. ALL RIGHTS RESERVED.
*/
#pragma once
#include <viz++/opengl/OpenGLObject.h>
#include <viz++/opengl/OpenGLGC.h>
namespace VIZ {
class OpenGLIndexedVertices : public OpenGLObject {
public:
OpenGLIndexedVertices()
:OpenGLObject()
{
}
~OpenGLIndexedVertices()
{
}
virtual GLenum getInterleavedArraysFormat() = 0;
virtual GLenum getPrimitiveType() = 0;
virtual GLfloat* getVertices() = 0;
virtual int getVerticesDataSize() = 0;
virtual int getNumberOfVertices() = 0;
virtual GLuint* getIndices() = 0;
virtual int getIndicesDataSize() = 0;
virtual int getNumberOfIndices() = 0;
virtual void draw(OpenGLGC* gc) = 0;
};
}
Last modified: 10 Feb 2017
Copyright (c) 2009-2017 Antillia.com ALL RIGHTS RESERVED.