Radium Engine
1.5.0
|
#include <Engine/Data/RenderParameters.hpp>
Public Member Functions | |
virtual RenderParameters & | getParameters () |
virtual const RenderParameters & | getParameters () const |
virtual void | updateGL ()=0 |
Update the OpenGL states used by the ShaderParameterProvider. These state could be the ones from an associated material (textures, precomputed tables or whatever data associated to the material) or some parameters that are specific to the provider semantic. | |
virtual void | updateFromParameters () |
Update the attributes of the ShaderParameterProvider to their actual values stored in the renderParameters. | |
virtual std::list< std::string > | getPropertyList () const |
Get the list of properties the provider might use in a shader. Each property will be added to the shader used for rendering under the form "#define theProperty" when the provider is associated with the render technique. More... | |
Shader program parameter provider. a ShaderParameterProvider is an object that is associated to a render technique to provide the uniform parameter set for the program. When an RenderObject is drawn using a given rendertechnique, the ShaderParameterProvider associated to the renderTechnique is responsible to set all the uniforms needed by the rendertechnique.
Definition at line 368 of file RenderParameters.hpp.
|
inlinevirtual |
Get the list of properties the provider might use in a shader. Each property will be added to the shader used for rendering under the form "#define theProperty" when the provider is associated with the render technique.
The default implementation returns an empty list.
Reimplemented in Ra::Engine::Data::Material.
Definition at line 397 of file RenderParameters.hpp.