TextureStageCollection
from panda3d.core import TextureStageCollection
- class TextureStageCollection
Bases:
DTOOL_SUPER_BASE
Inheritance diagram
- __init__(*args, **kwargs)
- addTextureStage()
C++ Interface: add_texture_stage(const TextureStageCollection self, TextureStage node_texture_stage)
- /**
Adds a new TextureStage to the collection.
*/
- addTextureStagesFrom()
C++ Interface: add_texture_stages_from(const TextureStageCollection self, const TextureStageCollection other)
- /**
Adds all the TextureStages indicated in the other collection to this
texture_stage. The other texture_stages are simply appended to the end of
the texture_stages in this list; duplicates are not automatically removed.
*/
- add_texture_stage()
C++ Interface: add_texture_stage(const TextureStageCollection self, TextureStage node_texture_stage)
- /**
Adds a new TextureStage to the collection.
*/
- add_texture_stages_from()
C++ Interface: add_texture_stages_from(const TextureStageCollection self, const TextureStageCollection other)
- /**
Adds all the TextureStages indicated in the other collection to this
texture_stage. The other texture_stages are simply appended to the end of
the texture_stages in this list; duplicates are not automatically removed.
*/
- assign()
C++ Interface: assign(const TextureStageCollection self, const TextureStageCollection copy)
- clear()
C++ Interface: clear(const TextureStageCollection self)
- /**
Removes all TextureStages from the collection.
*/
- findTextureStage()
C++ Interface: find_texture_stage(TextureStageCollection self, str name)
- /**
Returns the texture_stage in the collection with the indicated name, if
any, or NULL if no texture_stage has that name.
*/
- find_texture_stage()
C++ Interface: find_texture_stage(TextureStageCollection self, str name)
- /**
Returns the texture_stage in the collection with the indicated name, if
any, or NULL if no texture_stage has that name.
*/
- getNumTextureStages()
C++ Interface: get_num_texture_stages(TextureStageCollection self)
- /**
Returns the number of TextureStages in the collection.
*/
- getTextureStage()
C++ Interface: get_texture_stage(TextureStageCollection self, int index)
- /**
Returns the nth TextureStage in the collection.
*/
- getTextureStages()
- get_num_texture_stages()
C++ Interface: get_num_texture_stages(TextureStageCollection self)
- /**
Returns the number of TextureStages in the collection.
*/
- get_texture_stage()
C++ Interface: get_texture_stage(TextureStageCollection self, int index)
- /**
Returns the nth TextureStage in the collection.
*/
- get_texture_stages()
- hasTextureStage()
C++ Interface: has_texture_stage(TextureStageCollection self, TextureStage texture_stage)
- /**
Returns true if the indicated TextureStage appears in this collection,
false otherwise.
*/
- has_texture_stage()
C++ Interface: has_texture_stage(TextureStageCollection self, TextureStage texture_stage)
- /**
Returns true if the indicated TextureStage appears in this collection,
false otherwise.
*/
- output()
C++ Interface: output(TextureStageCollection self, ostream out)
- /**
Writes a brief one-line description of the TextureStageCollection to the
indicated output stream.
*/
- removeDuplicateTextureStages()
C++ Interface: remove_duplicate_texture_stages(const TextureStageCollection self)
- /**
Removes any duplicate entries of the same TextureStages on this collection.
If a TextureStage appears multiple times, the first appearance is retained;
subsequent appearances are removed.
*/
- removeTextureStage()
C++ Interface: remove_texture_stage(const TextureStageCollection self, TextureStage node_texture_stage)
- /**
Removes the indicated TextureStage from the collection. Returns true if
the texture_stage was removed, false if it was not a member of the
collection.
*/
- removeTextureStagesFrom()
C++ Interface: remove_texture_stages_from(const TextureStageCollection self, const TextureStageCollection other)
- /**
Removes from this collection all of the TextureStages listed in the other
collection.
*/
- remove_duplicate_texture_stages()
C++ Interface: remove_duplicate_texture_stages(const TextureStageCollection self)
- /**
Removes any duplicate entries of the same TextureStages on this collection.
If a TextureStage appears multiple times, the first appearance is retained;
subsequent appearances are removed.
*/
- remove_texture_stage()
C++ Interface: remove_texture_stage(const TextureStageCollection self, TextureStage node_texture_stage)
- /**
Removes the indicated TextureStage from the collection. Returns true if
the texture_stage was removed, false if it was not a member of the
collection.
*/
- remove_texture_stages_from()
C++ Interface: remove_texture_stages_from(const TextureStageCollection self, const TextureStageCollection other)
- /**
Removes from this collection all of the TextureStages listed in the other
collection.
*/