Open CASCADE Technology
6.5.4
|
This abstract class for managing 2D textures
#include <Graphic3d_Texture2D.hxx>
Public Member Functions | |
Graphic3d_NameOfTexture2D | Name () const |
Returns the name of the predefined textures or NOT_2D_UNKNOWN when the name is given as a filename. | |
Static Public Member Functions | |
static Standard_Integer | NumberOfTextures () |
Returns the number of predefined textures. | |
static Standard_CString | TextureName (const Standard_Integer aRank) |
Returns the name of the predefined texture of rank <aRank> | |
Protected Member Functions | |
Graphic3d_Texture2D (const Handle< Graphic3d_StructureManager > &SM, const Standard_CString aFileName, const Graphic3d_TypeOfTexture aType) | |
Graphic3d_Texture2D (const Handle< Graphic3d_StructureManager > &SM, const Graphic3d_NameOfTexture2D aName, const Graphic3d_TypeOfTexture aType) |
Graphic3d_Texture2D::Graphic3d_Texture2D | ( | const Handle< Graphic3d_StructureManager > & | SM, |
const Standard_CString | aFileName, | ||
const Graphic3d_TypeOfTexture | aType | ||
) | [protected] |
Graphic3d_Texture2D::Graphic3d_Texture2D | ( | const Handle< Graphic3d_StructureManager > & | SM, |
const Graphic3d_NameOfTexture2D | aName, | ||
const Graphic3d_TypeOfTexture | aType | ||
) | [protected] |
static Standard_Integer Graphic3d_Texture2D::NumberOfTextures | ( | ) | [static] |
static Standard_CString Graphic3d_Texture2D::TextureName | ( | const Standard_Integer | aRank | ) | [static] |