orx 1.16
Portable Game Engine
|
Data Structures | |
struct | orxCHARACTER_GLYPH |
struct | orxCHARACTER_MAP |
struct | orxCOLOR |
struct | orxDISPLAY_EVENT_PAYLOAD |
struct | orxDISPLAY_MESH |
struct | orxDISPLAY_TRANSFORM |
struct | orxDISPLAY_VERTEX |
struct | orxDISPLAY_VIDEO_MODE |
struct | orxRGBA |
Typedefs | |
typedef struct __orxBITMAP_t | orxBITMAP |
Functions | |
static orxINLINE orxCOLOR * | orxColor_Copy (orxCOLOR *_pstDst, const orxCOLOR *_pstSrc) |
static orxCOLOR *orxFASTCALL | orxColor_FromHSLToRGB (orxCOLOR *_pstDst, const orxCOLOR *_pstSrc) |
static orxCOLOR *orxFASTCALL | orxColor_FromHSVToRGB (orxCOLOR *_pstDst, const orxCOLOR *_pstSrc) |
static orxCOLOR *orxFASTCALL | orxColor_FromRGBToHSL (orxCOLOR *_pstDst, const orxCOLOR *_pstSrc) |
static orxCOLOR *orxFASTCALL | orxColor_FromRGBToHSV (orxCOLOR *_pstDst, const orxCOLOR *_pstSrc) |
static orxINLINE orxCOLOR * | orxColor_Set (orxCOLOR *_pstColor, const orxVECTOR *_pvRGB, orxFLOAT _fAlpha) |
static orxINLINE orxCOLOR * | orxColor_SetAlpha (orxCOLOR *_pstColor, orxFLOAT _fAlpha) |
static orxINLINE orxCOLOR * | orxColor_SetRGB (orxCOLOR *_pstColor, const orxVECTOR *_pvRGB) |
static orxINLINE orxCOLOR * | orxColor_SetRGBA (orxCOLOR *_pstColor, orxRGBA _stRGBA) |
static orxINLINE orxRGBA | orxColor_ToRGBA (const orxCOLOR *_pstColor) |
orxDLLAPI orxSTATUS orxFASTCALL | orxDisplay_ClearBitmap (orxBITMAP *_pstBitmap, orxRGBA _stColor) |
orxDLLAPI orxBITMAP *orxFASTCALL | orxDisplay_CreateBitmap (orxU32 _u32Width, orxU32 _u32Height) |
orxDLLAPI orxHANDLE orxFASTCALL | orxDisplay_CreateShader (const orxSTRING *_azCodeList, orxU32 _u32Size, const orxLINKLIST *_pstParamList, orxBOOL _bUseCustomParam) |
orxDLLAPI void orxFASTCALL | orxDisplay_DeleteBitmap (orxBITMAP *_pstBitmap) |
orxDLLAPI void orxFASTCALL | orxDisplay_DeleteShader (orxHANDLE _hShader) |
orxDLLAPI orxSTATUS orxFASTCALL | orxDisplay_DrawCircle (const orxVECTOR *_pvCenter, orxFLOAT _fRadius, orxRGBA _stColor, orxBOOL _bFill) |
orxDLLAPI orxSTATUS orxFASTCALL | orxDisplay_DrawLine (const orxVECTOR *_pvStart, const orxVECTOR *_pvEnd, orxRGBA _stColor) |
orxDLLAPI orxSTATUS orxFASTCALL | orxDisplay_DrawMesh (const orxDISPLAY_MESH *_pstMesh, const orxBITMAP *_pstBitmap, orxDISPLAY_SMOOTHING _eSmoothing, orxDISPLAY_BLEND_MODE _eBlendMode) |
orxDLLAPI orxSTATUS orxFASTCALL | orxDisplay_DrawOBox (const orxOBOX *_pstBox, orxRGBA _stColor, orxBOOL _bFill) |
orxDLLAPI orxSTATUS orxFASTCALL | orxDisplay_DrawPolygon (const orxVECTOR *_avVertexList, orxU32 _u32VertexNumber, orxRGBA _stColor, orxBOOL _bFill) |
orxDLLAPI orxSTATUS orxFASTCALL | orxDisplay_DrawPolyline (const orxVECTOR *_avVertexList, orxU32 _u32VertexNumber, orxRGBA _stColor) |
orxDLLAPI orxSTATUS orxFASTCALL | orxDisplay_EnableVSync (orxBOOL _bEnable) |
orxDLLAPI void orxFASTCALL | orxDisplay_Exit () |
orxDLLAPI orxSTATUS orxFASTCALL | orxDisplay_GetBitmapData (const orxBITMAP *_pstBitmap, orxU8 *_au8Data, orxU32 _u32ByteNumber) |
orxDLLAPI orxU32 orxFASTCALL | orxDisplay_GetBitmapID (const orxBITMAP *_pstBitmap) |
orxDLLAPI orxSTATUS orxFASTCALL | orxDisplay_GetBitmapSize (const orxBITMAP *_pstBitmap, orxFLOAT *_pfWidth, orxFLOAT *_pfHeight) |
orxDLLAPI orxDISPLAY_BLEND_MODE orxFASTCALL | orxDisplay_GetBlendModeFromString (const orxSTRING _zBlendMode) |
orxDLLAPI orxS32 orxFASTCALL | orxDisplay_GetParameterID (orxHANDLE _hShader, const orxSTRING _zParam, orxS32 _s32Index, orxBOOL _bIsTexture) |
orxDLLAPI orxBITMAP *orxFASTCALL | orxDisplay_GetScreenBitmap () |
orxDLLAPI orxSTATUS orxFASTCALL | orxDisplay_GetScreenSize (orxFLOAT *_pfWidth, orxFLOAT *_pfHeight) |
orxDLLAPI orxU32 orxFASTCALL | orxDisplay_GetShaderID (const orxHANDLE _hShader) |
orxDLLAPI const orxBITMAP *orxFASTCALL | orxDisplay_GetTempBitmap () |
orxDLLAPI orxDISPLAY_VIDEO_MODE *orxFASTCALL | orxDisplay_GetVideoMode (orxU32 _u32Index, orxDISPLAY_VIDEO_MODE *_pstVideoMode) |
orxDLLAPI orxU32 orxFASTCALL | orxDisplay_GetVideoModeCount () |
orxDLLAPI orxBOOL orxFASTCALL | orxDisplay_HasShaderSupport () |
orxDLLAPI orxSTATUS orxFASTCALL | orxDisplay_Init () |
orxDLLAPI orxBOOL orxFASTCALL | orxDisplay_IsFullScreen () |
orxDLLAPI orxBOOL orxFASTCALL | orxDisplay_IsVideoModeAvailable (const orxDISPLAY_VIDEO_MODE *_pstVideoMode) |
orxDLLAPI orxBOOL orxFASTCALL | orxDisplay_IsVSyncEnabled () |
orxDLLAPI orxBITMAP *orxFASTCALL | orxDisplay_LoadBitmap (const orxSTRING _zFileName) |
orxDLLAPI orxBITMAP *orxFASTCALL | orxDisplay_LoadFont (const orxSTRING _zFileName, const orxSTRING _zCharacterList, const orxVECTOR *_pvCharacterSize, const orxVECTOR *_pvCharacterSpacing, const orxVECTOR *_pvCharacterPadding, orxBOOL _bSDF, orxFLOAT *_afCharacterWidthList) |
orxDLLAPI orxSTATUS orxFASTCALL | orxDisplay_SaveBitmap (const orxBITMAP *_pstBitmap, const orxSTRING _zFileName) |
orxDLLAPI orxSTATUS orxFASTCALL | orxDisplay_SetBitmapClipping (orxBITMAP *_pstBitmap, orxU32 _u32TLX, orxU32 _u32TLY, orxU32 _u32BRX, orxU32 _u32BRY) |
orxDLLAPI orxSTATUS orxFASTCALL | orxDisplay_SetBitmapData (orxBITMAP *_pstBitmap, const orxU8 *_au8Data, orxU32 _u32ByteNumber) |
orxDLLAPI orxSTATUS orxFASTCALL | orxDisplay_SetBlendMode (orxDISPLAY_BLEND_MODE _eBlendMode) |
orxDLLAPI orxSTATUS orxFASTCALL | orxDisplay_SetDestinationBitmaps (orxBITMAP **_apstBitmapList, orxU32 _u32Number) |
orxDLLAPI orxSTATUS orxFASTCALL | orxDisplay_SetFullScreen (orxBOOL _bFullScreen) |
orxDLLAPI orxSTATUS orxFASTCALL | orxDisplay_SetPartialBitmapData (orxBITMAP *_pstBitmap, const orxU8 *_au8Data, orxU32 _u32X, orxU32 _u32Y, orxU32 _u32Width, orxU32 _u32Height) |
orxDLLAPI orxSTATUS orxFASTCALL | orxDisplay_SetShaderBitmap (orxHANDLE _hShader, orxS32 _s32ID, const orxBITMAP *_pstValue) |
orxDLLAPI orxSTATUS orxFASTCALL | orxDisplay_SetShaderFloat (orxHANDLE _hShader, orxS32 _s32ID, orxFLOAT _fValue) |
orxDLLAPI orxSTATUS orxFASTCALL | orxDisplay_SetShaderVector (orxHANDLE _hShader, orxS32 _s32ID, const orxVECTOR *_pvValue) |
orxDLLAPI orxSTATUS orxFASTCALL | orxDisplay_SetTempBitmap (const orxBITMAP *_pstBitmap) |
orxDLLAPI void orxFASTCALL | orxDisplay_Setup () |
orxDLLAPI orxSTATUS orxFASTCALL | orxDisplay_SetVideoMode (const orxDISPLAY_VIDEO_MODE *_pstVideoMode) |
orxDLLAPI orxSTATUS orxFASTCALL | orxDisplay_StartShader (const orxHANDLE _hShader) |
orxDLLAPI orxSTATUS orxFASTCALL | orxDisplay_StopShader (const orxHANDLE _hShader) |
orxDLLAPI orxSTATUS orxFASTCALL | orxDisplay_Swap () |
orxDLLAPI orxSTATUS orxFASTCALL | orxDisplay_TransformBitmap (const orxBITMAP *_pstSrc, const orxDISPLAY_TRANSFORM *_pstTransform, orxRGBA _stColor, orxDISPLAY_SMOOTHING _eSmoothing, orxDISPLAY_BLEND_MODE _eBlendMode) |
orxDLLAPI orxSTATUS orxFASTCALL | orxDisplay_TransformText (const orxSTRING _zString, const orxBITMAP *_pstFont, const orxCHARACTER_MAP *_pstMap, const orxDISPLAY_TRANSFORM *_pstTransform, orxRGBA _stColor, orxDISPLAY_SMOOTHING _eSmoothing, orxDISPLAY_BLEND_MODE _eBlendMode) |
static orxINLINE orxRGBA | orxRGBA_Set (orxU8 _u8R, orxU8 _u8G, orxU8 _u8B, orxU8 _u8A) |
Display plugin module Module that handles display
#define orx2RGBA | ( | R, | |
G, | |||
B, | |||
A ) |
Definition at line 73 of file orxDisplay.h.
#define orxCOLOR_DENORMALIZER (orx2F(255.0f)) |
Definition at line 80 of file orxDisplay.h.
#define orxCOLOR_KZ_CONFIG_SECTION "Color" |
Definition at line 252 of file orxDisplay.h.
#define orxCOLOR_NORMALIZER (orx2F(1.0f / 255.0f)) |
Definition at line 79 of file orxDisplay.h.
#define orxDISPLAY_KC_SHADER_EXTENSION_ADD '+' |
Shader extension actions
Definition at line 265 of file orxDisplay.h.
#define orxDISPLAY_KC_SHADER_EXTENSION_REMOVE '-' |
Definition at line 266 of file orxDisplay.h.
#define orxDISPLAY_KZ_CONFIG_ALLOW_RESIZE "AllowResize" |
Definition at line 234 of file orxDisplay.h.
#define orxDISPLAY_KZ_CONFIG_CONTENT_SCALE "ContentScale" |
Definition at line 246 of file orxDisplay.h.
#define orxDISPLAY_KZ_CONFIG_CURSOR "Cursor" |
Definition at line 243 of file orxDisplay.h.
#define orxDISPLAY_KZ_CONFIG_DEBUG_OUTPUT "DebugOutput" |
Definition at line 250 of file orxDisplay.h.
#define orxDISPLAY_KZ_CONFIG_DECORATION "Decoration" |
Definition at line 235 of file orxDisplay.h.
#define orxDISPLAY_KZ_CONFIG_DEPTH "ScreenDepth" |
Definition at line 230 of file orxDisplay.h.
#define orxDISPLAY_KZ_CONFIG_DEPTHBUFFER "DepthBuffer" |
Definition at line 239 of file orxDisplay.h.
#define orxDISPLAY_KZ_CONFIG_DRAW_BUFFER_NUMBER "DrawBufferNumber" |
Definition at line 248 of file orxDisplay.h.
#define orxDISPLAY_KZ_CONFIG_FRAMEBUFFER_SIZE "FramebufferSize" |
Definition at line 245 of file orxDisplay.h.
#define orxDISPLAY_KZ_CONFIG_FULLSCREEN "FullScreen" |
Definition at line 233 of file orxDisplay.h.
#define orxDISPLAY_KZ_CONFIG_HEIGHT "ScreenHeight" |
Definition at line 229 of file orxDisplay.h.
#define orxDISPLAY_KZ_CONFIG_ICON_LIST "IconList" |
Definition at line 244 of file orxDisplay.h.
#define orxDISPLAY_KZ_CONFIG_MAX_TEXTURE_SIZE "MaxTextureSize" |
Definition at line 249 of file orxDisplay.h.
#define orxDISPLAY_KZ_CONFIG_MONITOR "Monitor" |
Definition at line 242 of file orxDisplay.h.
#define orxDISPLAY_KZ_CONFIG_POSITION "ScreenPosition" |
Definition at line 231 of file orxDisplay.h.
#define orxDISPLAY_KZ_CONFIG_REFRESH_RATE "RefreshRate" |
Definition at line 232 of file orxDisplay.h.
#define orxDISPLAY_KZ_CONFIG_SECTION "Display" |
Config parameters
Definition at line 227 of file orxDisplay.h.
#define orxDISPLAY_KZ_CONFIG_SHADER_EXTENSION_LIST "ShaderExtensionList" |
Definition at line 241 of file orxDisplay.h.
#define orxDISPLAY_KZ_CONFIG_SHADER_VERSION "ShaderVersion" |
Definition at line 240 of file orxDisplay.h.
#define orxDISPLAY_KZ_CONFIG_SMOOTH "Smoothing" |
Definition at line 237 of file orxDisplay.h.
#define orxDISPLAY_KZ_CONFIG_TEXTURE_UNIT_NUMBER "TextureUnitNumber" |
Definition at line 247 of file orxDisplay.h.
#define orxDISPLAY_KZ_CONFIG_TITLE "Title" |
Definition at line 236 of file orxDisplay.h.
#define orxDISPLAY_KZ_CONFIG_VSYNC "VSync" |
Definition at line 238 of file orxDisplay.h.
#define orxDISPLAY_KZ_CONFIG_WIDTH "ScreenWidth" |
Definition at line 228 of file orxDisplay.h.
#define orxDISPLAY_KZ_SHADER_SUFFIX_BOTTOM "_bottom" |
Definition at line 259 of file orxDisplay.h.
#define orxDISPLAY_KZ_SHADER_SUFFIX_LEFT "_left" |
Definition at line 258 of file orxDisplay.h.
#define orxDISPLAY_KZ_SHADER_SUFFIX_RIGHT "_right" |
Definition at line 260 of file orxDisplay.h.
#define orxDISPLAY_KZ_SHADER_SUFFIX_TOP "_top" |
Shader texture suffixes
Definition at line 257 of file orxDisplay.h.
#define orxRGBA_A | ( | RGBA | ) |
Definition at line 77 of file orxDisplay.h.
#define orxRGBA_B | ( | RGBA | ) |
Definition at line 76 of file orxDisplay.h.
#define orxRGBA_G | ( | RGBA | ) |
Definition at line 75 of file orxDisplay.h.
#define orxRGBA_R | ( | RGBA | ) |
Definition at line 74 of file orxDisplay.h.
typedef struct __orxBITMAP_t orxBITMAP |
Definition at line 82 of file orxDisplay.h.
Bitmap blend enum
Enumerator | |
---|---|
orxDISPLAY_BLEND_MODE_ALPHA | |
orxDISPLAY_BLEND_MODE_MULTIPLY | |
orxDISPLAY_BLEND_MODE_ADD | |
orxDISPLAY_BLEND_MODE_PREMUL | |
orxDISPLAY_BLEND_MODE_NUMBER | |
orxDISPLAY_BLEND_MODE_NONE |
Definition at line 197 of file orxDisplay.h.
enum orxDISPLAY_EVENT |
Event enum
Enumerator | |
---|---|
orxDISPLAY_EVENT_SET_VIDEO_MODE | |
orxDISPLAY_EVENT_LOAD_BITMAP | |
orxDISPLAY_EVENT_NUMBER | |
orxDISPLAY_EVENT_NONE |
Definition at line 271 of file orxDisplay.h.
Orientation enum
Enumerator | |
---|---|
orxDISPLAY_ORIENTATION_UP | |
orxDISPLAY_ORIENTATION_LEFT | |
orxDISPLAY_ORIENTATION_DOWN | |
orxDISPLAY_ORIENTATION_RIGHT | |
orxDISPLAY_ORIENTATION_NUMBER | |
orxDISPLAY_ORIENTATION_NONE |
Definition at line 87 of file orxDisplay.h.
enum orxDISPLAY_PRIMITIVE |
Primitive enum
Definition at line 125 of file orxDisplay.h.
enum orxDISPLAY_SMOOTHING |
Bitmap smoothing enum
Enumerator | |
---|---|
orxDISPLAY_SMOOTHING_DEFAULT | |
orxDISPLAY_SMOOTHING_ON | |
orxDISPLAY_SMOOTHING_OFF | |
orxDISPLAY_SMOOTHING_NUMBER | |
orxDISPLAY_SMOOTHING_NONE |
Definition at line 183 of file orxDisplay.h.
Copies an orxCOLOR into another one
[in] | _pstDst | Destination color |
[in] | _pstSrc | Source color |
Definition at line 508 of file orxDisplay.h.
Converts from HSL color space to RGB one
[in] | _pstDst | Destination color |
[in] | _pstSrc | Source color |
Definition at line 603 of file orxDisplay.h.
Converts from HSV color space to RGB one
[in] | _pstDst | Destination color |
[in] | _pstSrc | Source color |
Definition at line 772 of file orxDisplay.h.
Converts from RGB color space to HSL one
[in] | _pstDst | Destination color |
[in] | _pstSrc | Source color |
Definition at line 526 of file orxDisplay.h.
Converts from RGB color space to HSV one
[in] | _pstDst | Destination color |
[in] | _pstSrc | Source color |
Definition at line 697 of file orxDisplay.h.
|
static |
Sets all components
[in] | _pstColor | Concerned color |
[in] | _pvRGB | RGB components |
[in] | _fAlpha | Normalized alpha component |
Definition at line 418 of file orxDisplay.h.
Sets alpha component
[in] | _pstColor | Concerned color |
[in] | _fAlpha | Normalized alpha component |
Definition at line 460 of file orxDisplay.h.
Sets RGB components
[in] | _pstColor | Concerned color |
[in] | _pvRGB | RGB components |
Definition at line 440 of file orxDisplay.h.
Sets all components from an orxRGBA
[in] | _pstColor | Concerned color |
[in] | _stRGBA | RGBA values to set |
Definition at line 395 of file orxDisplay.h.
|
extern |
Clears a bitmap
[in] | _pstBitmap | Concerned bitmap, if orxNULL all the current destination bitmaps will be cleared instead |
[in] | _stColor | Color to clear the bitmap with |
|
extern |
Creates a bitmap
[in] | _u32Width | Bitmap width |
[in] | _u32Height | Bitmap height |
|
extern |
Creates (compiles) a shader
[in] | _azCodeList | List of shader code to compile, in order |
[in] | _u32Size | Size of the shader code list |
[in] | _pstParamList | Shader parameters (should be a link list of orxSHADER_PARAM) |
[in] | _bUseCustomParam | Shader uses custom parameters |
Deletes a bitmap
[in] | _pstBitmap | Concerned bitmap |
Deletes a compiled shader
[in] | _hShader | Shader to delete |
|
extern |
Draws a circle
[in] | _pvCenter | Center |
[in] | _fRadius | Radius |
[in] | _stColor | Color |
[in] | _bFill | If true, the polygon will be filled otherwise only its outline will be drawn |
|
extern |
Draws a line
[in] | _pvStart | Start point |
[in] | _pvEnd | End point |
[in] | _stColor | Color |
|
extern |
Draws a textured mesh
[in] | _pstMesh | Mesh to draw, if no primitive and no index buffer is given, separate quads arrangement will be assumed |
[in] | _pstBitmap | Bitmap to use for texturing, orxNULL to use the current one |
[in] | _eSmoothing | Bitmap smoothing type |
[in] | _eBlendMode | Blend mode |
|
extern |
Draws an oriented box
[in] | _pstBox | Box to draw |
[in] | _stColor | Color |
[in] | _bFill | If true, the polygon will be filled otherwise only its outline will be drawn |
|
extern |
Draws a (closed) polygon; filled polygons need to be either convex or star-shaped concave with the first vertex part of the polygon's kernel
[in] | _avVertexList | List of vertices |
[in] | _u32VertexNumber | Number of vertices in the list |
[in] | _stColor | Color |
[in] | _bFill | If true, the polygon will be filled otherwise only its outline will be drawn |
|
extern |
Draws a polyline (aka open polygon)
[in] | _avVertexList | List of vertices |
[in] | _u32VertexNumber | Number of vertices in the list |
[in] | _stColor | Color |
Enables / disables vertical synchro
[in] | _bEnable | Enable / disable |
|
extern |
Exits from the display module
|
extern |
Gets a bitmap data (RGBA memory format)
[in] | _pstBitmap | Concerned bitmap |
[in] | _au8Data | Output buffer (4 channels, RGBA) |
[in] | _u32ByteNumber | Number of bytes of the buffer |
Gets a bitmap (internal) ID
[in] | _pstBitmap | Concerned bitmap |
|
extern |
Gets a bitmap size
[in] | _pstBitmap | Concerned bitmap |
[out] | _pfWidth | Bitmap width |
[out] | _pfHeight | Bitmap height |
|
extern |
Gets blend mode from a string
[in] | _zBlendMode | String to evaluate |
|
extern |
Gets a shader parameter's ID
[in] | _hShader | Concerned shader |
[in] | _zParam | Parameter name |
[in] | _s32Index | Parameter index, -1 for non-array types |
[in] | _bIsTexture | Is parameter a texture? |
Gets screen bitmap
|
extern |
Gets screen size
[out] | _pfWidth | Screen width |
[out] | _pfHeight | Screen height |
Gets a shader (internal) ID
[in] | _hShader | Concerned bitmap |
Gets current temp bitmap
|
extern |
Gets an available video mode
[in] | _u32Index | Video mode index, pass _u32Index < orxDisplay_GetVideoModeCount() for an available listed mode, orxU32_UNDEFINED for the the default (desktop) mode and any other value for current mode |
[out] | _pstVideoMode | Storage for the video mode |
|
extern |
Gets available video mode count
|
extern |
Has shader support?
Inits the display module
|
extern |
Is in full screen mode?
|
extern |
Is video mode available
[in] | _pstVideoMode | Video mode to test |
|
extern |
Is vertical synchro enabled?
Loads a bitmap from file (an event of ID orxDISPLAY_EVENT_BITMAP_LOAD will be sent upon completion, whether the loading is asynchronous or not)
[in] | _zFileName | Name of the file to load |
|
extern |
Loads a font from a TrueType/OpenType file (an event of ID orxDISPLAY_EVENT_BITMAP_LOAD will be sent upon completion, whether the loading is asynchronous or not)
[in] | _zFileName | Name of the file to load |
[in] | _zCharacterList | Ordered list of characters for which to create glyphs |
[in] | _pvCharacterSize | Size of characters, X = 0 for variable width |
[in] | _pvCharacterSpacing | Spacing to be kept between glyphs in the font bitmap |
[in] | _pvCharacterPadding | Padding added on all sides, inside a glyph |
[in] | _bSDF | Will generate a SDF (Signed Distance Field) texture if set to true or a regular texture otherwise |
[out] | _afCharacterWidthList | Resulting list of character/glyph widths |
|
extern |
Saves a bitmap to file
[in] | _pstBitmap | Concerned bitmap |
[in] | _zFileName | Name of the file where to store the bitmap |
|
extern |
Sets a bitmap clipping for blitting (both as source and destination)
[in] | _pstBitmap | Concerned bitmap, orxNULL to target the first destination bitmap |
[in] | _u32TLX | Top left X coord in pixels |
[in] | _u32TLY | Top left Y coord in pixels |
[in] | _u32BRX | Bottom right X coord in pixels |
[in] | _u32BRY | Bottom right Y coord in pixels |
|
extern |
Sets a bitmap data (RGBA memory format)
[in] | _pstBitmap | Concerned bitmap |
[in] | _au8Data | Data (4 channels, RGBA) |
[in] | _u32ByteNumber | Number of bytes |
|
extern |
Sets current blend mode
[in] | _eBlendMode | Blend mode to set |
|
extern |
Sets destination bitmaps
[in] | _apstBitmapList | Destination bitmap list |
[in] | _u32Number | Number of destination bitmaps |
Sets full screen mode
[in] | _bFullScreen | orxTRUE / orxFALSE |
|
extern |
Sets a partial (rectangle) bitmap data (RGBA memory format)
[in] | _pstBitmap | Concerned bitmap |
[in] | _au8Data | Data (4 channels, RGBA) |
[in] | _u32X | Origin's X coord of the rectangle area to set |
[in] | _u32Y | Origin's Y coord of the rectangle area to set |
[in] | _u32Width | Width of the rectangle area to set |
[in] | _u32Height | Height of the rectangle area to set |
|
extern |
Sets a shader parameter (orxFLOAT)
[in] | _hShader | Concerned shader |
[in] | _s32ID | ID of parameter to set |
[in] | _fValue | Value (orxFLOAT) for this parameter |
Sets temp bitmap, if a valid temp bitmap is given, load operations will be asynchronous
[in] | _pstBitmap | Concerned bitmap, orxNULL for forcing synchronous load operations |
|
extern |
Display module setup
|
extern |
Sets a video mode
[in] | _pstVideoMode | Video mode to set, if width, height, depth or refresh rate are 0, the monitor's default values will be used instead |
Starts a shader rendering
[in] | _hShader | Shader to start |
Stops a shader rendering
[in] | _hShader | Shader to stop |
Swaps/flips bufers (display on screen the current frame)
|
extern |
Transforms (and blits onto another) a bitmap
[in] | _pstSrc | Bitmap to transform and draw |
[in] | _pstTransform | Transformation info (position, scale, rotation, ...) |
[in] | _stColor | Color |
[in] | _eSmoothing | Bitmap smoothing type |
[in] | _eBlendMode | Blend mode |
|
extern |
Transforms a text (onto a bitmap)
[in] | _zString | String to display |
[in] | _pstFont | Font bitmap |
[in] | _pstMap | Character map |
[in] | _pstTransform | Transformation info (position, scale, rotation, ...) |
[in] | _stColor | Color |
[in] | _eSmoothing | Bitmap smoothing type |
[in] | _eBlendMode | Blend mode |
|
static |
Sets all components of an orxRGBA
[in] | _u8R | Red value to set |
[in] | _u8G | Green value to set |
[in] | _u8B | Blue value to set |
[in] | _u8A | Alpha value to set |
Definition at line 375 of file orxDisplay.h.