Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions
Graphic3d_TextureEnv Class Reference

This class provides environment texture usable only in Visual3d_ContextView

#include <Graphic3d_TextureEnv.hxx>

Inheritance diagram for Graphic3d_TextureEnv:
Inheritance graph
[legend]

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>


Constructor & Destructor Documentation


Member Function Documentation


The documentation for this class was generated from the following file: