Open CASCADE Technology
6.5.4
|
This class provides environment texture usable only in Visual3d_ContextView
#include <Graphic3d_TextureEnv.hxx>
Public Member Functions | |
Graphic3d_TextureEnv (const Handle< Graphic3d_StructureManager > &SM, const Standard_CString aFileName) | |
Creates an environment texture from a file | |
Graphic3d_TextureEnv (const Handle< Graphic3d_StructureManager > &SM, const Graphic3d_NameOfTextureEnv aName) | |
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 Standard_CString | TextureName (const Standard_Integer aRank) |
Returns the name of the predefined texture of rank <aRank> |
Graphic3d_TextureEnv::Graphic3d_TextureEnv | ( | const Handle< Graphic3d_StructureManager > & | SM, |
const Standard_CString | aFileName | ||
) |
Graphic3d_TextureEnv::Graphic3d_TextureEnv | ( | const Handle< Graphic3d_StructureManager > & | SM, |
const Graphic3d_NameOfTextureEnv | aName | ||
) |
static Standard_Integer Graphic3d_TextureEnv::NumberOfTextures | ( | ) | [static] |
static Standard_CString Graphic3d_TextureEnv::TextureName | ( | const Standard_Integer | aRank | ) | [static] |