5#ifndef NIRT_I_SHADER_CONSTANT_SET_CALLBACT_HPP_INCLUDED
6#define NIRT_I_SHADER_CONSTANT_SET_CALLBACT_HPP_INCLUDED
8#include <nirtcpp/core/engine/IReferenceCounted.hpp>
14 class IMaterialRendererServices;
Base class of most objects of the Nirtcpp Engine.
Definition IReferenceCounted.hpp:46
Interface providing some methods for changing advanced, internal states of a IVideoDriver.
Definition IMaterialRendererServices.hpp:21
Interface making it possible to set constants for gpu programs every frame.
Definition IShaderConstantSetCallBack.hpp:22
virtual void OnSetMaterial(const SMaterial &material)
Called to let the callBack know the used material (optional method)
Definition IShaderConstantSetCallBack.hpp:44
virtual void OnSetConstants(IMaterialRendererServices *services, s32 userData)=0
Called by the engine when the vertex and/or pixel shader constants for an material renderer should be...
Class for holding parameters for a material renderer.
Definition SMaterial.hpp:304
As of Nirtcpp 1.6, position2d is a synonym for vector2d.
Definition vector3d.hpp:11
signed int s32
32 bit signed variable.
Definition irrTypes.hpp:72