orx 1.16
Portable Game Engine
Loading...
Searching...
No Matches
OrxRender

Data Structures

struct  orxRENDER_EVENT_PAYLOAD

Macros

#define orxRENDER_KZ_CONFIG_CONSOLE_ALPHA   "ConsoleAlpha"
#define orxRENDER_KZ_CONFIG_CONSOLE_BACKGROUND_ALPHA   "ConsoleBackgroundAlpha"
#define orxRENDER_KZ_CONFIG_CONSOLE_BACKGROUND_COLOR   "ConsoleBackgroundColor"
#define orxRENDER_KZ_CONFIG_CONSOLE_COLOR   "ConsoleColor"
#define orxRENDER_KZ_CONFIG_CONSOLE_COMPLETION_ALPHA   "ConsoleCompletionAlpha"
#define orxRENDER_KZ_CONFIG_CONSOLE_COMPLETION_COLOR   "ConsoleCompletionColor"
#define orxRENDER_KZ_CONFIG_CONSOLE_FONT_SCALE   "ConsoleFontScale"
#define orxRENDER_KZ_CONFIG_CONSOLE_INPUT_ALPHA   "ConsoleInputAlpha"
#define orxRENDER_KZ_CONFIG_CONSOLE_INPUT_COLOR   "ConsoleInputColor"
#define orxRENDER_KZ_CONFIG_CONSOLE_LOG_ALPHA   "ConsoleLogAlpha"
#define orxRENDER_KZ_CONFIG_CONSOLE_LOG_COLOR   "ConsoleLogColor"
#define orxRENDER_KZ_CONFIG_CONSOLE_SEPARATOR_ALPHA   "ConsoleSeparatorAlpha"
#define orxRENDER_KZ_CONFIG_CONSOLE_SEPARATOR_COLOR   "ConsoleSeparatorColor"
#define orxRENDER_KZ_CONFIG_MIN_FREQUENCY   "MinFrequency"
#define orxRENDER_KZ_CONFIG_PROFILER_ORIENTATION   "ProfilerOrientation"
#define orxRENDER_KZ_CONFIG_SECTION   "Render"
#define orxRENDER_KZ_CONFIG_SHOW_FPS   "ShowFPS"
#define orxRENDER_KZ_CONFIG_SHOW_PROFILER   "ShowProfiler"
#define orxRENDER_KZ_INPUT_PROFILER_NEXT_DEPTH   "NextDepth"
#define orxRENDER_KZ_INPUT_PROFILER_NEXT_FRAME   "NextFrame"
#define orxRENDER_KZ_INPUT_PROFILER_NEXT_THREAD   "NextThread"
#define orxRENDER_KZ_INPUT_PROFILER_PAUSE   "Pause"
#define orxRENDER_KZ_INPUT_PROFILER_PREVIOUS_DEPTH   "PreviousDepth"
#define orxRENDER_KZ_INPUT_PROFILER_PREVIOUS_FRAME   "PreviousFrame"
#define orxRENDER_KZ_INPUT_PROFILER_PREVIOUS_THREAD   "PreviousThread"
#define orxRENDER_KZ_INPUT_PROFILER_TOGGLE_HISTORY   "ToggleHistory"
#define orxRENDER_KZ_INPUT_SET   "orx:input:profiler"

Enumerations

enum  orxRENDER_EVENT {
  orxRENDER_EVENT_START = 0 , orxRENDER_EVENT_STOP , orxRENDER_EVENT_VIEWPORT_START , orxRENDER_EVENT_VIEWPORT_STOP ,
  orxRENDER_EVENT_OBJECT_START , orxRENDER_EVENT_OBJECT_STOP , orxRENDER_EVENT_CONSOLE_START , orxRENDER_EVENT_CONSOLE_STOP ,
  orxRENDER_EVENT_PROFILER_START , orxRENDER_EVENT_PROFILER_STOP , orxRENDER_EVENT_NUMBER , orxRENDER_EVENT_NONE = orxENUM_NONE
}

Functions

orxDLLAPI void orxFASTCALL orxRender_Exit ()
orxDLLAPI orxVECTOR *orxFASTCALL orxRender_GetScreenPosition (const orxVECTOR *_pvWorldPosition, const orxVIEWPORT *_pstViewport, orxVECTOR *_pvScreenPosition)
orxDLLAPI orxVECTOR *orxFASTCALL orxRender_GetWorldPosition (const orxVECTOR *_pvScreenPosition, const orxVIEWPORT *_pstViewport, orxVECTOR *_pvWorldPosition)
orxDLLAPI orxSTATUS orxFASTCALL orxRender_Init ()
orxDLLAPI void orxFASTCALL orxRender_Setup ()

Detailed Description

Render plugin module Renders visible objects on screen, using active cameras/viewports.

Macro Definition Documentation

