class ffw::GLVertexBuffer
Class List > ffw :: GLVertexBuffer
GLBuffer of type GL_ARRAY_BUFFER. More...
Inherits the following classes: ffw::GLBuffer
Public Functions
Type | Name |
---|---|
GLVertexBuffer () = default | |
GLVertexBuffer (const GLvoid * data, const GLsizei size, const GLenum type) | |
GLVertexBuffer (const GLVertexBuffer & other) = delete | |
GLVertexBuffer (GLVertexBuffer && other) | |
GLVertexBuffer & | operator= (const GLVertexBuffer & other) = delete |
GLVertexBuffer & | operator= (GLVertexBuffer && 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 GLVertexBuffer (1/4)
ffw::GLVertexBuffer::GLVertexBuffer () = default
function GLVertexBuffer (2/4)
ffw::GLVertexBuffer::GLVertexBuffer (
const GLvoid * data,
const GLsizei size,
const GLenum type
)
function GLVertexBuffer (3/4)
ffw::GLVertexBuffer::GLVertexBuffer (
const GLVertexBuffer & other
) = delete
function GLVertexBuffer (4/4)
ffw::GLVertexBuffer::GLVertexBuffer (
GLVertexBuffer && other
)
function operator= (1/2)
GLVertexBuffer & ffw::GLVertexBuffer::operator= (
const GLVertexBuffer & other
) = delete
function operator= (2/2)
GLVertexBuffer & ffw::GLVertexBuffer::operator= (
GLVertexBuffer && other
)
The documentation for this class was generated from the following file: include/ffw/graphics/glbuffer.h