15#define OSG_BLENDFUNCI 1
29 BlendFunci(
unsigned int buf, GLenum source, GLenum destination):
33 BlendFunci(
unsigned int buf, GLenum source, GLenum destination, GLenum source_alpha, GLenum destination_alpha):
34 BlendFunc(source, destination, source_alpha, destination_alpha),
#define COMPARE_StateAttribute_Parameter(parameter)
COMPARE_StateAttribute_Parameter macro is a helper for implementing the StatateAtribute::compare(....
Definition StateAttribute:69
#define COMPARE_StateAttribute_Types(TYPE, rhs_attribute)
COMPARE_StateAttribute_Types macro is a helper for implementing the StateAtribute::compare(....
Definition StateAttribute:57
The core osg library provides the basic scene graph classes such as Nodes, State and Drawables,...
Definition AlphaFunc:19
virtual int compare(const StateAttribute &sa) const
Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.
Definition BlendFunc:85
virtual int compare(const StateAttribute &sa) const
Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.
Definition BlendFunci:45
BlendFunci(const BlendFunci &cm, const CopyOp ©op=CopyOp::SHALLOW_COPY)
Copy constructor using CopyOp to manage deep vs shallow copy.
Definition BlendFunci:38
unsigned int _index
Definition BlendFunci:71
BlendFunci(unsigned int buf, GLenum source, GLenum destination)
Definition BlendFunci:29
META_StateAttribute(osg, BlendFunci, BLENDFUNC)
void setIndex(unsigned int buf)
Set the renderbuffer index of the BlendFunci.
unsigned int getIndex() const
Get the renderbuffer index of the BlendFunci.
Definition BlendFunci:63
BlendFunci(unsigned int buf, GLenum source, GLenum destination, GLenum source_alpha, GLenum destination_alpha)
Definition BlendFunci:33
virtual unsigned int getMember() const
Return the buffer index as the member identifier.
Definition BlendFunci:57
virtual void apply(State &state) const
apply the OpenGL state attributes.
Copy Op(erator) used to control whether shallow or deep copy is used during copy construction and clo...
Definition CopyOp:41
@ SHALLOW_COPY
Definition CopyOp:47
Encapsulates the current applied OpenGL modes, attributes and vertex arrays settings,...
Definition State:80
Base class for state attributes.
Definition StateAttribute:77
@ BLENDFUNC
Definition StateAttribute:149
#define OSG_EXPORT
Definition Export:39