Open CASCADE Technology 6.6.0
|
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 TCollection_AsciiString | TextureName (const Standard_Integer theRank) |
Returns the name of the predefined texture of rank <aRank> | |
Protected Member Functions | |
Graphic3d_Texture2D (const TCollection_AsciiString &theFileName, const Graphic3d_TypeOfTexture theType) | |
Graphic3d_Texture2D (const Graphic3d_NameOfTexture2D theName, const Graphic3d_TypeOfTexture theType) |
Graphic3d_Texture2D::Graphic3d_Texture2D | ( | const TCollection_AsciiString & | theFileName, |
const Graphic3d_TypeOfTexture | theType | ||
) | [protected] |
Graphic3d_Texture2D::Graphic3d_Texture2D | ( | const Graphic3d_NameOfTexture2D | theName, |
const Graphic3d_TypeOfTexture | theType | ||
) | [protected] |
Graphic3d_NameOfTexture2D Graphic3d_Texture2D::Name | ( | ) | const |
static Standard_Integer Graphic3d_Texture2D::NumberOfTextures | ( | ) | [static] |
static TCollection_AsciiString Graphic3d_Texture2D::TextureName | ( | const Standard_Integer | theRank | ) | [static] |