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

Renderer - class imaging using the active camera selected scene. More...

Inheritance diagram for csad::Renderer:
csad::BaseObject

Public Types

enum  MODES {
  NOSORT = 0x00000000, NO = 0x00000000, ZUP = 0x00000001, ZDOWN = 0x00000002,
  TREE = 0x00000003
}
 
- 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...
 

Public Member Functions

_FORCEINLINE bool active ()
 State render action.
 
CSAD_API void * set (unsigned _int32, void *)
 used for any interface commands.
 
CSAD_API void setActive (bool)
 Activate render.
 
CSAD_API void setCamera (Camera *camera)
 To install the active camera.
 
CSAD_API void setContext (GlContext *context)
 To set the display context.
 
CSAD_API void setSelectInput (char *path)
 Sets the active input object.
 
CSAD_API void setSort (unsigned int mode)
 sort mode
 
- Public Member Functions inherited from csad::BaseObject
_FORCEINLINE bool isContainer ()
 returns true if the object is a container.
 
_FORCEINLINE ParametersListread (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.
 

Detailed Description

Renderer - class imaging using the active camera selected scene.

For description in the configuration:

  <Renderer name="the name of the scene" order="step of rendering" camera="camera name" context="device context name" input="input device" sort="sort mode"/>
See Also
csad: scene

Member Enumeration Documentation

Enumerator
NOSORT 

without sorting

NO 

without sorting

ZUP 

sorting objects before drawing the first nearest

ZDOWN 

sorting objects before drawing the first far

TREE 

sorting objects before drawing the first parent