Murl::Video::IFixedTechnique Interface Referenceabstract

The IFixedTechnique video object interface. More...

#include "murl_video_i_fixed_technique.h"

Inherited by Murl::Video::Dummy::FixedProgram, Murl::Video::Dx111::FixedProgram, Murl::Video::Dx90::FixedProgram, Murl::Video::GlEs11::FixedProgram, and Murl::Video::GlEs20::FixedProgram.

Public Member Functions

virtual IObjectGetObjectInterface ()=0
 Get the mutable Video::IObject interface. More...
 
virtual const IObjectGetObjectInterface () const =0
 Get the constant Video::IObject interface. More...
 
virtual Bool SetTextureEnabled (UInt32 unit, Bool enabled)=0
 Enable/disable texturing for a given texture unit. More...
 
virtual Bool IsTextureEnabled (UInt32 unit) const =0
 Check if texturing for a given texture unit. More...
 
virtual Bool SetColoringEnabled (Bool enabled)=0
 Enable/disable the use of color parameters. More...
 
virtual Bool IsColoringEnabled () const =0
 Check if coloring is enabled. More...
 
virtual Bool SetVertexColoringEnabled (Bool enabled)=0
 Enable/disable the use of per-vertex colors. More...
 
virtual Bool IsVertexColoringEnabled () const =0
 Check if per-vertex colors are enabled. More...
 
virtual Bool SetLightingEnabled (Bool enabled)=0
 Enable/disable lighting calculations. More...
 
virtual Bool IsLightingEnabled () const =0
 Check if lighting calculations are enabled. More...
 
virtual Bool SetLightModel (IEnums::LightModel lightModel)=0
 Set the light model used when lighting is enabled. More...
 
virtual IEnums::LightModel GetLightModel () const =0
 Get the light model used when lighting is enabled. More...
 

Detailed Description

The IFixedTechnique video object interface.

This interface represents a simple fixed-function pipeline GPU program.

Used internally by Graph::FixedProgram.

Member Function Documentation

◆ GetObjectInterface() [1/2]

virtual IObject* Murl::Video::IFixedTechnique::GetObjectInterface ( )
pure virtual

Get the mutable Video::IObject interface.

Returns
The IObject interface.

◆ GetObjectInterface() [2/2]

virtual const IObject* Murl::Video::IFixedTechnique::GetObjectInterface ( ) const
pure virtual

Get the constant Video::IObject interface.

Returns
The IObject interface.

◆ SetTextureEnabled()

virtual Bool Murl::Video::IFixedTechnique::SetTextureEnabled ( UInt32  unit,
Bool  enabled 
)
pure virtual

Enable/disable texturing for a given texture unit.

Parameters
unitThe texture unit to enable/disable, from 0 to IEnums::NUM_TEXTURE_UNITS.
enabledIf true, texturing is enabled for the given unit.
Returns
true if successful.

◆ IsTextureEnabled()

virtual Bool Murl::Video::IFixedTechnique::IsTextureEnabled ( UInt32  unit) const
pure virtual

Check if texturing for a given texture unit.

Parameters
unitThe texture unit to query, from 0 to IEnums::NUM_TEXTURE_UNITS.
Returns
true if texturing is enabled for the given unit.

◆ SetColoringEnabled()

virtual Bool Murl::Video::IFixedTechnique::SetColoringEnabled ( Bool  enabled)
pure virtual

Enable/disable the use of color parameters.

Parameters
enabledIf true, coloring is enabled.
Returns
true if successful.

◆ IsColoringEnabled()

virtual Bool Murl::Video::IFixedTechnique::IsColoringEnabled ( ) const
pure virtual

Check if coloring is enabled.

Returns
true if coloring is enabled.

◆ SetVertexColoringEnabled()

virtual Bool Murl::Video::IFixedTechnique::SetVertexColoringEnabled ( Bool  enabled)
pure virtual

Enable/disable the use of per-vertex colors.

Parameters
enabledIf true, vertex coloring is enabled.
Returns
true if successful.

◆ IsVertexColoringEnabled()

virtual Bool Murl::Video::IFixedTechnique::IsVertexColoringEnabled ( ) const
pure virtual

Check if per-vertex colors are enabled.

Returns
true if vertex coloring is enabled.

◆ SetLightingEnabled()

virtual Bool Murl::Video::IFixedTechnique::SetLightingEnabled ( Bool  enabled)
pure virtual

Enable/disable lighting calculations.

Parameters
enabledIf true, lighting calculations are enabled.
Returns
true if successful.

◆ IsLightingEnabled()

virtual Bool Murl::Video::IFixedTechnique::IsLightingEnabled ( ) const
pure virtual

Check if lighting calculations are enabled.

Returns
true if lighting calculations are enabled.

◆ SetLightModel()

virtual Bool Murl::Video::IFixedTechnique::SetLightModel ( IEnums::LightModel  lightModel)
pure virtual

Set the light model used when lighting is enabled.

Parameters
lightModelThe light model.
Returns
true if successful.

◆ GetLightModel()

virtual IEnums::LightModel Murl::Video::IFixedTechnique::GetLightModel ( ) const
pure virtual

Get the light model used when lighting is enabled.

Returns
The light model.

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


Copyright © 2011-2018 Spraylight GmbH.