Public Member Functions | List of all members
UniformLeafInstance Class Referenceabstract

#include <uniforminstance.h>

Public Member Functions

virtual void push (uint8 *uniformBuffer) const =0
- Public Member Functions inherited from UniformInstance
virtual ~UniformInstance ()=default
virtual const ShaderVariableDeclarationgetDeclaration () const =0


Base class of all concrete uniform instances and uniform instance array types, including value and value array types. Every leaf can push data on to the GPU.

Inheritance diagram for UniformLeafInstance:
Collaboration diagram for UniformLeafInstance:

Member Function Documentation

◆ push()

virtual void push ( uint8 uniformBuffer) const
pure virtual

Needs to be implemented in derived classes, pushes buffer to the GPU.

Implemented in TypedUniformValueInstance< T >, and TypedUniformValueArrayInstance< T >.