◆ orxRENDER_KZ_CONFIG_CONSOLE_ALPHA

#define orxRENDER_KZ_CONFIG_CONSOLE_ALPHA   "ConsoleAlpha"

Definition at line 64 of file orxRender.h.

◆ orxRENDER_KZ_CONFIG_CONSOLE_BACKGROUND_ALPHA

#define orxRENDER_KZ_CONFIG_CONSOLE_BACKGROUND_ALPHA   "ConsoleBackgroundAlpha"

Definition at line 67 of file orxRender.h.

◆ orxRENDER_KZ_CONFIG_CONSOLE_BACKGROUND_COLOR

#define orxRENDER_KZ_CONFIG_CONSOLE_BACKGROUND_COLOR   "ConsoleBackgroundColor"

Definition at line 66 of file orxRender.h.

◆ orxRENDER_KZ_CONFIG_CONSOLE_COLOR

#define orxRENDER_KZ_CONFIG_CONSOLE_COLOR   "ConsoleColor"

Definition at line 63 of file orxRender.h.

◆ orxRENDER_KZ_CONFIG_CONSOLE_COMPLETION_ALPHA

#define orxRENDER_KZ_CONFIG_CONSOLE_COMPLETION_ALPHA   "ConsoleCompletionAlpha"

Definition at line 73 of file orxRender.h.

◆ orxRENDER_KZ_CONFIG_CONSOLE_COMPLETION_COLOR

#define orxRENDER_KZ_CONFIG_CONSOLE_COMPLETION_COLOR   "ConsoleCompletionColor"

Definition at line 72 of file orxRender.h.

◆ orxRENDER_KZ_CONFIG_CONSOLE_FONT_SCALE

#define orxRENDER_KZ_CONFIG_CONSOLE_FONT_SCALE   "ConsoleFontScale"

Definition at line 76 of file orxRender.h.

◆ orxRENDER_KZ_CONFIG_CONSOLE_INPUT_ALPHA

#define orxRENDER_KZ_CONFIG_CONSOLE_INPUT_ALPHA   "ConsoleInputAlpha"

Definition at line 71 of file orxRender.h.

◆ orxRENDER_KZ_CONFIG_CONSOLE_INPUT_COLOR

#define orxRENDER_KZ_CONFIG_CONSOLE_INPUT_COLOR   "ConsoleInputColor"

Definition at line 70 of file orxRender.h.

◆ orxRENDER_KZ_CONFIG_CONSOLE_LOG_ALPHA

#define orxRENDER_KZ_CONFIG_CONSOLE_LOG_ALPHA   "ConsoleLogAlpha"

Definition at line 75 of file orxRender.h.

◆ orxRENDER_KZ_CONFIG_CONSOLE_LOG_COLOR

#define orxRENDER_KZ_CONFIG_CONSOLE_LOG_COLOR   "ConsoleLogColor"

Definition at line 74 of file orxRender.h.

◆ orxRENDER_KZ_CONFIG_CONSOLE_SEPARATOR_ALPHA

#define orxRENDER_KZ_CONFIG_CONSOLE_SEPARATOR_ALPHA   "ConsoleSeparatorAlpha"

Definition at line 69 of file orxRender.h.

◆ orxRENDER_KZ_CONFIG_CONSOLE_SEPARATOR_COLOR

#define orxRENDER_KZ_CONFIG_CONSOLE_SEPARATOR_COLOR   "ConsoleSeparatorColor"

Definition at line 68 of file orxRender.h.

◆ orxRENDER_KZ_CONFIG_MIN_FREQUENCY

#define orxRENDER_KZ_CONFIG_MIN_FREQUENCY   "MinFrequency"

Definition at line 61 of file orxRender.h.

◆ orxRENDER_KZ_CONFIG_PROFILER_ORIENTATION

#define orxRENDER_KZ_CONFIG_PROFILER_ORIENTATION   "ProfilerOrientation"

Definition at line 62 of file orxRender.h.

◆ orxRENDER_KZ_CONFIG_SECTION

#define orxRENDER_KZ_CONFIG_SECTION   "Render"

Misc defines

Definition at line 58 of file orxRender.h.

◆ orxRENDER_KZ_CONFIG_SHOW_FPS

#define orxRENDER_KZ_CONFIG_SHOW_FPS   "ShowFPS"

Definition at line 59 of file orxRender.h.

◆ orxRENDER_KZ_CONFIG_SHOW_PROFILER

#define orxRENDER_KZ_CONFIG_SHOW_PROFILER   "ShowProfiler"

Definition at line 60 of file orxRender.h.

◆ orxRENDER_KZ_INPUT_PROFILER_NEXT_DEPTH

#define orxRENDER_KZ_INPUT_PROFILER_NEXT_DEPTH   "NextDepth"

Definition at line 88 of file orxRender.h.

◆ orxRENDER_KZ_INPUT_PROFILER_NEXT_FRAME

