mirror of
https://github.com/guezoloic/LearnOpenGL.git
synced 2026-01-25 12:34:15 +00:00
chore: lower case all files
This commit is contained in:
27
inc/vao.hpp
Executable file
27
inc/vao.hpp
Executable file
@@ -0,0 +1,27 @@
|
||||
#ifndef VAO_HPP
|
||||
#define VAO_HPP
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include "glad/glad.h"
|
||||
|
||||
class VAO
|
||||
{
|
||||
private:
|
||||
unsigned int id;
|
||||
|
||||
public:
|
||||
VAO();
|
||||
~VAO();
|
||||
|
||||
void bind();
|
||||
void unbind();
|
||||
|
||||
void setAttributePointer(GLuint index, GLuint size, GLenum type,
|
||||
GLsizei stride, const void* offset);
|
||||
void drawElement(GLenum mode, GLsizei count, GLenum type,
|
||||
const void* indices);
|
||||
void drawArray(GLenum mode, GLint first, GLsizei count);
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user