LLGL 0.05 Beta
Loading...
Searching...
No Matches
LLGL::BufferArray Class Reference

Hardware buffer container interface. More...

#include <BufferArray.h>

Inheritance diagram for LLGL::BufferArray:
LLGL::RenderSystemChild LLGL::Interface LLGL::NonCopyable

Public Member Functions

long GetBindFlags () const
 Returns a bitwise OR combination of the binding flags of all sub-buffers.
Public Member Functions inherited from LLGL::RenderSystemChild
virtual void SetDebugName (const char *name)
 Sets the name of this class instance for debugging purposes.
Public Member Functions inherited from LLGL::Interface
virtual bool IsInstanceOf (int id) const
 Returns true if this object is an instance of the specified interface.
Public Member Functions inherited from LLGL::NonCopyable
 NonCopyable (const NonCopyable &)=delete
NonCopyable & operator= (const NonCopyable &)=delete
virtual ~NonCopyable ()=default

Protected Member Functions

 BufferArray (long bindFlags)
Protected Member Functions inherited from LLGL::NonCopyable
 NonCopyable ()=default

Detailed Description

Hardware buffer container interface.

Remarks
This array can only contain buffers which are all from the same type, like an array of vertex buffers for instance.
See also
RenderSystem::CreateBufferArray

Constructor & Destructor Documentation

◆ BufferArray()

LLGL::BufferArray::BufferArray ( long bindFlags)
protected

Member Function Documentation

◆ GetBindFlags()

long LLGL::BufferArray::GetBindFlags ( ) const
inline

Returns a bitwise OR combination of the binding flags of all sub-buffers.

See also
BufferDescriptor::bindFlags

The documentation for this class was generated from the following file: