DX9ToolsR4 - Created by: X

SimpleTextureCollection.Add Method 

Adds a Direct3D.Texture type to the collection.

[Visual Basic]
Public Function Add( _
   ByVal Item As Texture _
) As Integer
[C#]
public int Add(
   Texture Item
);

Parameters

Item
A reference to a Direct3D.Texture type.

Return Value

Returns the index that the item was added to.

Exceptions

Exception TypeCondition
ArgumentNullException Will throw a ArgumentNullException Exception if 'Item' is nothing.

See Also

SimpleTextureCollection Class | CBX.Libs.DX9ToolsR4.Collections Namespace