TextureStageCollection

class TextureStageCollection

Inheritance diagram

digraph inheritancec495021eaf { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "TextureStageCollection" [URL="acron.core.TextureStageCollection.html#acron.core.TextureStageCollection",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "TextureStageCollection" [arrowsize=0.75,style=""]; }
TextureStageCollection.__add__()
TextureStageCollection.__getitem__()

Returns the nth TextureStage in the collection. This is the same as get_texture_stage(), but it may be a more convenient way to access it.

TextureStageCollection.__iadd__()
TextureStageCollection.__init__()
TextureStageCollection.add_texture_stage()

Adds a new TextureStage to the collection.

TextureStageCollection.add_texture_stages_from()

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.

TextureStageCollection.assign()
TextureStageCollection.clear()

Removes all TextureStages from the collection.

TextureStageCollection.find_texture_stage()

Returns the texture_stage in the collection with the indicated name, if any, or NULL if no texture_stage has that name.

TextureStageCollection.get_num_texture_stages()

Returns the number of TextureStages in the collection.

TextureStageCollection.get_texture_stage()

Returns the nth TextureStage in the collection.

TextureStageCollection.has_texture_stage()

Returns true if the indicated TextureStage appears in this collection, false otherwise.

TextureStageCollection.output()

Writes a brief one-line description of the TextureStageCollection to the indicated output stream.

TextureStageCollection.remove_duplicate_texture_stages()

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.

TextureStageCollection.remove_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.

TextureStageCollection.remove_texture_stages_from()

Removes from this collection all of the TextureStages listed in the other collection.

TextureStageCollection.size()

Returns the number of texture stages in the collection. This is the same thing as get_num_texture_stages().

TextureStageCollection.sort()

Sorts the TextureStages in this collection into order by TextureStage::sort(), from lowest to highest.

TextureStageCollection.write()

Writes a complete multi-line description of the TextureStageCollection to the indicated output stream.