The IFloatMatrix2Uniform 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 (const Float *value)=0
 Set the variable value in the owning constant buffer. More...
 

Detailed Description

The IFloatMatrix2Uniform video object interface.

This interface represents a 32bit floating-point 2x2 matrix uniform variable.

Member Function Documentation

◆ GetUniformInterface() [1/2]

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

Get the mutable IUniform interface.

Returns
The mutable IUniform interface.

◆ GetUniformInterface() [2/2]

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

Get the constant IUniform interface.

Returns
The constant IUniform interface.

◆ GetData() [1/4]

virtual Float* Murl::Video::IFloatMatrix2Uniform::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::IFloatMatrix2Uniform::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::IFloatMatrix2Uniform::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::IFloatMatrix2Uniform::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::IFloatMatrix2Uniform::SetValue ( const Float value)
pure virtual

Set the variable value in the owning constant buffer.

Parameters
valueA pointer to an array of 4 component values (2x2).

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


Copyright © 2011-2024 Spraylight GmbH.