#include <bufferbinding.h>
Public Member Functions | |
virtual bool | init (utility::ErrorState &errorState) |
![]() | |
const GPUBufferNumeric * | getBuffer () const |
![]() | |
virtual int | getCount () const |
virtual size_t | getSize () const |
const GPUBuffer * | getBuffer () const |
![]() | |
Resource () | |
![]() | |
Object () | |
virtual | ~Object () |
virtual void | onDestroy () |
Object (Object &)=delete | |
Object & | operator= (const Object &)=delete |
Object (Object &&)=delete | |
Object & | operator= (Object &&)=delete |
Public Attributes | |
rtti::ObjectPtr< TypedGPUBufferNumeric< T > > | mBuffer = nullptr |
![]() | |
std::string | mName |
Property: 'Name' name of buffer binding uniform in shader. More... | |
![]() | |
std::string | mID |
Property: 'mID' unique name of the object. Used as an identifier by the system. More... | |
Additional Inherited Members | |
![]() | |
static bool | isIDProperty (rtti::Instance &object, const rtti::Property &property) |
![]() | |
const GPUBuffer * | mBuffer = nullptr |
Specific numeric value type of buffer binding, for example: VertexBufferFloat
binds to BufferBindingFloat
.
|
virtual |
Ensures the buffer is set
errorState | contains the error if the binding can't be initialized |
Reimplemented from BufferBindingNumeric.
rtti::ObjectPtr<TypedGPUBufferNumeric<T> > mBuffer = nullptr |