Image Component Library (ICL)
Public Member Functions | Public Attributes | List of all members
icl::geom::AlphaFuncProperty Struct Reference

extra base class for primitives, that use a special alpha function (in particular textures) More...

#include <Primitive.h>

Inheritance diagram for icl::geom::AlphaFuncProperty:
icl::geom::GenericTexturePrimitive icl::geom::SharedTexturePrimitive icl::geom::TextureGridPrimitive icl::geom::TexturePrimitive icl::geom::TwoSidedTextureGridPrimitive icl::geom::TextPrimitive

Public Member Functions

ICLGeom_API AlphaFuncProperty ()
 base constructor setting up to GL_GREATER 0.1 More...
 
 AlphaFuncProperty (int alphaFunc, float alphaValue)
 
void setAlphaFunc (int func, float value)
 used for setting up the alpha func, that is used to render this texture primitive More...
 
ICLGeom_API void restoreAlphaDefaults ()
 

Public Attributes

int alphaFunc
 < used for glAlphaFunc call glAlphaFunc((GLenum)alphaFunc,alphaValue) More...
 
float alphaValue
 < used for glAlphaFunc call glAlphaFunc((GLenum)alphaFunc,alphaValue) More...
 

Detailed Description

extra base class for primitives, that use a special alpha function (in particular textures)

Constructor & Destructor Documentation

◆ AlphaFuncProperty() [1/2]

ICLGeom_API icl::geom::AlphaFuncProperty::AlphaFuncProperty ( )

base constructor setting up to GL_GREATER 0.1

◆ AlphaFuncProperty() [2/2]

icl::geom::AlphaFuncProperty::AlphaFuncProperty ( int  alphaFunc,
float  alphaValue 
)
inline

Member Function Documentation

◆ restoreAlphaDefaults()

ICLGeom_API void icl::geom::AlphaFuncProperty::restoreAlphaDefaults ( )

◆ setAlphaFunc()

void icl::geom::AlphaFuncProperty::setAlphaFunc ( int  func,
float  value 
)
inline

used for setting up the alpha func, that is used to render this texture primitive

Member Data Documentation

◆ alphaFunc

int icl::geom::AlphaFuncProperty::alphaFunc

< used for glAlphaFunc call glAlphaFunc((GLenum)alphaFunc,alphaValue)

◆ alphaValue

float icl::geom::AlphaFuncProperty::alphaValue

< used for glAlphaFunc call glAlphaFunc((GLenum)alphaFunc,alphaValue)


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