public

Inheritance Graph

graph BT
	RenderingStatus
	click RenderingStatus "classRendering_1_1RenderingStatus"

Description

(internal) Used by shaders and the renderingContext to track the state of shader (and openGL) dependent properties.

General

   
   
  RenderingStatus( Shader * _shader)
   
Shader * getShader()
   
bool isInitialized() const
   
void markInitialized()

Camera Matrix

   
   
bool matrixCameraToWorldChanged(const RenderingStatus & actual) const
   
const Geometry::Matrix4x4f & getMatrix_cameraToWorld() const
   
const Geometry::Matrix4x4f & getMatrix_worldToCamera() const
   
void setMatrix_cameraToWorld(const Geometry::Matrix4x4f & eyeToWorld)
   
void updateMatrix_cameraToWorld(const RenderingStatus & actual)

Lights

   
   
const uint8_t MAX_LIGHTS
   
uint8_t getNumEnabledLights() const
Return the number of lights that are currently enabled.
   
const LightParameters & getEnabledLight(uint8_t index) const
Of the lights that are enabled, return the one with the given index.
   
uint8_t enableLight(const LightParameters & light)
Enable the light given by its parameters. Return the number that can be used to disable it.
   
void disableLight(uint8_t lightNumber)
Disable the light with the given number.
   
bool isLightEnabled(uint8_t lightNumber) const
Returntrue, if the light with the given light number is enabled.
   
bool lightsChanged(const RenderingStatus & actual) const
   
void updateLights(const RenderingStatus & actual)
   
void updateLightParameter(uint8_t lightNumber, const LightParameters & light)

Materials

   
   
bool isMaterialEnabled() const
   
const MaterialParameters & getMaterialParameters() const
   
bool materialChanged(const RenderingStatus & actual) const
   
void setMaterial(const MaterialParameters & mat)
   
void updateMaterial(const RenderingStatus & actual)
   
void disableMaterial()

Modelview Matrix

   
   
const Geometry::Matrix4x4f & getMatrix_modelToCamera() const
   
void setMatrix_modelToCamera(const Geometry::Matrix4x4f & matrix)
   
bool matrix_modelToCameraChanged(const RenderingStatus & actual) const
   
void multModelViewMatrix(const Geometry::Matrix4x4f & matrix)
   
void updateModelViewMatrix(const RenderingStatus & actual)

Point

   
   
bool pointParametersChanged(const RenderingStatus & actual) const
   
const PointParameters & getPointParameters() const
   
void setPointParameters(const PointParameters & p)

Projection Matrix

   
   
void setMatrix_cameraToClipping(const Geometry::Matrix4x4f & matrix)
   
const Geometry::Matrix4x4f & getMatrix_cameraToClipping() const
   
void updateMatrix_cameraToClipping(const RenderingStatus & actual)
   
bool matrix_cameraToClipChanged(const RenderingStatus & actual) const

Texture Units

   
   
void setTextureUnitParams(uint8_t unit, TexUnitUsageParameter use, TextureType t)
   
const std::pair< TexUnitUsageParameter , TextureType > & getTextureUnitParams(uint8_t unit) const
   
bool textureUnitsChanged(const RenderingStatus & actual) const
   
void updateTextureUnits(const RenderingStatus & actual)

Documentation

function
Rendering::RenderingStatus::RenderingStatus

public inline explicit
     
     
RenderingStatus( Shader * _shader )

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:38


function
Rendering::RenderingStatus::getShader

public inline
   
   
Shader * getShader( )

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:58


function
Rendering::RenderingStatus::isInitialized

public const inline
   
   
bool isInitialized( ) const

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:59


function
Rendering::RenderingStatus::markInitialized

public inline
   
   
void markInitialized( )

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:60


function
Rendering::RenderingStatus::matrixCameraToWorldChanged

public const inline
     
     
bool matrixCameraToWorldChanged( const RenderingStatus & actual ) const

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:72


function
Rendering::RenderingStatus::getMatrix_cameraToWorld

public const inline
   
   
const Geometry::Matrix4x4f & getMatrix_cameraToWorld( ) const

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:76


function
Rendering::RenderingStatus::getMatrix_worldToCamera

public const inline
   
   
const Geometry::Matrix4x4f & getMatrix_worldToCamera( ) const

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:77


function
Rendering::RenderingStatus::setMatrix_cameraToWorld

public inline
     
     
void setMatrix_cameraToWorld( const Geometry::Matrix4x4f & eyeToWorld )

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:78


function
Rendering::RenderingStatus::updateMatrix_cameraToWorld

public inline
     
     
void updateMatrix_cameraToWorld( const RenderingStatus & actual )

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:83


variable
Rendering::RenderingStatus::MAX_LIGHTS

public static
 
 
const uint8_t MAX_LIGHTS

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:95


function
Rendering::RenderingStatus::getNumEnabledLights

public const inline
   
   
uint8_t getNumEnabledLights( ) const

