The Vish Visualization Shell 0.3
Vish
Public Member Functions | List of all members
Wizt::GLMapMemory Class Reference
Inheritance diagram for Wizt::GLMapMemory:
Wizt::RenderBasin::MapMemory Wizt::BufferID Wizt::GLUniformBuffer

Public Member Functions

void setSubData (size_t offset, const void *data, size_t length) const override
 Set a subset of the data, which is more efficient than setData();.
 
- Public Member Functions inherited from Wizt::RenderBasin::MapMemory
void setData (size_t length, const RenderBasin::Buffer::StorageFlags &SF) const
 Reserve data only.
 

Additional Inherited Members

- Protected Types inherited from Wizt::BufferID
enum  type
 Possible types of buffer ID's. More...
 
- Protected Member Functions inherited from Wizt::BufferID
bool bindBuffer () const
 const version of bind(), does not create a buffer ID.
 
bool bindBufferWithPossibleCreation ()
 Non-const version of bind().
 
 BufferID (const type bufferType) noexcept
 The constructor does not yet create openGL buffers yet.
 
GLuint createId () noexcept
 If no valid ID yet, call glCreateBuffers().
 
GLuint getId () const noexcept
 Get an Id without attempting to generate it.
 
bool isbound () const throw ()
 Verification function: buffer is bound?
 
bool isIndexBuffer () const
 Check whether this is an index buffer.
 
bool isVertexArray () const
 Check whether this is a vertex array.
 
GLuint makeId ()
 On first access, OpenGL buffers will be generated. This function must be called from within a valid OpenGL context.
 
GLuint operator() ()
 On first access, OpenGL buffers will be generated. This function must be called from within a valid OpenGL context.
 
 ~BufferID () noexcept
 Deletion of created OpenGL buffers. Note that this might be problematic here if called outside a valid OpenGL context.
 
- Protected Attributes inherited from Wizt::BufferID
const type target
 The target type of this buffer ID.