The IFloatUniform interface. More...

#include "murl_graph_i_uniform.h"

Public Member Functions

virtual IUniformGetUniformInterface ()=0
 Get the uniform object's mutable base interface to access common properties. More...
 
virtual const IUniformGetUniformInterface () const =0
 Get the uniform object's constant base interface to access common properties. More...
 
virtual void SetValue (Float value)=0
 Set the uniform object's value. More...
 
virtual Float GetValue () const =0
 Get the uniform object's current value. More...
 
virtual FloatGetValue ()=0
 Get a mutable pointer to the uniform object's current value. More...
 

Detailed Description

The IFloatUniform interface.

This interface represents a specialized shader uniform object representing a scalar 32bit floating point value.

Member Function Documentation

◆ GetUniformInterface() [1/2]

virtual IUniform* Murl::Graph::IFloatUniform::GetUniformInterface ( )
pure virtual

Get the uniform object's mutable base interface to access common properties.

Returns
The mutable base interface.

◆ GetUniformInterface() [2/2]

virtual const IUniform* Murl::Graph::IFloatUniform::GetUniformInterface ( ) const
pure virtual

Get the uniform object's constant base interface to access common properties.

Returns
The constant base interface.

◆ SetValue()

virtual void Murl::Graph::IFloatUniform::SetValue ( Float  value)
pure virtual

Set the uniform object's value.

Parameters
valueThe scalar value to set.

◆ GetValue() [1/2]

virtual Float Murl::Graph::IFloatUniform::GetValue ( ) const
pure virtual

Get the uniform object's current value.

Returns
The current scalar value.

◆ GetValue() [2/2]

virtual Float* Murl::Graph::IFloatUniform::GetValue ( )
pure virtual

Get a mutable pointer to the uniform object's current value.

Returns
The current scalar value.

The documentation for this interface was generated from the following file:
  • murl_graph_i_uniform.h


Copyright © 2011-2018 Spraylight GmbH.