public

Inheritance Graph

graph BT
	RenderingContext
	click RenderingContext "classRendering_1_1RenderingContext"

Description

General

   
   
typedef std::function< void( RenderingContext &rc, Mesh *mesh, uint32_t firstElement, uint32_t elementCount)> DisplayMeshFn
has to return true iff normal display of mesh shall be executed
   
  RenderingContext()
   
  ~RenderingContext()
   
void setDisplayMeshFn( DisplayMeshFn fn)
   
void resetDisplayMeshFn()
   
void displayMesh( Mesh * mesh, uint32_t firstElement, uint32_t elementCount)
   
void displayMesh( Mesh * mesh)
   
void setImmediateMode(const bool enabled)
   
bool getImmediateMode() const
   
void applyChanges(bool forced)
   
bool getCompabilityMode()

GL Helper

   
   
void clearScreenRect(const Geometry::Rect_i & rect, const Util::Color4f & color, bool clearDepth)
   
void barrier(uint32_t flags)
   
void clearScreen(const Util::Color4f & color)
   
void initGLState()
   
bool useAMDAttrBugWorkaround()
   
void flush()
   
void finish()

AlphaTest

   
   
const AlphaTestParameters & getAlphaTestParameters() const
   
void popAlphaTest()
   
void pushAlphaTest()
   
void pushAndSetAlphaTest(const AlphaTestParameters & alphaTestParameter)
   
void setAlphaTest(const AlphaTestParameters & alphaTestParameter)

Atomic counters (extension ARB_shader_atomic_counters)

   
   
Texture * getAtomicCounterTextureBuffer(uint32_t index) const
   
void pushAtomicCounterTextureBuffer(uint32_t index)
   
void pushAndSetAtomicCounterTextureBuffer(uint32_t index, Texture * bufferDataTexture)
   
void popAtomicCounterTextureBuffer(uint32_t pushAtomicCounterTexture)
   
void setAtomicCounterTextureBuffer(uint32_t pushAtomicCounterTexture, Texture * bufferDataTexture)
   
bool isAtomicCountersSupported()
   
uint32_t getMaxAtomicCounterBuffers()
   
uint32_t getMaxAtomicCounterBufferSize()

Blending

   
   
const BlendingParameters & getBlendingParameters() const
   
void popBlending()
   
void pushBlending()
   
void pushAndSetBlending(const BlendingParameters & blendingParameter)
   
void setBlending(const BlendingParameters & blendingParameter)

Scissor

   
   
const ClipPlaneParameters & getClipPlane(uint8_t index) const
   
void popClipPlane(uint8_t index)
   
void pushClipPlane(uint8_t index)
   
void pushAndSetClipPlane(uint8_t index, const ClipPlaneParameters & planeParameters)
   
void setClipPlane(uint8_t index, const ClipPlaneParameters & planeParameters)
   
const ScissorParameters & getScissor() const
   
void popScissor()
   
void pushScissor()
   
void pushAndSetScissor(const ScissorParameters & scissorParameters)
   
void setScissor(const ScissorParameters & scissorParameters)

ColorBuffer

   
   
const ColorBufferParameters & getColorBufferParameters() const
   
void popColorBuffer()
   
void pushColorBuffer()
   
void pushAndSetColorBuffer(const ColorBufferParameters & colorBufferParameter)
   
void setColorBuffer(const ColorBufferParameters & colorBufferParameter)
   
void clearColor(const Util::Color4f & clearValue)

CullFace

   
   
const CullFaceParameters & getCullFaceParameters() const
   
void popCullFace()
   
void pushCullFace()
   
void pushAndSetCullFace(const CullFaceParameters & cullFaceParameters)
   
void setCullFace(const CullFaceParameters & cullFaceParameters)

DepthBuffer

   
   
const DepthBufferParameters & getDepthBufferParameters() const
   
void popDepthBuffer()
   
void pushDepthBuffer()
   
void pushAndSetDepthBuffer(const DepthBufferParameters & depthBufferParameter)
   
void setDepthBuffer(const DepthBufferParameters & depthBufferParameter)
   
void clearDepth(float clearValue)

FBO

   
   
FBO * getActiveFBO() const
   
void popFBO()
   
void pushFBO()
   
void pushAndSetFBO( FBO * fbo)
   
void setFBO( FBO * fbo)

Global Uniforms

   
   
void setGlobalUniform(const Uniform & u)
   
const Uniform & getGlobalUniform(const Util::StringIdentifier & uniformName)

Image Binding (Image load and store)

   
   
ImageBindParameters getBoundImage(uint8_t unit) const
   
void pushBoundImage(uint8_t unit)
   
void pushAndSetBoundImage(uint8_t unit, const ImageBindParameters & iParam)
   
void popBoundImage(uint8_t unit)
   
void setBoundImage(uint8_t unit, const ImageBindParameters & iParam)
   
bool isImageBindingSupported()

Lighting

   
   
const LightingParameters & getLightingParameters() const
   
void popLighting()
   
void pushLighting()
   
void pushAndSetLighting(const LightingParameters & lightingParameter)
   
void setLighting(const LightingParameters & lightingParameter)

Lights

   
   
uint8_t enableLight(const LightParameters & light)
   
void disableLight(uint8_t lightNumber)

Line

   
   
const LineParameters & getLineParameters() const
   
void popLine()
   
void pushLine()
   
void pushAndSetLine(const LineParameters & lineParameters)
   
void setLine(const LineParameters & lineParameters)

Material

   
   
const MaterialParameters & getMaterial() const
Return the active material.
   
void popMaterial()
Pop a material from the top of the stack and activate it. Deactivate material usage if stack is empty.
   
void pushMaterial()
Push the given material onto the material stack.
   
void pushAndSetMaterial(const MaterialParameters & material)
Push the given material onto the material stack and activate it.
   
void pushAndSetColorMaterial(const Util::Color4f & color)
Convert the given color to a material, and callpushAndSetMaterial.
   
void setMaterial(const MaterialParameters & material)
Activate the given material.

Matrix CameraToWorld / WorldToCamera

   
   
void setMatrix_cameraToWorld(const Geometry::Matrix4x4 & matrix)
formerly known as setInverseCameraMatrix
   
const Geometry::Matrix4x4 & getMatrix_worldToCamera() const
formerly known as getCameraMatrix
   
const Geometry::Matrix4x4 & getMatrix_cameraToWorld() const
formerly known as getInverseCameraMatrix

Matrix ModelToCamera (Legacy Model View Matrix)

   
   
void resetMatrix()
resets the model view matrix to the default (camera matrix)
   
const Geometry::Matrix4x4 & getMatrix_modelToCamera() const
formerly known as getMatrix
   
void multMatrix_modelToCamera(const Geometry::Matrix4x4 & matrix)
formerly known as multMatrix
   
void pushMatrix_modelToCamera()
formerly known as pushMatrix
   
void pushAndSetMatrix_modelToCamera(const Geometry::Matrix4x4 & matrix)
   
void setMatrix_modelToCamera(const Geometry::Matrix4x4 & matrix)
formerly known as setMatrix
   
void popMatrix_modelToCamera()
formerly known as popMatrix

Matrix CameraToClipping (Legacy Projection Matrix)

   
   
const Geometry::Matrix4x4 & getMatrix_cameraToClipping() const
   
void pushAndSetMatrix_cameraToClipping(const Geometry::Matrix4x4 & matrix)
formerly known as getProjectionMatrix
   
void pushMatrix_cameraToClipping()
   
void popMatrix_cameraToClipping()
formerly known as pushProjectionMatrix
   
void setMatrix_cameraToClipping(const Geometry::Matrix4x4 & matrix)
formerly known as popProjectionMatrix

Point

   
   
const PointParameters & getPointParameters() const
   
void popPointParameters()
   
void pushPointParameters()
   
void pushAndSetPointParameters(const PointParameters & pointParameters)
   
void setPointParameters(const PointParameters & pointParameters)

PolygonMode

   
   
const PolygonModeParameters & getPolygonModeParameters() const
   
void popPolygonMode()
   
void pushPolygonMode()
   
void pushAndSetPolygonMode(const PolygonModeParameters & polygonModeParameter)
   
void setPolygonMode(const PolygonModeParameters & polygonModeParameter)

PolygonOffset

   
   
const PolygonOffsetParameters & getPolygonOffsetParameters() const
   
void popPolygonOffset()
   
void pushPolygonOffset()
   
void pushAndSetPolygonOffset(const PolygonOffsetParameters & polygonOffsetParameter)
   
void setPolygonOffset(const PolygonOffsetParameters & polygonOffsetParameter)

Primitive restart

   
   
const PrimitiveRestartParameters & getPrimitiveRestartParameters() const
   
void popPrimitiveRestart()
   
void pushPrimitiveRestart()
   
void pushAndSetPrimitiveRestart(const PrimitiveRestartParameters & parameters)
   
void setPrimitiveRestart(const PrimitiveRestartParameters & parameters)

Shader

   
   
void pushAndSetShader( Shader * shader)
   
void pushShader()
   
void popShader()
   
bool isShaderEnabled( Shader * shader)
   
Shader * getActiveShader()
   
const Shader * getActiveShader() const
   
void setShader( Shader * shader)
   
void dispatchCompute(uint32_t numGroupsX, uint32_t numGroupsY, uint32_t numGroupsZ)
   
void dispatchComputeIndirect(size_t offset)
   
void loadUniformSubroutines(uint32_t shaderStage, const std::vector< uint32_t > & indices)
   
void loadUniformSubroutines(uint32_t shaderStage, const std::vector< std::string > & names)
   
void drawMeshTask(uint32_t count, uint32_t first)
   
void _setUniformOnShader( Shader * shader, const Uniform & uniform, bool warnIfUnused, bool forced)
(internal) called by Shader::setUniform (…)

Stencil

   
   
const StencilParameters & getStencilParamters() const
   
void popStencil()
   
void pushStencil()
   
void pushAndSetStencil(const StencilParameters & stencilParameter)
   
void setStencil(const StencilParameters & stencilParameter)
   
void clearStencil(int32_t clearValue)

Textures

   
   
Texture * getTexture(uint8_t unit) const
   
TexUnitUsageParameter getTextureUsage(uint8_t unit) const
   
void pushTexture(uint8_t unit)
   
void pushAndSetTexture(uint8_t unit, Texture * texture)
   
void pushAndSetTexture(uint8_t unit, Texture * texture, TexUnitUsageParameter usage)
   
void popTexture(uint8_t unit)
   
void setTexture(uint8_t unit, Texture * texture)
   
void setTexture(uint8_t unit, Texture * texture, TexUnitUsageParameter usage)

Transform Feedback

   
   
CountedBufferObject * getActiveTransformFeedbackBuffer() const
like isTransformFeedbackSupported() , but once issues a warning on failure.
   
void popTransformFeedbackBufferStatus()
   
void pushTransformFeedbackBufferStatus()
   
void setTransformFeedbackBuffer( CountedBufferObject * buffer)
   
void _startTransformFeedback(uint32_t void)
   
void startTransformFeedback_lines()
   
void startTransformFeedback_points()
   
void startTransformFeedback_triangles()
   
void stopTransformFeedback()
   
bool isTransformFeedbackSupported()
   
bool requestTransformFeedbackSupport()

VBO Client States

   
   
void enableClientState(uint32_t clientState)
Activate the given client state.
   
void disableAllClientStates()
Deactivate all client states that were activated before.
   
void enableTextureClientState(uint32_t textureUnit)
Activate the texture coordinate client state for the given texture unit.
   
void disableAllTextureClientStates()
Deactivate the texture coordinate client states for all texture units that were activated before.
   
void enableVertexAttribArray(const VertexAttribute & attr, const uint8_t * data, int32_t stride)
   
void disableAllVertexAttribArrays()
Disable all vertex attribute array.

Viewport and window's size

   
   
const Geometry::Rect_i & getWindowClientArea() const
   
const Geometry::Rect_i & getViewport() const
Read the current viewport.
   
void popViewport()
Restore the viewport from the top of the viewport stack.
   
void pushViewport()
Save the current viewport onto the viewport stack.
   
void setViewport(const Geometry::Rect_i & viewport)
Set the current viewport.
   
void pushAndSetViewport(const Geometry::Rect_i & viewport)
Save the current viewport onto the viewport stack and set the current viewport.
   
void setWindowClientArea(const Geometry::Rect_i & clientArea)

Documentation

typedef
Rendering::RenderingContext::DisplayMeshFn

public
 
 
typedef std::function< void( RenderingContext &rc, Mesh *mesh, uint32_t firstElement, uint32_t elementCount)> DisplayMeshFn

has to return true iff normal display of mesh shall be executed

Defined in Rendering/RenderingContext/RenderingContext.h:82


