PixelLightAPI  .
Public Member Functions
PLRenderer::EffectPassLayer Class Reference

Effect pass layer class. More...

#include <EffectPassLayer.h>

List of all members.

Public Member Functions

EffectPassGetPass () const
 Returns the layer owner.
PLRENDERER_API bool Bind (PLCore::uint32 nStage, ParameterManager *pParameterManager=nullptr) const
 Makes the texture buffer of the texture handlers texture to the current renderer texture buffer.
PLCore::String GetTexture () const
 Returns the name of the used texture parameter.
void SetTexture (const PLCore::String &sTexture)
 Sets the name of the used texture parameter.
SamplerStatesGetSamplerStates ()
 Returns the sampler states.
const SamplerStatesGetSamplerStates () const
FixedFunctionsTextureStageStatesGetFixedFunctionsTextureStageStates ()
 Returns the fixed functions texture stage states.
const
FixedFunctionsTextureStageStates
GetFixedFunctionsTextureStageStates () const
EffectPassLayeroperator= (const EffectPassLayer &cSource)
 Copy operator.

Detailed Description

Effect pass layer class.


Member Function Documentation

Returns the layer owner.

Returns:
The layer owner
PLRENDERER_API bool PLRenderer::EffectPassLayer::Bind ( PLCore::uint32  nStage,
ParameterManager pParameterManager = nullptr 
) const

Makes the texture buffer of the texture handlers texture to the current renderer texture buffer.

Parameters:
[in]nStageWhich texture stage?
[in]pParameterManagerParameters set instead of existing effect parameters, can be a null pointer
Returns:
'true' if all went fine, else 'false'
Note:
  • The texture handlers texture transformation matrix is also set!
  • If there's no texture parameter name or an invalid one no texture is bound

Returns the name of the used texture parameter.

Returns:
The name of the used texture parameter
void PLRenderer::EffectPassLayer::SetTexture ( const PLCore::String sTexture) [inline]

Sets the name of the used texture parameter.

Parameters:
[in]sTextureThe name of the used texture parameter

Returns the sampler states.

Returns:
The sampler states

Returns the fixed functions texture stage states.

Returns:
The fixed functions texture stage states
EffectPassLayer & PLRenderer::EffectPassLayer::operator= ( const EffectPassLayer cSource) [inline]

Copy operator.

Parameters:
[in]cSourceSource to copy from
Returns:
This instance

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


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