Rasterfarm-SDK
Loading...
Searching...
No Matches
Pixel::UniformOpacity Class Reference

#include <uniformopacity.h>

Inheritance diagram for Pixel::UniformOpacity:
Pixel::Factor Component

Public Member Functions

 UniformOpacity (float opacity, const Attribute &attribute)
 
virtual ~UniformOpacity ()
 
void setOpacity (float opacity)
 
float getOpacity ()
 
virtual void create (Material *pMaterial)
 
virtual void update (Material *pMaterial)
 
virtual void addShaderResources (Material *pMaterial)
 
virtual void addShaderCode (Material *pMaterial)
 
- Public Member Functions inherited from Pixel::Factor
 Factor (const Attribute &attribute)
 
virtual ~Factor ()
 

Constructor & Destructor Documentation

◆ UniformOpacity()

Pixel::UniformOpacity::UniformOpacity ( float opacity,
const Attribute & attribute )

◆ ~UniformOpacity()

virtual Pixel::UniformOpacity::~UniformOpacity ( )
virtual

Member Function Documentation

◆ addShaderCode()

virtual void Pixel::UniformOpacity::addShaderCode ( Material * pMaterial)
virtual

Implements Pixel::Factor.

◆ addShaderResources()

virtual void Pixel::UniformOpacity::addShaderResources ( Material * pMaterial)
virtual

Implements Pixel::Factor.

◆ create()

virtual void Pixel::UniformOpacity::create ( Material * pMaterial)
virtual

Implements Pixel::Factor.

◆ getOpacity()

float Pixel::UniformOpacity::getOpacity ( )
inline

◆ setOpacity()

void Pixel::UniformOpacity::setOpacity ( float opacity)
inline

◆ update()

virtual void Pixel::UniformOpacity::update ( Material * pMaterial)
virtual

Implements Pixel::Factor.


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