#include <OSGBlendChunk.h>#include <OSGMakeTransparentGraphOp.h>#include <OSGPolygonChunk.h>#include <OSGSimpleMaterial.h>Go to the source code of this file.
Namespaces | |
| namespace | osg |
Classes | |
| struct | Type2Type< T > |
Functions | |
| template<typename T> | |
| T | next (T t) |
| template<typename Chunk> | |
| Chunk::Ptr | getOrAddChunk (ChunkMaterialPtr cm, Type2Type< Chunk >=Type2Type< Chunk >()) |
|
||||||||||
|
Definition at line 62 of file OSGMakeTransparentGraphOp.cpp. Referenced by osg::HalfEdgeGraph::calcOptPrim(), osg::NodeGraph::Node::release(), osg::MergeGraphOp::traverse(), and osg::MaterialMergeGraphOp::traverse().
|
|
||||||||||||||||
|
Definition at line 169 of file OSGMakeTransparentGraphOp.cpp. References osg::beginEditCP(), and osg::endEditCP(). 00170 { 00171 osg::StateChunkPtr stateChunk = cm->find(Chunk::getClassType()); 00172 typename Chunk::Ptr chunk = Chunk::Ptr::dcast(stateChunk); 00173 if (!chunk) { 00174 chunk = Chunk::create(); 00175 beginEditCP(cm); 00176 cm->addChunk(chunk); 00177 endEditCP(cm); 00178 } 00179 return chunk; 00180 }
|
1.4.3