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::GlEs::FixedProgram, and Murl::Video::Vulkan::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 IProgramGetProgramInterface ()=0
 Get the mutable Video::IObject interface. More...
 
virtual const IProgramGetProgramInterface () const =0
 Get the constant Video::IObject interface. More...
 
virtual Bool SetInputPremultiplied (Bool premultiplied)=0
 Define if the input color is supposed to be used in a premultiplied way. More...
 
virtual Bool IsInputPremultiplied () const =0
 Check if the input color is supposed to be used in a premultiplied way. More...
 
virtual Bool SetOutputPremultiplied (Bool premultiplied)=0
 Define if the output color is supposed to be used in a premultiplied way. More...
 
virtual Bool IsOutputPremultiplied () const =0
 Check if the output color is supposed to be used in a premultiplied way. 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 SetEmissiveTintingEnabled (Bool enabled)=0
 Enable/disable emissive tinting. More...
 
virtual Bool IsEmissiveTintingEnabled () const =0
 Check if emissive tinting is 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.

◆ GetProgramInterface() [1/2]

virtual IProgram* Murl::Video::IFixedTechnique::GetProgramInterface ( )
pure virtual

Get the mutable Video::IObject interface.

Returns
The IObject interface.

◆ GetProgramInterface() [2/2]

virtual const IProgram* Murl::Video::IFixedTechnique::GetProgramInterface ( ) const
pure virtual

Get the constant Video::IObject interface.

Returns
The IObject interface.

◆ SetInputPremultiplied()

virtual Bool Murl::Video::IFixedTechnique::SetInputPremultiplied ( Bool  premultiplied)
pure virtual

Define if the input color is supposed to be used in a premultiplied way.

Parameters
premultipliedIf true, the input RGB components are multiplied by their alpha component.
Returns
true if successful.

◆ IsInputPremultiplied()

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

Check if the input color is supposed to be used in a premultiplied way.

Returns
true if premultiplied.

◆ SetOutputPremultiplied()

virtual Bool Murl::Video::IFixedTechnique::SetOutputPremultiplied ( Bool  premultiplied)
pure virtual

Define if the output color is supposed to be used in a premultiplied way.

Parameters
premultipliedIf true, the output RGB components are multiplied by the alpha component of the vertex color.
Returns
true if successful.

◆ IsOutputPremultiplied()

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

Check if the output color is supposed to be used in a premultiplied way.

Returns
true if premultiplied.

◆ 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.

◆ SetEmissiveTintingEnabled()

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

Enable/disable emissive tinting.

Parameters
enabledIf true, emissive tinting is enabled.
Returns
true if successful.

◆ IsEmissiveTintingEnabled()

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

Check if emissive tinting is enabled.

Returns
true if emissive tinting is 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-2024 Spraylight GmbH.