#pragma region CPL License
/*
Nuclex Native Framework
Copyright (C) 2002-2013 Nuclex Development Labs
This library is free software; you can redistribute it and/or
modify it under the terms of the IBM Common Public License as
published by the IBM Corporation; either version 1.0 of the
License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
IBM Common Public License for more details.
You should have received a copy of the IBM Common Public
License along with this library
*/
#pragma endregion // CPL License
#ifndef NUCLEX_GRAPHICS_INTROSPECTION_RESOURCEORDER_H
#define NUCLEX_GRAPHICS_INTROSPECTION_RESOURCEORDER_H
namespace Nuclex { namespace Graphics { namespace Introspection {
// ------------------------------------------------------------------------------------------- //
namespace ResourceOrder {
/// Indicates the dimensionality of a resource
enum Enum {
/// The resource has an unknown number of dimensions
Unknown = 0,
/// Single, one-dimensional buffer
Buffer = 1,
/// One-dimensional texture with possible mip maps
Texture1 = 2,
/// Array of one-dimensional textures with possible mip maps
Texture1Array = 3,
/// Two-dimensional texture with possible mip maps
Texture2 = 4,
/// Array of two-dimensional textures with possible mip maps
Texture2Array = 5,
/// Three-dimensional texture with possible mip maps
Texture3 = 6,
/// Cube texture containing 6 individual 2D textures
CubeTexture = 7
};
} // namespace ResourceOrder
// ------------------------------------------------------------------------------------------- //
}}} // namespace Nuclex::Graphics::Introspection
#endif // NUCLEX_GRAPHICS_INTROSPECTION_RESOURCEORDER_H