function
Rendering::RenderingContext::RenderingContext

public
   
   
RenderingContext( )

Defined in Rendering/RenderingContext/RenderingContext.h:78


function
Rendering::RenderingContext::~RenderingContext

public
   
   
~RenderingContext( )

Defined in Rendering/RenderingContext/RenderingContext.h:79


function
Rendering::RenderingContext::setDisplayMeshFn

public inline
     
     
void setDisplayMeshFn( DisplayMeshFn fn )

Defined in Rendering/RenderingContext/RenderingContext.h:86


function
Rendering::RenderingContext::resetDisplayMeshFn

public
   
   
void resetDisplayMeshFn( )

Defined in Rendering/RenderingContext/RenderingContext.h:87


function
Rendering::RenderingContext::displayMesh

public inline
     
     
void displayMesh( Mesh * mesh,
  uint32_t firstElement,
  uint32_t elementCount
)    

Defined in Rendering/RenderingContext/RenderingContext.h:89


function
Rendering::RenderingContext::displayMesh

public
     
     
void displayMesh( Mesh * mesh )

Defined in Rendering/RenderingContext/RenderingContext.h:90


function
Rendering::RenderingContext::setImmediateMode

public
     
     
void setImmediateMode( const bool enabled )

Defined in Rendering/RenderingContext/RenderingContext.h:92


function
Rendering::RenderingContext::getImmediateMode

public const inline
   
   
bool getImmediateMode( ) const

Defined in Rendering/RenderingContext/RenderingContext.h:93


function
Rendering::RenderingContext::applyChanges

public
     
     
void applyChanges( bool forced )

Defined in Rendering/RenderingContext/RenderingContext.h:100


function
Rendering::RenderingContext::getCompabilityMode

public static inline
   
   
bool getCompabilityMode( )

Defined in Rendering/RenderingContext/RenderingContext.h:96


function
Rendering::RenderingContext::clearScreenRect

public
     
     
void clearScreenRect( const Geometry::Rect_i & rect,
  const Util::Color4f & color,
  bool clearDepth
)    

Defined in Rendering/RenderingContext/RenderingContext.h:109


function
Rendering::RenderingContext::barrier

public
     
     
void barrier( uint32_t flags )

Defines a barrier ordering memory transactions.

See also: glMemoryBarrier

Defined in Rendering/RenderingContext/RenderingContext.h:136


function
Rendering::RenderingContext::clearScreen

public static
     
     
void clearScreen( const Util::Color4f & color )

Defined in Rendering/RenderingContext/RenderingContext.h:107


function
Rendering::RenderingContext::initGLState

public static
   
   
void initGLState( )

Defined in Rendering/RenderingContext/RenderingContext.h:108


function
Rendering::RenderingContext::useAMDAttrBugWorkaround

public static
   
   
bool useAMDAttrBugWorkaround( )

On AMD/ATI-cards, if a Shader accesses a non-existing vertex attribute (even in a branch that should not be executed), it seems that it accesses the data of the default GL_VERTEX_ARRAY attribute. If this is not set, the fragment’s calculation fails and the object gets invisible. This workaround checks if an ATI/AMD card is used and in the MeshVertexData::bind() -function, the GL_VERTEX_ARRAY client state is enabled even if it is not required by the used Shader .

Note: The workaround is enabled if the GL_RENDERER-string contains ‘AMD’ or ‘ATI’

Defined in Rendering/RenderingContext/RenderingContext.h:118


function
Rendering::RenderingContext::flush

public static
   
   
void flush( )

Flush the GL commands buffer.

See also: glFlush

Defined in Rendering/RenderingContext/RenderingContext.h:124


function
Rendering::RenderingContext::finish

public static
   
   
void finish( )

Block until all GL commands are complete.

See also: glFinish

Defined in Rendering/RenderingContext/RenderingContext.h:130


function
Rendering::RenderingContext::getAlphaTestParameters

public const
   
   
const AlphaTestParameters & getAlphaTestParameters( ) const

Defined in Rendering/RenderingContext/RenderingContext.h:146


function
Rendering::RenderingContext::popAlphaTest

public
   
   
void popAlphaTest( )

Defined in Rendering/RenderingContext/RenderingContext.h:147


function
Rendering::RenderingContext::pushAlphaTest

public
   
   
void pushAlphaTest( )

Defined in Rendering/RenderingContext/RenderingContext.h:148


function
Rendering::RenderingContext::pushAndSetAlphaTest

public
     
     
void pushAndSetAlphaTest( const AlphaTestParameters & alphaTestParameter )

Defined in Rendering/RenderingContext/RenderingContext.h:149


function
Rendering::RenderingContext::setAlphaTest

public
     
     
void setAlphaTest( const AlphaTestParameters & alphaTestParameter )

Defined in Rendering/RenderingContext/RenderingContext.h:150


function
Rendering::RenderingContext::getAtomicCounterTextureBuffer

public const
     
     
Texture * getAtomicCounterTextureBuffer( uint32_t index ) const

Defined in Rendering/RenderingContext/RenderingContext.h:160


function
Rendering::RenderingContext::pushAtomicCounterTextureBuffer

public
     
     
void pushAtomicCounterTextureBuffer( uint32_t index )

Defined in Rendering/RenderingContext/RenderingContext.h:161


function
Rendering::RenderingContext::pushAndSetAtomicCounterTextureBuffer

public
     
     
void pushAndSetAtomicCounterTextureBuffer( uint32_t index,
  Texture * bufferDataTexture
)    

Defined in Rendering/RenderingContext/RenderingContext.h:162


function
Rendering::RenderingContext::popAtomicCounterTextureBuffer

public
     
     
void popAtomicCounterTextureBuffer( uint32_t pushAtomicCounterTexture )

Defined in Rendering/RenderingContext/RenderingContext.h:163


function
Rendering::RenderingContext::setAtomicCounterTextureBuffer

public
     
     
void setAtomicCounterTextureBuffer( uint32_t pushAtomicCounterTexture,
  Texture * bufferDataTexture
)    

Note: the texture may be null to unbind

Defined in Rendering/RenderingContext/RenderingContext.h:166


function
Rendering::RenderingContext::isAtomicCountersSupported

public static
   
   
bool isAtomicCountersSupported( )

Defined in Rendering/RenderingContext/RenderingContext.h:157


function
Rendering::RenderingContext::getMaxAtomicCounterBuffers

public static
   
   
uint32_t getMaxAtomicCounterBuffers( )

Defined in Rendering/RenderingContext/RenderingContext.h:158


function
Rendering::RenderingContext::getMaxAtomicCounterBufferSize

public static
   
   
uint32_t getMaxAtomicCounterBufferSize( )

Defined in Rendering/RenderingContext/RenderingContext.h:159


function
Rendering::RenderingContext::getBlendingParameters

public const
   
   
const BlendingParameters & getBlendingParameters( ) const

Defined in Rendering/RenderingContext/RenderingContext.h:172


function
Rendering::RenderingContext::popBlending

public
   
   
void popBlending( )

Defined in Rendering/RenderingContext/RenderingContext.h:173


function
Rendering::RenderingContext::pushBlending

public
   
   
void pushBlending( )

Defined in Rendering/RenderingContext/RenderingContext.h:174


function
Rendering::RenderingContext::pushAndSetBlending

public
     
     
void pushAndSetBlending( const BlendingParameters & blendingParameter )

Defined in Rendering/RenderingContext/RenderingContext.h:175


function
Rendering::RenderingContext::setBlending

public
     
     
void setBlending( const BlendingParameters & blendingParameter )

Defined in Rendering/RenderingContext/RenderingContext.h:176


function
Rendering::RenderingContext::getClipPlane

public const
     
     
const ClipPlaneParameters & getClipPlane( uint8_t index ) const

Defined in Rendering/RenderingContext/RenderingContext.h:183


function
Rendering::RenderingContext::popClipPlane

public
     
     
void popClipPlane( uint8_t index )

Defined in Rendering/RenderingContext/RenderingContext.h:184


function
Rendering::RenderingContext::pushClipPlane

public
     
     
void pushClipPlane( uint8_t index )

Defined in Rendering/RenderingContext/RenderingContext.h:185


function
Rendering::RenderingContext::pushAndSetClipPlane

public
     
     
void pushAndSetClipPlane( uint8_t index,
  const ClipPlaneParameters & planeParameters
)    

Defined in Rendering/RenderingContext/RenderingContext.h:186


function
Rendering::RenderingContext::setClipPlane

public
     
     
void setClipPlane( uint8_t index,
  const ClipPlaneParameters & planeParameters
)    

Defined in Rendering/RenderingContext/RenderingContext.h:187


function
Rendering::RenderingContext::getScissor

public const
   
   
const ScissorParameters & getScissor( ) const

Defined in Rendering/RenderingContext/RenderingContext.h:440


function
Rendering::RenderingContext::popScissor

public
   
   
void popScissor( )

Defined in Rendering/RenderingContext/RenderingContext.h:441


function
Rendering::RenderingContext::pushScissor

public
   
   
void pushScissor( )

Defined in Rendering/RenderingContext/RenderingContext.h:442


function
Rendering::RenderingContext::pushAndSetScissor

public
     
     
void pushAndSetScissor( const ScissorParameters & scissorParameters )

Defined in Rendering/RenderingContext/RenderingContext.h:443


function
Rendering::RenderingContext::setScissor

public
     
     
void setScissor( const ScissorParameters & scissorParameters )

Defined in Rendering/RenderingContext/RenderingContext.h:444


function
Rendering::RenderingContext::getColorBufferParameters

public const
   
   
const ColorBufferParameters & getColorBufferParameters( ) const

Defined in Rendering/RenderingContext/RenderingContext.h:194


function
Rendering::RenderingContext::popColorBuffer

public
   
   
void popColorBuffer( )

Defined in Rendering/RenderingContext/RenderingContext.h:195


function
Rendering::RenderingContext::pushColorBuffer

public
   
   
void pushColorBuffer( )

Defined in Rendering/RenderingContext/RenderingContext.h:196


function
Rendering::RenderingContext::pushAndSetColorBuffer

public
     
     
void pushAndSetColorBuffer( const ColorBufferParameters & colorBufferParameter )

Defined in Rendering/RenderingContext/RenderingContext.h:197


function
Rendering::RenderingContext::setColorBuffer

public
     
     
void setColorBuffer( const ColorBufferParameters & colorBufferParameter )

Defined in Rendering/RenderingContext/RenderingContext.h:198


function
Rendering::RenderingContext::clearColor

public
     
     
void clearColor( const Util::Color4f & clearValue )

Clear the color buffer.

Parameters

clearValue
Color that the color buffer is filled with. The color components are clamped to [0, 1].

See also: glClearColor

See also: Parameter GL_COLOR_BUFFER_BIT of glClear

Defined in Rendering/RenderingContext/RenderingContext.h:208


function
Rendering::RenderingContext::getCullFaceParameters

public const
   
   
const CullFaceParameters & getCullFaceParameters( ) const

Defined in Rendering/RenderingContext/RenderingContext.h:214


function
Rendering::RenderingContext::popCullFace

public
   
   
void popCullFace( )

Defined in Rendering/RenderingContext/RenderingContext.h:215


function
Rendering::RenderingContext::pushCullFace

public
   
   
void pushCullFace( )

Defined in Rendering/RenderingContext/RenderingContext.h:216


function
Rendering::RenderingContext::pushAndSetCullFace

public
     
     
void pushAndSetCullFace( const CullFaceParameters & cullFaceParameters )

Defined in Rendering/RenderingContext/RenderingContext.h:217


function
Rendering::RenderingContext::setCullFace

public
     
     
void setCullFace( const CullFaceParameters & cullFaceParameters )

Defined in Rendering/RenderingContext/RenderingContext.h:218


function
Rendering::RenderingContext::getDepthBufferParameters

public const
   
   
const DepthBufferParameters & getDepthBufferParameters( ) const

Defined in Rendering/RenderingContext/RenderingContext.h:225


function
Rendering::RenderingContext::popDepthBuffer

public
   
   
void popDepthBuffer( )

Defined in Rendering/RenderingContext/RenderingContext.h:226


function
Rendering::RenderingContext::pushDepthBuffer

public
   
   
void pushDepthBuffer( )

Defined in Rendering/RenderingContext/RenderingContext.h:227


function
Rendering::RenderingContext::pushAndSetDepthBuffer

public
     
     
void pushAndSetDepthBuffer( const DepthBufferParameters & depthBufferParameter )

Defined in Rendering/RenderingContext/RenderingContext.h:228


function
Rendering::RenderingContext::setDepthBuffer

public
     
     
void setDepthBuffer( const DepthBufferParameters & depthBufferParameter )

Defined in Rendering/RenderingContext/RenderingContext.h:229


function
Rendering::RenderingContext::clearDepth

public
     
     
void clearDepth( float clearValue )

Clear the depth buffer.

Parameters

clearValue
Value that the depth buffer is filled with The value is clamped to [0, 1].

See also: glClearDepth

See also: Parameter GL_DEPTH_BUFFER_BIT of glClear

Defined in Rendering/RenderingContext/RenderingContext.h:239


function
Rendering::RenderingContext::getActiveFBO

public const
   
   
FBO * getActiveFBO( ) const

Defined in Rendering/RenderingContext/RenderingContext.h:246


function
Rendering::RenderingContext::popFBO

public
   
   
void popFBO( )

Defined in Rendering/RenderingContext/RenderingContext.h:247


function
Rendering::RenderingContext::pushFBO

public
   
   
void pushFBO( )

Defined in Rendering/RenderingContext/RenderingContext.h:248


function
Rendering::RenderingContext::pushAndSetFBO

public
     
     
void pushAndSetFBO( FBO * fbo )

Defined in Rendering/RenderingContext/RenderingContext.h:249


function
Rendering::RenderingContext::setFBO

public
     
     
void setFBO( FBO * fbo )

Defined in Rendering/RenderingContext/RenderingContext.h:250


function
Rendering::RenderingContext::setGlobalUniform

public
     
     
void setGlobalUniform( const Uniform & u )

Defined in Rendering/RenderingContext/RenderingContext.h:257


function
Rendering::RenderingContext::getGlobalUniform

public
     
     
const Uniform & getGlobalUniform( const Util::StringIdentifier & uniformName )

Defined in Rendering/RenderingContext/RenderingContext.h:258


function
Rendering::RenderingContext::getBoundImage

public const
     
     
ImageBindParameters getBoundImage( uint8_t unit ) const

Defined in Rendering/RenderingContext/RenderingContext.h:266


function
Rendering::RenderingContext::pushBoundImage

public
     
     
void pushBoundImage( uint8_t unit )

Defined in Rendering/RenderingContext/RenderingContext.h:267


function
Rendering::RenderingContext::pushAndSetBoundImage

public
     
     
void pushAndSetBoundImage( uint8_t unit,
  const ImageBindParameters & iParam
)    

Defined in Rendering/RenderingContext/RenderingContext.h:268


function
Rendering::RenderingContext::popBoundImage

public
     
     
void popBoundImage( uint8_t unit )

Defined in Rendering/RenderingContext/RenderingContext.h:269


function
Rendering::RenderingContext::setBoundImage

public
     
     
void setBoundImage( uint8_t unit,
  const ImageBindParameters & iParam
)    

Note: the texture in iParam may be null to unbind

Defined in Rendering/RenderingContext/RenderingContext.h:272


function
Rendering::RenderingContext::isImageBindingSupported

public static
   
   
bool isImageBindingSupported( )

Defined in Rendering/RenderingContext/RenderingContext.h:265


function
Rendering::RenderingContext::getLightingParameters

public const
   
   
const LightingParameters & getLightingParameters( ) const

Defined in Rendering/RenderingContext/RenderingContext.h:279


function
Rendering::RenderingContext::popLighting

public
   
   
void popLighting( )

Defined in Rendering/RenderingContext/RenderingContext.h:280


function
Rendering::RenderingContext::pushLighting

public
   
   
void pushLighting( )

Defined in Rendering/RenderingContext/RenderingContext.h:281


function
Rendering::RenderingContext::pushAndSetLighting

public
     
     
void pushAndSetLighting( const LightingParameters & lightingParameter )

Defined in Rendering/RenderingContext/RenderingContext.h:282


function
Rendering::RenderingContext::setLighting

public
     
     
void setLighting( const LightingParameters & lightingParameter )

Defined in Rendering/RenderingContext/RenderingContext.h:283


function
Rendering::RenderingContext::enableLight

public
     
     
uint8_t enableLight( const LightParameters & light )

Activate the light given by the parameters.

Parameters

light
Parameters of a light source.

Returns

Light number that was used for this light. This number has to be used to deactivate the light.

Defined in Rendering/RenderingContext/RenderingContext.h:295


function
Rendering::RenderingContext::disableLight

public
     
     
void disableLight( uint8_t lightNumber )

Deactivate a previuosly activated light.

Parameters

lightNumber
Light number that was returned byenableLight.

Defined in Rendering/RenderingContext/RenderingContext.h:302


function
Rendering::RenderingContext::getLineParameters

public const
   
   
const LineParameters & getLineParameters( ) const

Defined in Rendering/RenderingContext/RenderingContext.h:309


function
Rendering::RenderingContext::popLine

public
   
   
void popLine( )

Defined in Rendering/RenderingContext/RenderingContext.h:310


function
Rendering::RenderingContext::pushLine

public
   
   
void pushLine( )

Defined in Rendering/RenderingContext/RenderingContext.h:311


function
Rendering::RenderingContext::pushAndSetLine

public
     
     
void pushAndSetLine( const LineParameters & lineParameters )

Defined in Rendering/RenderingContext/RenderingContext.h:312


function
Rendering::RenderingContext::setLine

public
     
     
void setLine( const LineParameters & lineParameters )

Defined in Rendering/RenderingContext/RenderingContext.h:313


function
Rendering::RenderingContext::getMaterial

public const
   
   
const MaterialParameters & getMaterial( ) const

Return the active material.

Defined in Rendering/RenderingContext/RenderingContext.h:321


function
Rendering::RenderingContext::popMaterial

public
   
   
void popMaterial( )

Pop a material from the top of the stack and activate it. Deactivate material usage if stack is empty.

Defined in Rendering/RenderingContext/RenderingContext.h:323


function
Rendering::RenderingContext::pushMaterial

public
   
   
void pushMaterial( )

Push the given material onto the material stack.

Defined in Rendering/RenderingContext/RenderingContext.h:325


function
Rendering::RenderingContext::pushAndSetMaterial

public
     
     
void pushAndSetMaterial( const MaterialParameters & material )

Push the given material onto the material stack and activate it.

Defined in Rendering/RenderingContext/RenderingContext.h:327


function
Rendering::RenderingContext::pushAndSetColorMaterial

public
     
     
void pushAndSetColorMaterial( const Util::Color4f & color )

Convert the given color to a material, and callpushAndSetMaterial.

Defined in Rendering/RenderingContext/RenderingContext.h:329


function
Rendering::RenderingContext::setMaterial

public
     
     
void setMaterial( const MaterialParameters & material )

Activate the given material.

Defined in Rendering/RenderingContext/RenderingContext.h:331


function
Rendering::RenderingContext::setMatrix_cameraToWorld

public
     
     
void setMatrix_cameraToWorld( const Geometry::Matrix4x4 & matrix )

formerly known as setInverseCameraMatrix

Defined in Rendering/RenderingContext/RenderingContext.h:340


function
Rendering::RenderingContext::getMatrix_worldToCamera

public const
   
   
const Geometry::Matrix4x4 & getMatrix_worldToCamera( ) const

formerly known as getCameraMatrix

Defined in Rendering/RenderingContext/RenderingContext.h:341


function
Rendering::RenderingContext::getMatrix_cameraToWorld

public const
   
   
const Geometry::Matrix4x4 & getMatrix_cameraToWorld( ) const

formerly known as getInverseCameraMatrix

Defined in Rendering/RenderingContext/RenderingContext.h:342


function
Rendering::RenderingContext::resetMatrix

public
   
   
void resetMatrix( )

resets the model view matrix to the default (camera matrix)

Defined in Rendering/RenderingContext/RenderingContext.h:350


function
Rendering::RenderingContext::getMatrix_modelToCamera

public const
   
   
const Geometry::Matrix4x4 & getMatrix_modelToCamera( ) const

formerly known as getMatrix

Note: use renderingContext.setMatrix_modelToCamera( renderingContext.getMatrix_worldToCamera() ) instead!

Defined in Rendering/RenderingContext/RenderingContext.h:351


function
Rendering::RenderingContext::multMatrix_modelToCamera

public
     
     
void multMatrix_modelToCamera( const Geometry::Matrix4x4 & matrix )

formerly known as multMatrix

Defined in Rendering/RenderingContext/RenderingContext.h:352


function
Rendering::RenderingContext::pushMatrix_modelToCamera

public
   
   
void pushMatrix_modelToCamera( )

formerly known as pushMatrix

Defined in Rendering/RenderingContext/RenderingContext.h:353


function
Rendering::RenderingContext::pushAndSetMatrix_modelToCamera

public
     
     
void pushAndSetMatrix_modelToCamera( const Geometry::Matrix4x4 & matrix )

Defined in Rendering/RenderingContext/RenderingContext.h:354


function
Rendering::RenderingContext::setMatrix_modelToCamera

public
     
     
void setMatrix_modelToCamera( const Geometry::Matrix4x4 & matrix )

formerly known as setMatrix

Defined in Rendering/RenderingContext/RenderingContext.h:355


function
Rendering::RenderingContext::popMatrix_modelToCamera

public
   
   
void popMatrix_modelToCamera( )

formerly known as popMatrix

Defined in Rendering/RenderingContext/RenderingContext.h:356


function
Rendering::RenderingContext::getMatrix_cameraToClipping

public const
   
   
const Geometry::Matrix4x4 & getMatrix_cameraToClipping( ) const

Defined in Rendering/RenderingContext/RenderingContext.h:363


function
Rendering::RenderingContext::pushAndSetMatrix_cameraToClipping

public
     
     
void pushAndSetMatrix_cameraToClipping( const Geometry::Matrix4x4 & matrix )

formerly known as getProjectionMatrix

Defined in Rendering/RenderingContext/RenderingContext.h:364


function
Rendering::RenderingContext::pushMatrix_cameraToClipping

public
   
   
void pushMatrix_cameraToClipping( )

Defined in Rendering/RenderingContext/RenderingContext.h:365


function
Rendering::RenderingContext::popMatrix_cameraToClipping

public
   
   
void popMatrix_cameraToClipping( )

formerly known as pushProjectionMatrix

Defined in Rendering/RenderingContext/RenderingContext.h:366


function
Rendering::RenderingContext::setMatrix_cameraToClipping

public
     
     
void setMatrix_cameraToClipping( const Geometry::Matrix4x4 & matrix )

formerly known as popProjectionMatrix

Defined in Rendering/RenderingContext/RenderingContext.h:367


function
Rendering::RenderingContext::getPointParameters

public const
   
   
const PointParameters & getPointParameters( ) const

Defined in Rendering/RenderingContext/RenderingContext.h:374


function
Rendering::RenderingContext::popPointParameters

public
   
   
void popPointParameters( )

Defined in Rendering/RenderingContext/RenderingContext.h:375


function
Rendering::RenderingContext::pushPointParameters

public
   
   
void pushPointParameters( )

Defined in Rendering/RenderingContext/RenderingContext.h:376


function
Rendering::RenderingContext::pushAndSetPointParameters

public
     
     
void pushAndSetPointParameters( const PointParameters & pointParameters )

Defined in Rendering/RenderingContext/RenderingContext.h:377


function
Rendering::RenderingContext::setPointParameters

public
     
     
void setPointParameters( const PointParameters & pointParameters )

Defined in Rendering/RenderingContext/RenderingContext.h:378


function
Rendering::RenderingContext::getPolygonModeParameters

public const
   
   
const PolygonModeParameters & getPolygonModeParameters( ) const

Defined in Rendering/RenderingContext/RenderingContext.h:384


function
Rendering::RenderingContext::popPolygonMode

public
   
   
void popPolygonMode( )

Defined in Rendering/RenderingContext/RenderingContext.h:385


function
Rendering::RenderingContext::pushPolygonMode

public
   
   
void pushPolygonMode( )

Defined in Rendering/RenderingContext/RenderingContext.h:386


function
Rendering::RenderingContext::pushAndSetPolygonMode

public
     
     
void pushAndSetPolygonMode( const PolygonModeParameters & polygonModeParameter )

Defined in Rendering/RenderingContext/RenderingContext.h:387


function
Rendering::RenderingContext::setPolygonMode

public
     
     
void setPolygonMode( const PolygonModeParameters & polygonModeParameter )

Defined in Rendering/RenderingContext/RenderingContext.h:388


function
Rendering::RenderingContext::getPolygonOffsetParameters

public const
   
   
const PolygonOffsetParameters & getPolygonOffsetParameters( ) const

Defined in Rendering/RenderingContext/RenderingContext.h:395


function
Rendering::RenderingContext::popPolygonOffset

public
   
   
void popPolygonOffset( )

Defined in Rendering/RenderingContext/RenderingContext.h:396


