#include <resource.h>
◆ Configuration
◆ create() [1/3]
◆ create() [2/3]
bool nngn::GLBuffer::create |
( |
GLenum | target, |
|
|
std::span< const std::byte > | data, |
|
|
GLenum | usage ) |
◆ create() [3/3]
bool nngn::GLBuffer::create |
( |
GLenum | target, |
|
|
u64 | size, |
|
|
GLenum | usage ) |
◆ destroy()
bool nngn::GLBuffer::destroy |
( |
| ) |
|
◆ set_capacity()
bool nngn::GLBuffer::set_capacity |
( |
u64 | n | ) |
|
◆ capacity
GLsizeiptr nngn::GLBuffer::capacity = 0 |
◆ size
GLsizeiptr nngn::GLBuffer::size = 0 |
◆ target
GLenum nngn::GLBuffer::target = {} |
◆ usage
GLenum nngn::GLBuffer::usage = {} |
The documentation for this struct was generated from the following files: