Skip to content

fplVideoBackBuffer Struct Reference

Finalspace edited this page May 29, 2026 · 1 revision

A structure containing video backbuffer properties. More...

#include <final_platform_layer.h>

Data Fields

Type Name
uint32_t height
The height of the backbuffer in pixels. Do not modify, it will be set automatically.
size_t lineWidth
The width of one line in bytes. Do not modify, it will be set automatically.
fplVideoRect outputRect
The output rectangle for displaying the backbuffer (Size may not match backbuffer size!).
uint32_t * pixels
The 32-bit pixel top-down array, format: 0xAABBGGRR. Do not modify before WindowUpdate.
size_t pixelStride
The size of one entire pixel with all 4 components in bytes. Do not modify, it will be set automatically.
fpl_b32 useOutputRect
Set this to true to actually use the output rectangle.
uint32_t width
The width of the backbuffer in pixels. Do not modify, it will be set automatically.

Detailed Description

A structure containing video backbuffer properties.

Definition at line 10234 of file final_platform_layer.h.

Field Documentation

height

uint32_t fplVideoBackBuffer::height

The height of the backbuffer in pixels. Do not modify, it will be set automatically.

Definition at line 10240 of file final_platform_layer.h.

lineWidth

size_t fplVideoBackBuffer::lineWidth

The width of one line in bytes. Do not modify, it will be set automatically.

Definition at line 10244 of file final_platform_layer.h.

outputRect

fplVideoRect fplVideoBackBuffer::outputRect

The output rectangle for displaying the backbuffer (Size may not match backbuffer size!).

Definition at line 10246 of file final_platform_layer.h.

pixels

uint32_t* fplVideoBackBuffer::pixels

The 32-bit pixel top-down array, format: 0xAABBGGRR. Do not modify before WindowUpdate.

Definition at line 10236 of file final_platform_layer.h.

pixelStride

size_t fplVideoBackBuffer::pixelStride

The size of one entire pixel with all 4 components in bytes. Do not modify, it will be set automatically.

Definition at line 10242 of file final_platform_layer.h.

useOutputRect

fpl_b32 fplVideoBackBuffer::useOutputRect

Set this to true to actually use the output rectangle.

Definition at line 10248 of file final_platform_layer.h.

width

uint32_t fplVideoBackBuffer::width

The width of the backbuffer in pixels. Do not modify, it will be set automatically.

Definition at line 10238 of file final_platform_layer.h.


The documentation for this struct was generated from the following file:

Final Platform Layer

Pages

Topics

Data Structures

Clone this wiki locally