31 lines
1.1 KiB
C++
31 lines
1.1 KiB
C++
/***********************************************************************************************************************
|
|
*
|
|
* Copyright (c) 2010 - 2025 by Tech Soft 3D, Inc.
|
|
* The information contained herein is confidential and proprietary to Tech Soft 3D, Inc., and considered a trade secret
|
|
* as defined under civil and criminal statutes. Tech Soft 3D shall pursue its civil and criminal remedies in the event
|
|
* of unauthorized use or misappropriation of its trade secrets. Use of this information by anyone other than authorized
|
|
* employees of Tech Soft 3D, Inc. is granted only under a written non-disclosure agreement, expressly prescribing the
|
|
* scope and manner of such use.
|
|
*
|
|
***********************************************************************************************************************/
|
|
|
|
#ifndef VAO_H
|
|
#define VAO_H
|
|
|
|
#include <glad/glad.h>
|
|
|
|
#include "vbo.h"
|
|
|
|
class VAO
|
|
{
|
|
public:
|
|
GLuint id;
|
|
VAO();
|
|
|
|
void LinkAttrib(VBO& vbo, GLuint layout, GLuint numComponents, GLenum type, GLsizei stride, void* offset);
|
|
void Bind();
|
|
void Unbind();
|
|
void Delete();
|
|
};
|
|
#endif // VAO_H
|