VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtIndirectBlendFunction Class Reference

non virtual container class for defining a blending function

Public Member Functions

 DtIndirectBlendFunction ()
 
 DtIndirectBlendFunction (DtIndirectBlendFactor srcRgb, DtIndirectBlendFactor dstRgb, DtIndirectBlendFactor srcAlpha, DtIndirectBlendFactor dstAlpha)
 
 DtIndirectBlendFunction (DtIndirectBlendFactor srcFactor, DtIndirectBlendFactor dstFactor)
 
 DtIndirectBlendFunction (const DtIndirectBlendFunction &other)
 
DtIndirectBlendFunctionoperator= (const DtIndirectBlendFunction &other)
 
 ~DtIndirectBlendFunction ()
 
const DtIndirectBlendFactorsrcRgb (void) const
 
const DtIndirectBlendFactordstRgb (void) const
 
const DtIndirectBlendFactorsrcAlpha (void) const
 
const DtIndirectBlendFactordstAlpha (void) const
 
bool operator== (const DtIndirectBlendFunction &rhs) const
 
bool operator!= (const DtIndirectBlendFunction &rhs) const
 
void apply (void) const
 

Protected Attributes

DtIndirectBlendFactor mySrcRgb
 
DtIndirectBlendFactor myDstRgb
 
DtIndirectBlendFactor mySrcAlpha
 
DtIndirectBlendFactor myDstAlpha
 

Constructor & Destructor Documentation

makVrv::DtIndirectBlendFunction::DtIndirectBlendFunction ( )

ctor (default to ONE, ZERO, ONE, ZERO)

makVrv::DtIndirectBlendFunction::DtIndirectBlendFunction ( DtIndirectBlendFactor  srcRgb,
DtIndirectBlendFactor  dstRgb,
DtIndirectBlendFactor  srcAlpha,
DtIndirectBlendFactor  dstAlpha 
)

ctor

makVrv::DtIndirectBlendFunction::DtIndirectBlendFunction ( DtIndirectBlendFactor  srcFactor,
DtIndirectBlendFactor  dstFactor 
)

ctor same as above, but sets color and alpha the same factors the same

makVrv::DtIndirectBlendFunction::DtIndirectBlendFunction ( const DtIndirectBlendFunction other)

copy constructor

makVrv::DtIndirectBlendFunction::~DtIndirectBlendFunction ( )

destructor - non virtual since this is a container class that should not be derived from

Member Function Documentation

DtIndirectBlendFunction& makVrv::DtIndirectBlendFunction::operator= ( const DtIndirectBlendFunction other)

assignment operator

const DtIndirectBlendFactor& makVrv::DtIndirectBlendFunction::srcRgb ( void  ) const

source rgb factor

const DtIndirectBlendFactor& makVrv::DtIndirectBlendFunction::dstRgb ( void  ) const

destination rgb factor

const DtIndirectBlendFactor& makVrv::DtIndirectBlendFunction::srcAlpha ( void  ) const

source alpha factor

const DtIndirectBlendFactor& makVrv::DtIndirectBlendFunction::dstAlpha ( void  ) const

destination alpha factor

bool makVrv::DtIndirectBlendFunction::operator== ( const DtIndirectBlendFunction rhs) const

equality

bool makVrv::DtIndirectBlendFunction::operator!= ( const DtIndirectBlendFunction rhs) const

in-equality

void makVrv::DtIndirectBlendFunction::apply ( void  ) const

apply the blend function

Member Data Documentation

DtIndirectBlendFactor makVrv::DtIndirectBlendFunction::mySrcRgb
protected
DtIndirectBlendFactor makVrv::DtIndirectBlendFunction::myDstRgb
protected
DtIndirectBlendFactor makVrv::DtIndirectBlendFunction::mySrcAlpha
protected
DtIndirectBlendFactor makVrv::DtIndirectBlendFunction::myDstAlpha
protected

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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)