Panda3D
Functions
colorBlendAttrib.cxx File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "colorBlendAttrib.h"
#include "graphicsStateGuardianBase.h"
#include "dcast.h"
#include "bamReader.h"
#include "bamWriter.h"
#include "datagram.h"
#include "datagramIterator.h"

Go to the source code of this file.

Functions

 CPT (RenderAttrib) ColorBlendAttrib
 Constructs a new ColorBlendAttrib object that disables special-effect blending, allowing normal transparency to be used instead. More...
 
ostream & operator<< (ostream &out, ColorBlendAttrib::Mode mode)
 
ostream & operator<< (ostream &out, ColorBlendAttrib::Operand operand)
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
drose
Date
2002-03-29

Definition in file colorBlendAttrib.cxx.

Function Documentation

◆ CPT()

CPT ( RenderAttrib  )

Constructs a new ColorBlendAttrib object that disables special-effect blending, allowing normal transparency to be used instead.

Returns a RenderAttrib that corresponds to whatever the standard default properties for render attributes of this type ought to be.

Constructs a new ColorBlendAttrib object that enables special-effect blending.

Constructs a new ColorBlendAttrib object.

This constructor is deprecated; use the one below, which takes three or four parameters, instead.

This supercedes transparency. The given mode and operands are used for both the RGB and alpha channels.

This supercedes transparency. This form is used to specify separate blending parameters for the RGB and alpha channels.

Definition at line 31 of file colorBlendAttrib.cxx.