Open CASCADE Technology 6.6.0
|
This class provides environment texture usable only in Visual3d_ContextView
#include <Graphic3d_TextureEnv.hxx>
Public Member Functions | |
Graphic3d_TextureEnv (const TCollection_AsciiString &theFileName) | |
Creates an environment texture from a file. | |
Graphic3d_TextureEnv (const Graphic3d_NameOfTextureEnv theName) | |
Creates an environment texture from a predefined texture name set. | |
Graphic3d_NameOfTextureEnv | Name () const |
Returns the name of the predefined textures or NOT_ENV_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> |
Graphic3d_TextureEnv::Graphic3d_TextureEnv | ( | const TCollection_AsciiString & | theFileName | ) |
Graphic3d_TextureEnv::Graphic3d_TextureEnv | ( | const Graphic3d_NameOfTextureEnv | theName | ) |
Graphic3d_NameOfTextureEnv Graphic3d_TextureEnv::Name | ( | ) | const |
static Standard_Integer Graphic3d_TextureEnv::NumberOfTextures | ( | ) | [static] |
static TCollection_AsciiString Graphic3d_TextureEnv::TextureName | ( | const Standard_Integer | theRank | ) | [static] |