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.
The IFixedTechnique video object interface.
This interface represents a simple fixed-function pipeline GPU program.
Used internally by Graph::FixedProgram.
◆ GetObjectInterface() [1/2]
virtual IObject* Murl::Video::IFixedTechnique::GetObjectInterface |
( |
| ) |
|
|
pure virtual |
◆ GetObjectInterface() [2/2]
virtual const IObject* Murl::Video::IFixedTechnique::GetObjectInterface |
( |
| ) |
const |
|
pure virtual |
◆ GetProgramInterface() [1/2]
virtual IProgram* Murl::Video::IFixedTechnique::GetProgramInterface |
( |
| ) |
|
|
pure virtual |
◆ GetProgramInterface() [2/2]
virtual const IProgram* Murl::Video::IFixedTechnique::GetProgramInterface |
( |
| ) |
const |
|
pure virtual |
◆ 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
-
premultiplied | If 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
-
premultiplied | If 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
-
unit | The texture unit to enable/disable, from 0 to IEnums::NUM_TEXTURE_UNITS. |
enabled | If 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
-
unit | The 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
-
enabled | If 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
-
enabled | If 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
-
enabled | If 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
-
enabled | If 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()
Set the light model used when lighting is enabled.
- Parameters
-
lightModel | The light model. |
- Returns
- true if successful.
◆ GetLightModel()
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