#include <bufferbinding.h>
Public Member Functions | |
| virtual bool | init (utility::ErrorState &errorState) override |
| const GPUBufferNumeric * | getBuffer () const |
Public Member Functions inherited from BufferBinding | |
| virtual int | getCount () const |
| virtual size_t | getSize () const |
| virtual size_t | getElementSize () const |
| const GPUBuffer * | getBuffer () const |
Public Member Functions inherited from Resource | |
| Resource () | |
Public Member Functions inherited from Object | |
| Object () | |
| virtual | ~Object () |
| virtual void | onDestroy () |
| Object (Object &)=delete | |
| Object & | operator= (const Object &)=delete |
| Object (Object &&)=delete | |
| Object & | operator= (Object &&)=delete |
Additional Inherited Members | |
Static Public Member Functions inherited from Object | |
| static bool | isIDProperty (rtti::Instance &object, const rtti::Property &property) |
Public Attributes inherited from BufferBinding | |
| std::string | mName |
| Property: 'Name' name of buffer binding uniform in shader. More... | |
Public Attributes inherited from Object | |
| std::string | mID |
| Property: 'mID' unique name of the object. Used as an identifier by the system. More... | |
Protected Attributes inherited from BufferBinding | |
| const GPUBuffer * | mBuffer = nullptr |
Base class of all numeric value typed buffer bindings.
| const GPUBufferNumeric* getBuffer | ( | ) | const |
|
overridevirtual |
Ensures the buffer is set
| errorState | contains the error if the binding can't be initialized |
Reimplemented from BufferBinding.
Reimplemented in TypedBufferBindingNumeric< T >.