#define orxRENDER_KZ_INPUT_PROFILER_NEXT_FRAME   "NextFrame"

Definition at line 86 of file orxRender.h.

◆ orxRENDER_KZ_INPUT_PROFILER_NEXT_THREAD

#define orxRENDER_KZ_INPUT_PROFILER_NEXT_THREAD   "NextThread"

Definition at line 90 of file orxRender.h.

◆ orxRENDER_KZ_INPUT_PROFILER_PAUSE

#define orxRENDER_KZ_INPUT_PROFILER_PAUSE   "Pause"

Definition at line 84 of file orxRender.h.

◆ orxRENDER_KZ_INPUT_PROFILER_PREVIOUS_DEPTH

#define orxRENDER_KZ_INPUT_PROFILER_PREVIOUS_DEPTH   "PreviousDepth"

Definition at line 87 of file orxRender.h.

◆ orxRENDER_KZ_INPUT_PROFILER_PREVIOUS_FRAME

#define orxRENDER_KZ_INPUT_PROFILER_PREVIOUS_FRAME   "PreviousFrame"

Definition at line 85 of file orxRender.h.

◆ orxRENDER_KZ_INPUT_PROFILER_PREVIOUS_THREAD

#define orxRENDER_KZ_INPUT_PROFILER_PREVIOUS_THREAD   "PreviousThread"

Definition at line 89 of file orxRender.h.

◆ orxRENDER_KZ_INPUT_PROFILER_TOGGLE_HISTORY

#define orxRENDER_KZ_INPUT_PROFILER_TOGGLE_HISTORY   "ToggleHistory"

Definition at line 83 of file orxRender.h.

◆ orxRENDER_KZ_INPUT_SET

#define orxRENDER_KZ_INPUT_SET   "orx:input:profiler"

Inputs

Definition at line 81 of file orxRender.h.

Enumeration Type Documentation

◆ orxRENDER_EVENT

Event enum

Enumerator
orxRENDER_EVENT_START 

Event sent when rendering starts

orxRENDER_EVENT_STOP 

Event sent when rendering stops

orxRENDER_EVENT_VIEWPORT_START 

Event sent when a viewport rendering starts

orxRENDER_EVENT_VIEWPORT_STOP 

Event sent when a viewport rendering stops

orxRENDER_EVENT_OBJECT_START 

Event sent when an object rendering starts

orxRENDER_EVENT_OBJECT_STOP 

Event sent when an object rendering stops

orxRENDER_EVENT_CONSOLE_START 

Event sent when console rendering starts

orxRENDER_EVENT_CONSOLE_STOP 

Event sent when console rendering stops

orxRENDER_EVENT_PROFILER_START 

Event sent when profiler rendering starts

orxRENDER_EVENT_PROFILER_STOP 

Event sent when profiler rendering stops

orxRENDER_EVENT_NUMBER 
orxRENDER_EVENT_NONE 

Definition at line 95 of file orxRender.h.

Function Documentation

◆ orxRender_Exit()

orxDLLAPI void orxFASTCALL orxRender_Exit ( )
extern

Exits from the render module

◆ orxRender_GetScreenPosition()

orxDLLAPI orxVECTOR *orxFASTCALL orxRender_GetScreenPosition ( const orxVECTOR * _pvWorldPosition,
const orxVIEWPORT * _pstViewport,
orxVECTOR * _pvScreenPosition )
extern

Get a screen position given a world one and a viewport (rendering position)

Parameters
[in]_pvWorldPositionConcerned world position
[in]_pstViewportConcerned viewport, if orxNULL then the last viewport with a camera will be used
[out]_pvScreenPositionCorresponding screen position
Returns
orxVECTOR if found (can be off-screen), orxNULL otherwise

◆ orxRender_GetWorldPosition()

orxDLLAPI orxVECTOR *orxFASTCALL orxRender_GetWorldPosition ( const orxVECTOR * _pvScreenPosition,
const orxVIEWPORT * _pstViewport,
orxVECTOR * _pvWorldPosition )
extern

Get a world position given a screen one (absolute picking)

Parameters
[in]_pvScreenPositionConcerned screen position
[in]_pstViewportConcerned viewport, if orxNULL then either the last viewport that contains the position (if any), or the last viewport with a camera in the list if none contains the position
[out]_pvWorldPositionCorresponding world position
Returns
orxVECTOR if found inside the display surface, orxNULL otherwise

◆ orxRender_Init()

orxDLLAPI orxSTATUS orxFASTCALL orxRender_Init ( )
extern

Inits the render module

Returns
orxSTATUS_SUCCESS / orxSTATUS_FAILURE

◆ orxRender_Setup()

orxDLLAPI void orxFASTCALL orxRender_Setup ( )
extern

Render module setup


Generated for orx by doxygen 1.8.11