function
Rendering::RenderingContext::pushPolygonOffset

public
   
   
void pushPolygonOffset( )

Defined in Rendering/RenderingContext/RenderingContext.h:397


function
Rendering::RenderingContext::pushAndSetPolygonOffset

public
     
     
void pushAndSetPolygonOffset( const PolygonOffsetParameters & polygonOffsetParameter )

Defined in Rendering/RenderingContext/RenderingContext.h:398


function
Rendering::RenderingContext::setPolygonOffset

public
     
     
void setPolygonOffset( const PolygonOffsetParameters & polygonOffsetParameter )

Defined in Rendering/RenderingContext/RenderingContext.h:399


function
Rendering::RenderingContext::getPrimitiveRestartParameters

public const
   
   
const PrimitiveRestartParameters & getPrimitiveRestartParameters( ) const

Defined in Rendering/RenderingContext/RenderingContext.h:406


function
Rendering::RenderingContext::popPrimitiveRestart

public
   
   
void popPrimitiveRestart( )

Defined in Rendering/RenderingContext/RenderingContext.h:407


function
Rendering::RenderingContext::pushPrimitiveRestart

public
   
   
void pushPrimitiveRestart( )

Defined in Rendering/RenderingContext/RenderingContext.h:408


function
Rendering::RenderingContext::pushAndSetPrimitiveRestart

public
     
     
void pushAndSetPrimitiveRestart( const PrimitiveRestartParameters & parameters )

Defined in Rendering/RenderingContext/RenderingContext.h:409


function
Rendering::RenderingContext::setPrimitiveRestart

public
     
     
void setPrimitiveRestart( const PrimitiveRestartParameters & parameters )

Defined in Rendering/RenderingContext/RenderingContext.h:410


function
Rendering::RenderingContext::pushAndSetShader

public
     
     
void pushAndSetShader( Shader * shader )

Defined in Rendering/RenderingContext/RenderingContext.h:418


function
Rendering::RenderingContext::pushShader

public
   
   
void pushShader( )

Defined in Rendering/RenderingContext/RenderingContext.h:419


function
Rendering::RenderingContext::popShader

public
   
   
void popShader( )

Defined in Rendering/RenderingContext/RenderingContext.h:420


function
Rendering::RenderingContext::isShaderEnabled

public
     
     
bool isShaderEnabled( Shader * shader )

Defined in Rendering/RenderingContext/RenderingContext.h:421


function
Rendering::RenderingContext::getActiveShader

public
   
   
Shader * getActiveShader( )

Defined in Rendering/RenderingContext/RenderingContext.h:422


function
Rendering::RenderingContext::getActiveShader

public const
   
   
const Shader * getActiveShader( ) const

Defined in Rendering/RenderingContext/RenderingContext.h:423


function
Rendering::RenderingContext::setShader

public
     
     
void setShader( Shader * shader )

Defined in Rendering/RenderingContext/RenderingContext.h:424


function
Rendering::RenderingContext::dispatchCompute

public
     
     
void dispatchCompute( uint32_t numGroupsX,
  uint32_t numGroupsY,
  uint32_t numGroupsZ
)    

Defined in Rendering/RenderingContext/RenderingContext.h:425


function
Rendering::RenderingContext::dispatchComputeIndirect

public
     
     
void dispatchComputeIndirect( size_t offset )

Defined in Rendering/RenderingContext/RenderingContext.h:426


function
Rendering::RenderingContext::loadUniformSubroutines

public
     
     
void loadUniformSubroutines( uint32_t shaderStage,
  const std::vector< uint32_t > & indices
)    

Defined in Rendering/RenderingContext/RenderingContext.h:427


function
Rendering::RenderingContext::loadUniformSubroutines

public
     
     
void loadUniformSubroutines( uint32_t shaderStage,
  const std::vector< std::string > & names
)    

Defined in Rendering/RenderingContext/RenderingContext.h:428


function
Rendering::RenderingContext::drawMeshTask

public
     
     
void drawMeshTask( uint32_t count,
  uint32_t first
)    

Defined in Rendering/RenderingContext/RenderingContext.h:429


function
Rendering::RenderingContext::_setUniformOnShader

public
     
     
void _setUniformOnShader( Shader * shader,
  const Uniform & uniform,
  bool warnIfUnused,
  bool forced
)    

(internal) called by Shader::setUniform (…)

Defined in Rendering/RenderingContext/RenderingContext.h:432


function
Rendering::RenderingContext::getStencilParamters

public const
   
   
const StencilParameters & getStencilParamters( ) const

Defined in Rendering/RenderingContext/RenderingContext.h:451


function
Rendering::RenderingContext::popStencil

public
   
   
void popStencil( )

Defined in Rendering/RenderingContext/RenderingContext.h:452


function
Rendering::RenderingContext::pushStencil

public
   
   
void pushStencil( )

Defined in Rendering/RenderingContext/RenderingContext.h:453


function
Rendering::RenderingContext::pushAndSetStencil

public
     
     
void pushAndSetStencil( const StencilParameters & stencilParameter )

Defined in Rendering/RenderingContext/RenderingContext.h:454


function
Rendering::RenderingContext::setStencil

public
     
     
void setStencil( const StencilParameters & stencilParameter )

Defined in Rendering/RenderingContext/RenderingContext.h:455


function
Rendering::RenderingContext::clearStencil

public
     
     
void clearStencil( int32_t clearValue )

Clear the stencil buffer.

Parameters

clearValue
Value that the stencil buffer is filled with

See also: glClearStencil

See also: Parameter GL_STENCIL_BUFFER_BIT of glClear

Defined in Rendering/RenderingContext/RenderingContext.h:464


function
Rendering::RenderingContext::getTexture

public const
     
     
Texture * getTexture( uint8_t unit ) const

Defined in Rendering/RenderingContext/RenderingContext.h:473


function
Rendering::RenderingContext::getTextureUsage

public const
     
     
TexUnitUsageParameter getTextureUsage( uint8_t unit ) const

Defined in Rendering/RenderingContext/RenderingContext.h:474


function
Rendering::RenderingContext::pushTexture

public
     
     
void pushTexture( uint8_t unit )

Defined in Rendering/RenderingContext/RenderingContext.h:475


function
Rendering::RenderingContext::pushAndSetTexture

public
     
     
void pushAndSetTexture( uint8_t unit,
  Texture * texture
)    

Defined in Rendering/RenderingContext/RenderingContext.h:476


