Panda3D
Functions
colorAttrib.cxx File Reference

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

#include "colorAttrib.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) ColorAttrib CPT(RenderAttrib) ColorAttrib CPT (RenderAttrib) ColorAttrib
 Constructs a new ColorAttrib object that indicates geometry should be rendered according to its own vertex color. More...
 

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-02-22

Definition in file colorAttrib.cxx.

Function Documentation

◆ CPT()

Constructs a new ColorAttrib object that indicates geometry should be rendered according to its own vertex color.

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

Constructs a new ColorAttrib object that indicates geometry should be rendered in white.

Constructs a new ColorAttrib object that indicates geometry should be rendered in the indicated color.

Definition at line 31 of file colorAttrib.cxx.