2010-12-04 16:14:34 +00:00
|
|
|
|
/********************************************************
|
|
|
|
|
* TextureCollection.h *
|
|
|
|
|
* *
|
|
|
|
|
* XFX TextureCollection definition file *
|
|
|
|
|
* Copyright <EFBFBD> XFX Team. All Rights Reserved *
|
|
|
|
|
********************************************************/
|
|
|
|
|
#ifndef _XFX_GRAPHICS_TEXTURECOLLECTION_
|
|
|
|
|
#define _XFX_GRAPHICS_TEXTURECOLLECTION_
|
|
|
|
|
|
|
|
|
|
#include <System/Collections/Generic/List.h>
|
|
|
|
|
|
|
|
|
|
using namespace System::Collections::Generic;
|
|
|
|
|
|
|
|
|
|
namespace XFX
|
|
|
|
|
{
|
|
|
|
|
namespace Graphics
|
|
|
|
|
{
|
2011-06-09 12:57:16 +00:00
|
|
|
|
class Texture;
|
|
|
|
|
|
2010-12-04 16:14:34 +00:00
|
|
|
|
/// <summary>
|
2010-12-27 01:01:25 +00:00
|
|
|
|
/// Represents a collection of Texture objects.
|
2010-12-04 16:14:34 +00:00
|
|
|
|
/// </summary>
|
|
|
|
|
class TextureCollection
|
|
|
|
|
{
|
|
|
|
|
private:
|
|
|
|
|
bool disposed;
|
2010-12-27 01:01:25 +00:00
|
|
|
|
List<Texture*> textures;
|
2010-12-04 16:14:34 +00:00
|
|
|
|
void Dispose(bool disposing);
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
TextureCollection();
|
|
|
|
|
~TextureCollection();
|
|
|
|
|
|
2011-06-09 12:57:16 +00:00
|
|
|
|
void Dispose();
|
|
|
|
|
|
2010-12-27 01:01:25 +00:00
|
|
|
|
Texture* operator[](int index);
|
2010-12-04 16:14:34 +00:00
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif //_XFX_GRAPHICS_TEXTURECOLLECTION_
|