Return the number of lights that are currently enabled.

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:105


function
Rendering::RenderingStatus::getEnabledLight

public const inline
     
     
const LightParameters & getEnabledLight( uint8_t index ) const

Of the lights that are enabled, return the one with the given index.

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:109


function
Rendering::RenderingStatus::enableLight

public inline
     
     
uint8_t enableLight( const LightParameters & light )

Enable the light given by its parameters. Return the number that can be used to disable it.

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:127


function
Rendering::RenderingStatus::disableLight

public inline
     
     
void disableLight( uint8_t lightNumber )

Disable the light with the given number.

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:139


function
Rendering::RenderingStatus::isLightEnabled

public const inline
     
     
bool isLightEnabled( uint8_t lightNumber ) const

Returntrue, if the light with the given light number is enabled.

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:145


function
Rendering::RenderingStatus::lightsChanged

public const inline
     
     
bool lightsChanged( const RenderingStatus & actual ) const

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:148


function
Rendering::RenderingStatus::updateLights

public inline
     
     
void updateLights( const RenderingStatus & actual )

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:160


function
Rendering::RenderingStatus::updateLightParameter

public inline
     
     
void updateLightParameter( uint8_t lightNumber,
  const LightParameters & light
)    

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:164


function
Rendering::RenderingStatus::isMaterialEnabled

public const inline
   
   
bool isMaterialEnabled( ) const

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:180


function
Rendering::RenderingStatus::getMaterialParameters

public const inline
   
   
const MaterialParameters & getMaterialParameters( ) const

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:181


function
Rendering::RenderingStatus::materialChanged

public const inline
     
     
bool materialChanged( const RenderingStatus & actual ) const

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:182


function
Rendering::RenderingStatus::setMaterial

public inline
     
     
void setMaterial( const MaterialParameters & mat )

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:186


function
Rendering::RenderingStatus::updateMaterial

public inline
     
     
void updateMaterial( const RenderingStatus & actual )

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:191


function
Rendering::RenderingStatus::disableMaterial

public inline
   
   
void disableMaterial( )

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:196


function
Rendering::RenderingStatus::getMatrix_modelToCamera

public const inline
   
   
const Geometry::Matrix4x4f & getMatrix_modelToCamera( ) const

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:211


function
Rendering::RenderingStatus::setMatrix_modelToCamera

public inline
     
     
void setMatrix_modelToCamera( const Geometry::Matrix4x4f & matrix )

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:212


function
Rendering::RenderingStatus::matrix_modelToCameraChanged

public const inline
     
     
bool matrix_modelToCameraChanged( const RenderingStatus & actual ) const

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:216


function
Rendering::RenderingStatus::multModelViewMatrix

public inline
     
     
void multModelViewMatrix( const Geometry::Matrix4x4f & matrix )

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:220


function
Rendering::RenderingStatus::updateModelViewMatrix

public inline
     
     
void updateModelViewMatrix( const RenderingStatus & actual )

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:224


function
Rendering::RenderingStatus::pointParametersChanged

public const inline
     
     
bool pointParametersChanged( const RenderingStatus & actual ) const

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:237


function
Rendering::RenderingStatus::getPointParameters

public const inline
   
   
const PointParameters & getPointParameters( ) const

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:240


function
Rendering::RenderingStatus::setPointParameters

public inline
     
     
void setPointParameters( const PointParameters & p )

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:243


function
Rendering::RenderingStatus::setMatrix_cameraToClipping

public inline
     
     
void setMatrix_cameraToClipping( const Geometry::Matrix4x4f & matrix )

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:257


function
Rendering::RenderingStatus::getMatrix_cameraToClipping

public const inline
   
   
const Geometry::Matrix4x4f & getMatrix_cameraToClipping( ) const

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:261


function
Rendering::RenderingStatus::updateMatrix_cameraToClipping

public inline
     
     
void updateMatrix_cameraToClipping( const RenderingStatus & actual )

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:262


function
Rendering::RenderingStatus::matrix_cameraToClipChanged

public const inline
     
     
bool matrix_cameraToClipChanged( const RenderingStatus & actual ) const

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:266


function
Rendering::RenderingStatus::setTextureUnitParams

public inline
     
     
void setTextureUnitParams( uint8_t unit,
  TexUnitUsageParameter use,
  TextureType t
)    

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:281


function
Rendering::RenderingStatus::getTextureUnitParams

public const inline
     
     
const std::pair< TexUnitUsageParameter , TextureType > & getTextureUnitParams( uint8_t unit ) const

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:285


function
Rendering::RenderingStatus::textureUnitsChanged

public const inline
     
     
bool textureUnitsChanged( const RenderingStatus & actual ) const

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:288


function
Rendering::RenderingStatus::updateTextureUnits

public inline
     
     
void updateTextureUnits( const RenderingStatus & actual )

Defined in Rendering/RenderingContext/internal/RenderingStatus.h:292