PixelLightAPI  .
Public Member Functions
PLScene::GMMSurfacePatch Class Reference

GMM surface patch. More...

#include <GMMSurfacePatch.h>

Inheritance diagram for PLScene::GMMSurfacePatch:
Inheritance graph
[legend]

List of all members.

Public Member Functions

PLS_API bool IsActive () const
 Returns whether the patch is active or not.
PLS_API void SetActive (bool bActive=true)
 Sets whether the patch is active or not.
PLS_API void ComputeVariance (PLCore::uint32 &nOffset)
 Computes the variance of each mip map level.
PLS_API void UpdateBoundingBox ()
 Updates the patch bounding box.

Detailed Description

GMM surface patch.


Member Function Documentation

PLS_API bool PLScene::GMMSurfacePatch::IsActive ( ) const

Returns whether the patch is active or not.

Returns:
'true' if the patch is active, else 'false'
PLS_API void PLScene::GMMSurfacePatch::SetActive ( bool  bActive = true)

Sets whether the patch is active or not.

Parameters:
[in]bActiveShould the patch be active?
PLS_API void PLScene::GMMSurfacePatch::ComputeVariance ( PLCore::uint32 &  nOffset)

Computes the variance of each mip map level.

Parameters:
[out]nOffsetWill receive the offset

Updates the patch bounding box.


The documentation for this class was generated from the following file:


PixelLight PixelLight 0.9.10-R1
Copyright (C) 2002-2011 by The PixelLight Team
Last modified Fri Dec 23 2011 15:51:25
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported