|
Final Platform Layer 1.0.0
|
This category contains functions for retrieving or resizing the video buffer. More...
Data Structures | |
| struct | fplVideoBackBuffer |
| A structure containing video backbuffer properties. More... | |
| struct | fplVideoRect |
| A structure defining a video rectangle's position and size. More... | |
| union | fplVideoRequirements |
| Stores the video requirements for the desired video backend. More... | |
| struct | fplVideoRequirementsVulkan |
| Stores the requirements for the Vulkan video backend. More... | |
| struct | fplVideoSurface |
| Stores the surface properties for the active video backend. More... | |
| struct | fplVideoSurfaceOpenGL |
| Stores the surface properties for the OpenGL video backend. More... | |
| struct | fplVideoSurfaceVulkan |
| Stores the surface properties for the Vulkan video backend. More... | |
| union | fplVideoWindow |
| Stores the video window handles. More... | |
Functions | |
| fpl_common_api fplVideoRect | fplCreateVideoRectFromLTRB (int32_t left, int32_t top, int32_t right, int32_t bottom) |
| Makes a video rectangle from a LTRB rectangle. | |
| fpl_common_api fplVideoBackBuffer * | fplGetVideoBackBuffer (void) |
| Retrieves the pointer to the current video backbuffer. | |
| fpl_common_api const char * | fplGetVideoBackendName (fplVideoBackendType backendType) |
| Gets a string that represents the given video backend. | |
| fpl_common_api fplVideoBackendType | fplGetVideoBackendType (void) |
| Gets the current video backend. | |
| fpl_common_api const void * | fplGetVideoProcedure (const char *procName) |
| Gets the procedure by the specified name from the active video backend. | |
| fpl_common_api bool | fplGetVideoRequirements (const fplVideoBackendType backendType, fplVideoRequirements *requirements) |
| Gets the video requirements for the specified video backend. | |
| fpl_common_api const fplVideoSurface * | fplGetVideoSurface (void) |
| Gets the current video surface that stores all handles used for the active video backend. | |
| fpl_common_api bool | fplResizeVideoBackBuffer (const uint32_t width, const uint32_t height) |
| Resizes the current video backbuffer. | |
| fpl_common_api void | fplVideoFlip (void) |
| Forces the window to be redrawn or to swap the back/front buffer. | |
This category contains functions for retrieving or resizing the video buffer.
| fpl_common_api fplVideoRect fplCreateVideoRectFromLTRB | ( | int32_t | left, |
| int32_t | top, | ||
| int32_t | right, | ||
| int32_t | bottom ) |
Makes a video rectangle from a LTRB rectangle.
| [in] | left | The left position in screen units. |
| [in] | top | The top position in screen units. |
| [in] | right | The right position in screen units. |
| [in] | bottom | The bottom position in screen units. |
| fpl_common_api fplVideoBackBuffer * fplGetVideoBackBuffer | ( | void | ) |
Retrieves the pointer to the current video backbuffer.
| fpl_common_api const char * fplGetVideoBackendName | ( | fplVideoBackendType | backendType | ) |
Gets a string that represents the given video backend.
| [in] | backendType | The video backend type fplVideoBackendType. |
| fpl_common_api fplVideoBackendType fplGetVideoBackendType | ( | void | ) |
Gets the current video backend.
| fpl_common_api const void * fplGetVideoProcedure | ( | const char * | procName | ) |
Gets the procedure by the specified name from the active video backend.
| [in] | procName | The name of the procedure. |
| fpl_common_api bool fplGetVideoRequirements | ( | const fplVideoBackendType | backendType, |
| fplVideoRequirements * | requirements ) |
Gets the video requirements for the specified video backend.
| [in] | backendType | The video backend type fplVideoBackendType. |
| [out] | requirements | Reference to the video requirements fplVideoRequirements. |
| fpl_common_api const fplVideoSurface * fplGetVideoSurface | ( | void | ) |
Gets the current video surface that stores all handles used for the active video backend.
| fpl_common_api bool fplResizeVideoBackBuffer | ( | const uint32_t | width, |
| const uint32_t | height ) |
Resizes the current video backbuffer.
| [in] | width | The width in pixels. |
| [in] | height | The height in pixels. |