The IFloatUniform video object interface. More...

#include "murl_video_i_uniform.h"

Public Member Functions

virtual IUniformGetUniformInterface ()=0
 Get the mutable IUniform interface. More...
 
virtual const IUniformGetUniformInterface () const =0
 Get the constant IUniform interface. More...
 
virtual FloatGetData (void *base)=0
 Get a mutable pointer to the raw data within a given constant buffer. More...
 
virtual const FloatGetData (const void *base) const =0
 Get a constant pointer to the raw data within a given constant buffer. More...
 
virtual FloatGetData ()=0
 Get a mutable pointer to the raw data within the owning constant buffer. More...
 
virtual const FloatGetData () const =0
 Get a constant pointer to the raw data within the owning constant buffer. More...
 
virtual void SetValue (Float value)=0
 Set the variable value in the owning constant buffer. More...
 

Detailed Description

The IFloatUniform video object interface.

This interface represents a scalar 32bit floating-point uniform variable.

Member Function Documentation

◆ GetUniformInterface() [1/2]

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

Get the mutable IUniform interface.

Returns
The mutable IUniform interface.

◆ GetUniformInterface() [2/2]

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

Get the constant IUniform interface.

Returns
The constant IUniform interface.

◆ GetData() [1/4]

virtual Float* Murl::Video::IFloatUniform::GetData ( void *  base)
pure virtual

Get a mutable pointer to the raw data within a given constant buffer.

Parameters
baseThe base pointer to the constant buffer data.
Returns
A pointer to the raw data.

◆ GetData() [2/4]

virtual const Float* Murl::Video::IFloatUniform::GetData ( const void *  base) const
pure virtual

Get a constant pointer to the raw data within a given constant buffer.

Parameters
baseThe base pointer to the constant buffer data.
Returns
A pointer to the raw data.

◆ GetData() [3/4]

virtual Float* Murl::Video::IFloatUniform::GetData ( )
pure virtual

Get a mutable pointer to the raw data within the owning constant buffer.

Returns
A pointer to the raw data.

◆ GetData() [4/4]

virtual const Float* Murl::Video::IFloatUniform::GetData ( ) const
pure virtual

Get a constant pointer to the raw data within the owning constant buffer.

Returns
A pointer to the raw data.

◆ SetValue()

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

Set the variable value in the owning constant buffer.

Parameters
valueThe scalar variable value.

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


Copyright © 2011-2024 Spraylight GmbH.