function
Rendering::RenderingContext::pushAndSetTexture

public
     
     
void pushAndSetTexture( uint8_t unit,
  Texture * texture,
  TexUnitUsageParameter usage
)    

Defined in Rendering/RenderingContext/RenderingContext.h:477


function
Rendering::RenderingContext::popTexture

public
     
     
void popTexture( uint8_t unit )

Defined in Rendering/RenderingContext/RenderingContext.h:478


function
Rendering::RenderingContext::setTexture

public
     
     
void setTexture( uint8_t unit,
  Texture * texture
)    

Note: texture may be nullptr

Defined in Rendering/RenderingContext/RenderingContext.h:481


function
Rendering::RenderingContext::setTexture

public
     
     
void setTexture( uint8_t unit,
  Texture * texture,
  TexUnitUsageParameter usage
)    

Defined in Rendering/RenderingContext/RenderingContext.h:482


function
Rendering::RenderingContext::getActiveTransformFeedbackBuffer

public const
   
   
CountedBufferObject * getActiveTransformFeedbackBuffer( ) const

like isTransformFeedbackSupported() , but once issues a warning on failure.

Defined in Rendering/RenderingContext/RenderingContext.h:492


function
Rendering::RenderingContext::popTransformFeedbackBufferStatus

public
   
   
void popTransformFeedbackBufferStatus( )

Defined in Rendering/RenderingContext/RenderingContext.h:493


function
Rendering::RenderingContext::pushTransformFeedbackBufferStatus

public
   
   
void pushTransformFeedbackBufferStatus( )

Defined in Rendering/RenderingContext/RenderingContext.h:494


function
Rendering::RenderingContext::setTransformFeedbackBuffer

public
     
     
void setTransformFeedbackBuffer( CountedBufferObject * buffer )

Defined in Rendering/RenderingContext/RenderingContext.h:495


function
Rendering::RenderingContext::_startTransformFeedback

public
     
     
void _startTransformFeedback( uint32_t void )

Defined in Rendering/RenderingContext/RenderingContext.h:496


function
Rendering::RenderingContext::startTransformFeedback_lines

public
   
   
void startTransformFeedback_lines( )

Defined in Rendering/RenderingContext/RenderingContext.h:497


function
Rendering::RenderingContext::startTransformFeedback_points

public
   
   
void startTransformFeedback_points( )

Defined in Rendering/RenderingContext/RenderingContext.h:498


function
Rendering::RenderingContext::startTransformFeedback_triangles

public
   
   
void startTransformFeedback_triangles( )

Defined in Rendering/RenderingContext/RenderingContext.h:499


function
Rendering::RenderingContext::stopTransformFeedback

public
   
   
void stopTransformFeedback( )

Defined in Rendering/RenderingContext/RenderingContext.h:500


function
Rendering::RenderingContext::isTransformFeedbackSupported

public static
   
   
bool isTransformFeedbackSupported( )

Defined in Rendering/RenderingContext/RenderingContext.h:489


function
Rendering::RenderingContext::requestTransformFeedbackSupport

public static
   
   
bool requestTransformFeedbackSupport( )

Defined in Rendering/RenderingContext/RenderingContext.h:490


function
Rendering::RenderingContext::enableClientState

public
     
     
void enableClientState( uint32_t clientState )

Activate the given client state.

Defined in Rendering/RenderingContext/RenderingContext.h:508


function
Rendering::RenderingContext::disableAllClientStates

public
   
   
void disableAllClientStates( )

Deactivate all client states that were activated before.

Defined in Rendering/RenderingContext/RenderingContext.h:511


function
Rendering::RenderingContext::enableTextureClientState

public
     
     
void enableTextureClientState( uint32_t textureUnit )

Activate the texture coordinate client state for the given texture unit.

Defined in Rendering/RenderingContext/RenderingContext.h:514


function
Rendering::RenderingContext::disableAllTextureClientStates

public
   
   
void disableAllTextureClientStates( )

Deactivate the texture coordinate client states for all texture units that were activated before.

Defined in Rendering/RenderingContext/RenderingContext.h:517


function
Rendering::RenderingContext::enableVertexAttribArray

public
     
     
void enableVertexAttribArray( const VertexAttribute & attr,
  const uint8_t * data,
  int32_t stride
)    

Bind a vertex attribute to a variable inside a shader program.

Parameters

attr
Attribute description (including variable name)
data
Pointer to the vertex data (ornullptrif a buffer object is active)
stride
Size of a vertex in bytes

Defined in Rendering/RenderingContext/RenderingContext.h:526


function
Rendering::RenderingContext::disableAllVertexAttribArrays

public
   
   
void disableAllVertexAttribArrays( )

Disable all vertex attribute array.

Defined in Rendering/RenderingContext/RenderingContext.h:529


function
Rendering::RenderingContext::getWindowClientArea

public const
   
   
const Geometry::Rect_i & getWindowClientArea( ) const

Get the OpenGL window’s client area. In almost all cases, the position will be (0, 0). The width and height differs with the size of the window.

Note: This value has to be set manually by calling setWindowClientArea() after creating the RenderingContext

Defined in Rendering/RenderingContext/RenderingContext.h:542


function
Rendering::RenderingContext::getViewport

public const
   
   
const Geometry::Rect_i & getViewport( ) const

Read the current viewport.

Defined in Rendering/RenderingContext/RenderingContext.h:545


function
Rendering::RenderingContext::popViewport

public
   
   
void popViewport( )

Restore the viewport from the top of the viewport stack.

Defined in Rendering/RenderingContext/RenderingContext.h:547


function
Rendering::RenderingContext::pushViewport

public
   
   
void pushViewport( )

Save the current viewport onto the viewport stack.

Defined in Rendering/RenderingContext/RenderingContext.h:550


function
Rendering::RenderingContext::setViewport

public
     
     
void setViewport( const Geometry::Rect_i & viewport )

Set the current viewport.

Defined in Rendering/RenderingContext/RenderingContext.h:553


function
Rendering::RenderingContext::pushAndSetViewport

public
     
     
void pushAndSetViewport( const Geometry::Rect_i & viewport )

Save the current viewport onto the viewport stack and set the current viewport.

Defined in Rendering/RenderingContext/RenderingContext.h:556


function
Rendering::RenderingContext::setWindowClientArea

public
     
     
void setWindowClientArea( const Geometry::Rect_i & clientArea )

Defined in Rendering/RenderingContext/RenderingContext.h:558