orx 1.16
Portable Game Engine
Loading...
Searching...
No Matches
orxViewport.h File Reference
#include "orxInclude.h"
#include "core/orxClock.h"
#include "render/orxCamera.h"
#include "render/orxShader.h"
#include "display/orxDisplay.h"
#include "display/orxTexture.h"

Go to the source code of this file.

Macros

#define orxVIEWPORT_KU32_FLAG_ALIGN_BOTTOM   0x80000000
#define orxVIEWPORT_KU32_FLAG_ALIGN_CENTER   0x00000000
#define orxVIEWPORT_KU32_FLAG_ALIGN_LEFT   0x10000000
#define orxVIEWPORT_KU32_FLAG_ALIGN_RIGHT   0x20000000
#define orxVIEWPORT_KU32_FLAG_ALIGN_TOP   0x40000000
#define orxVIEWPORT_KU32_FLAG_NO_DEBUG   0x01000000
#define orxVIEWPORT_KU32_MAX_TEXTURE_NUMBER   8

Typedefs

typedef struct __orxVIEWPORT_t orxVIEWPORT

Enumerations

enum  orxVIEWPORT_EVENT { orxVIEWPORT_EVENT_RESIZE = 0 , orxVIEWPORT_EVENT_NUMBER , orxVIEWPORT_EVENT_NONE = orxENUM_NONE }

Functions

orxDLLAPI orxSTATUS orxFASTCALL orxViewport_ClearBackgroundColor (orxVIEWPORT *_pstViewport)
orxDLLAPI orxVIEWPORT *orxFASTCALL orxViewport_Create ()
orxDLLAPI orxVIEWPORT *orxFASTCALL orxViewport_CreateFromConfig (const orxSTRING _zConfigID)
orxDLLAPI orxSTATUS orxFASTCALL orxViewport_Delete (orxVIEWPORT *_pstViewport)
orxDLLAPI void orxFASTCALL orxViewport_Enable (orxVIEWPORT *_pstViewport, orxBOOL _bEnable)
orxDLLAPI void orxFASTCALL orxViewport_EnableShader (orxVIEWPORT *_pstViewport, orxBOOL _bEnable)
orxDLLAPI void orxFASTCALL orxViewport_Exit ()
orxDLLAPI orxVIEWPORT *orxFASTCALL orxViewport_Get (const orxSTRING _zName)
orxDLLAPI orxCOLOR *orxFASTCALL orxViewport_GetBackgroundColor (const orxVIEWPORT *_pstViewport, orxCOLOR *_pstColor)
orxDLLAPI orxDISPLAY_BLEND_MODE orxFASTCALL orxViewport_GetBlendMode (const orxVIEWPORT *_pstViewport)
orxDLLAPI orxAABOX *orxFASTCALL orxViewport_GetBox (const orxVIEWPORT *_pstViewport, orxAABOX *_pstBox)
orxDLLAPI orxCAMERA *orxFASTCALL orxViewport_GetCamera (const orxVIEWPORT *_pstViewport)
orxDLLAPI orxFLOAT orxFASTCALL orxViewport_GetCorrectionRatio (const orxVIEWPORT *_pstViewport)
orxDLLAPI const orxSTRING orxFASTCALL orxViewport_GetName (const orxVIEWPORT *_pstViewport)
orxDLLAPI void orxFASTCALL orxViewport_GetPosition (const orxVIEWPORT *_pstViewport, orxFLOAT *_pfX, orxFLOAT *_pfY)
orxDLLAPI void orxFASTCALL orxViewport_GetRelativeSize (const orxVIEWPORT *_pstViewport, orxFLOAT *_pfWidth, orxFLOAT *_pfHeight)
orxDLLAPI const orxSHADER *orxFASTCALL orxViewport_GetShader (const orxVIEWPORT *_pstViewport)
orxDLLAPI void orxFASTCALL orxViewport_GetSize (const orxVIEWPORT *_pstViewport, orxFLOAT *_pfWidth, orxFLOAT *_pfHeight)
orxDLLAPI orxU32 orxFASTCALL orxViewport_GetTextureCount (const orxVIEWPORT *_pstViewport)
orxDLLAPI orxSTATUS orxFASTCALL orxViewport_GetTextureList (const orxVIEWPORT *_pstViewport, orxU32 _u32TextureNumber, orxTEXTURE **_apstTextureList)
orxDLLAPI orxBOOL orxFASTCALL orxViewport_HasBackgroundColor (const orxVIEWPORT *_pstViewport)
orxDLLAPI orxSTATUS orxFASTCALL orxViewport_Init ()
orxDLLAPI orxBOOL orxFASTCALL orxViewport_IsEnabled (const orxVIEWPORT *_pstViewport)
orxDLLAPI orxBOOL orxFASTCALL orxViewport_IsShaderEnabled (const orxVIEWPORT *_pstViewport)
orxDLLAPI orxSTATUS orxFASTCALL orxViewport_SetBackgroundColor (orxVIEWPORT *_pstViewport, const orxCOLOR *_pstColor)
orxDLLAPI orxSTATUS orxFASTCALL orxViewport_SetBlendMode (orxVIEWPORT *_pstViewport, orxDISPLAY_BLEND_MODE _eBlendMode)
orxDLLAPI void orxFASTCALL orxViewport_SetCamera (orxVIEWPORT *_pstViewport, orxCAMERA *_pstCamera)
orxDLLAPI void orxFASTCALL orxViewport_SetPosition (orxVIEWPORT *_pstViewport, orxFLOAT _fX, orxFLOAT _fY)
orxDLLAPI orxSTATUS orxFASTCALL orxViewport_SetRelativePosition (orxVIEWPORT *_pstViewport, orxU32 _u32AlignFlags)
orxDLLAPI orxSTATUS orxFASTCALL orxViewport_SetRelativeSize (orxVIEWPORT *_pstViewport, orxFLOAT _fWidth, orxFLOAT _fHeight)
orxDLLAPI orxSTATUS orxFASTCALL orxViewport_SetShader (orxVIEWPORT *_pstViewport, orxSHADER *_pstShader)
orxDLLAPI orxSTATUS orxFASTCALL orxViewport_SetShaderFromConfig (orxVIEWPORT *_pstViewport, const orxSTRING _zShaderID)
orxDLLAPI void orxFASTCALL orxViewport_SetSize (orxVIEWPORT *_pstViewport, orxFLOAT _fWidth, orxFLOAT _fHeight)
orxDLLAPI void orxFASTCALL orxViewport_SetTextureList (orxVIEWPORT *_pstViewport, orxU32 _u32TextureNumber, orxTEXTURE **_apstTextureList)
orxDLLAPI void orxFASTCALL orxViewport_Setup ()

Detailed Description


Generated for orx by doxygen 1.8.11