PixelLightAPI
.
|
Effect pass layer class. More...
#include <EffectPassLayer.h>
Public Member Functions | |
EffectPass & | GetPass () 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. | |
SamplerStates & | GetSamplerStates () |
Returns the sampler states. | |
const SamplerStates & | GetSamplerStates () const |
FixedFunctionsTextureStageStates & | GetFixedFunctionsTextureStageStates () |
Returns the fixed functions texture stage states. | |
const FixedFunctionsTextureStageStates & | GetFixedFunctionsTextureStageStates () const |
EffectPassLayer & | operator= (const EffectPassLayer &cSource) |
Copy operator. |
Effect pass layer class.
EffectPass & PLRenderer::EffectPassLayer::GetPass | ( | ) | const [inline] |
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.
[in] | nStage | Which texture stage? |
[in] | pParameterManager | Parameters set instead of existing effect parameters, can be a null pointer |
PLCore::String PLRenderer::EffectPassLayer::GetTexture | ( | ) | const [inline] |
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.
[in] | sTexture | The name of the used texture parameter |
SamplerStates & PLRenderer::EffectPassLayer::GetSamplerStates | ( | ) | [inline] |
Returns the sampler states.
const SamplerStates & PLRenderer::EffectPassLayer::GetSamplerStates | ( | ) | const [inline] |
FixedFunctionsTextureStageStates & PLRenderer::EffectPassLayer::GetFixedFunctionsTextureStageStates | ( | ) | [inline] |
Returns the fixed functions texture stage states.
const FixedFunctionsTextureStageStates & PLRenderer::EffectPassLayer::GetFixedFunctionsTextureStageStates | ( | ) | const [inline] |
EffectPassLayer & PLRenderer::EffectPassLayer::operator= | ( | const EffectPassLayer & | cSource | ) | [inline] |
Copy operator.
[in] | cSource | Source to copy from |
|