CSAD
 All Classes Namespaces Functions Variables Enumerations Enumerator Friends Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
csad::Graph Class Reference

Graph - Manager graphics. More...

Inheritance diagram for csad::Graph:
csad::BaseObject

Public Member Functions

CSAD_API Display * createDisplay (char *name)
 Creates the object of the screen with the specified name, or returns available if the object of the screen with the same name already been created.
 
CSAD_API Material * createMaterial (char *name)
 Creates material.
 
_FORCEINLINE Material * createMaterial (const char *name="")
 Creates material.
 
CSAD_API Scene * createScene (char *name)
 Creates the environment of the scene with the specified name, or returns available if the environment of the scene with the same name already been created.
 
_FORCEINLINE Scene * createScene (const char *name="")
 Creates the environment of the scene with the specified name, or returns available if the environment of the scene with the same name already been created.
 
CSAD_API Shader * createShader (char *name)
 Creates Shader.
 
_FORCEINLINE Shader * createShader (const char *name="")
 Creates Shader.
 
CSAD_API Style * createStyle (char *name)
 Creates a container styles, or returns available if the container styles with the same name already been created.
 
_FORCEINLINE Style * createStyle (const char *name="")
 Creates a container styles, or returns available if the container styles with the same name already been created.
 
CSAD_API Texture2D * createTexture2D (char *name)
 Creates texture.
 
CSAD_API GlContext * getContext (char *path)
 returns the object context in his way
 
CSAD_API Display * getDisplay (char *name)
 Restores a screen object at the specified name.
 
CSAD_API Display * getDisplayByHandle (void *handle)
 Restores a screen object associated with the specified ID image.
 
CSAD_API Display * getDisplayIntersect (vector3f *pos)
 Restores a screen object associated with the specified point.
 
CSAD_API Material * getMaterial (char *name)
 returns the мaterial object by its name
 
_FORCEINLINE Material * getMaterial (const char *name)
 returns the мaterial object by its name
 
CSAD_API Scene * getScene (char *name)
 Returns the scene with the specified name.
 
CSAD_API Shader * getShader (char *name)
 returns the texture object by its name
 
_FORCEINLINE Shader * getShader (const char *name)
 returns the texture object by its name
 
CSAD_API Style * getStyle (char *name)
 returns the container style object by its name
 
_FORCEINLINE Style * getStyle (const char *name)
 returns the container style object by its name
 
CSAD_API Texture2D * getTexture2D (char *name)
 returns the texture object by its name
 
_FORCEINLINE Texture2D * getTexture2D (const char *name)
 returns the texture object by its name
 
CSAD_API void * set (unsigned _int32, void *)
 used for any interface commands.
 
- Public Member Functions inherited from csad::BaseObject
_FORCEINLINE bool isContainer ()
 returns true if the object is a container.
 
_FORCEINLINE ParametersList * read (ParametersList *data)
 read attributes object.
 
_FORCEINLINE void * type ()
 the output pointer to the typeid() of the class.
 
_FORCEINLINE void write (ParametersList *data)
 record attributes of the object.
 

Static Public Member Functions

static CSAD_API Graph & graph ()
 Active Manager graphical elements.
 
static CSAD_API Scene * scene ()
 active scene, the scene becomes active during the build its projection using Renderer
 
static CSAD_API bool type (void *type)
 returns true if the object type belongs to the graphics Manager
 

Additional Inherited Members

- Public Types inherited from csad::BaseObject
enum  BASE {
  ANY = 0x00000000, EVENT = 0x00000001, TYPE = 0x00000002, CONTAINER = 0x00000003,
  MANAGER_COUNT = 0x00000004, MANAGER = 0x00000005, WRITE = 0x00000006, READ = 0x00000007,
  SELECT = 0x00000008, RUN = 0x00000009, LIST = 0x0000000A, LIST_COUNT = 0x0000000B,
  NAME = 0x0000000C, CHILD_NAME = 0x0000000D
}
 the basic format of the interface More...
 

Detailed Description

Graph - Manager graphics.

See Also
csad: core