Microsoft.Xna.Framework.Graphics
Class TextureCollection

java.lang.Object
  extended by Microsoft.Xna.Framework.Graphics.TextureCollection

public final class TextureCollection
extends java.lang.Object

Represents a collection of Texture objects.

Author:
Halofreak1990

Method Summary
protected  void finalize()
           
 Texture get(int index)
          Gets the Texture at the specified sampler number.
 void set(int index, Texture value)
          Sets the Texture at the specified sampler number.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public Texture get(int index)
Gets the Texture at the specified sampler number.

Parameters:
index - Zero-based sampler number. Textures are bound to samplers; samplers define sampling state such as the filtering mode and the address wrapping mode. Programmable shaders reference textures using this sampler number.

set

public void set(int index,
                Texture value)
Sets the Texture at the specified sampler number.

Parameters:
index - Zero-based sampler number. Textures are bound to samplers; samplers define sampling state such as the filtering mode and the address wrapping mode. Programmable shaders reference textures using this sampler number.

finalize

protected void finalize()
Overrides:
finalize in class java.lang.Object