class ffw::GLElementBuffer
Class List > ffw :: GLElementBuffer
GLBuffer of type GL_ELEMENT_ARRAY_BUFFER. More...
Inherits the following classes: ffw::GLBuffer
Public Functions
Type | Name |
---|---|
GLElementBuffer () = default | |
GLElementBuffer (const GLvoid * data, const GLsizei size, const GLenum type) | |
GLElementBuffer (const GLElementBuffer & other) = delete | |
GLElementBuffer (GLElementBuffer && other) | |
GLElementBuffer & | operator= (const GLElementBuffer & other) = delete |
GLElementBuffer & | operator= (GLElementBuffer && other) |
Detailed Description
Parameters:
- data Specifies a pointer to data that will be copied into the data store for initialization, or NULL if no data is to be copied.
- size Specifies the size in bytes of the buffer object's new data store.
- type Specifies the expected usage pattern of the data store. The symbolic constant must be GL_STREAM_DRAW, GL_STREAM_READ, GL_STREAM_COPY, GL_STATIC_DRAW, GL_STATIC_READ, GL_STATIC_COPY, GL_DYNAMIC_DRAW, GL_DYNAMIC_READ, or GL_DYNAMIC_COPY.
Public Functions Documentation
function GLElementBuffer (1/4)
ffw::GLElementBuffer::GLElementBuffer () = default
function GLElementBuffer (2/4)
ffw::GLElementBuffer::GLElementBuffer (
const GLvoid * data,
const GLsizei size,
const GLenum type
)
function GLElementBuffer (3/4)
ffw::GLElementBuffer::GLElementBuffer (
const GLElementBuffer & other
) = delete
function GLElementBuffer (4/4)
ffw::GLElementBuffer::GLElementBuffer (
GLElementBuffer && other
)
function operator= (1/2)
GLElementBuffer & ffw::GLElementBuffer::operator= (
const GLElementBuffer & other
) = delete
function operator= (2/2)
GLElementBuffer & ffw::GLElementBuffer::operator= (
GLElementBuffer && other
)
The documentation for this class was generated from the following file: include/ffw/graphics/glbuffer.h