Panda3D
Functions
eggUtilities.cxx File Reference

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

#include "eggUtilities.h"
#include "eggPrimitive.h"
#include "eggGroupNode.h"
#include "pt_EggTexture.h"
#include "dcast.h"

Go to the source code of this file.

Functions

void get_textures_by_filename (const EggNode *node, EggTextureFilenames &result)
 Extracts from the egg subgraph beginning at the indicated node a set of all the texture objects referenced, grouped together by filename. 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
1999-01-28

Definition in file eggUtilities.cxx.

Function Documentation

◆ get_textures_by_filename()

void get_textures_by_filename ( const EggNode node,
EggTextureFilenames result 
)

Extracts from the egg subgraph beginning at the indicated node a set of all the texture objects referenced, grouped together by filename.

Texture objects that share a common filename (but possibly differ in other properties) are returned together in the same element of the map.

Definition at line 28 of file eggUtilities.cxx.

References TypedObject::is_of_type().