bgfx_platform_data_t

Platform data.

extern (C) @nogc nothrow
struct bgfx_platform_data_t {}

Members

Variables

backBuffer
void* backBuffer;

GL back-buffer, or D3D render target view. If NULL bgfx will create back-buffer color surface.

backBufferDS
void* backBufferDS;

Backbuffer depth/stencil. If NULL bgfx will create back-buffer depth/stencil surface.

context
void* context;

GL context, or D3D device. If NULL, bgfx will create context/device.

ndt
void* ndt;

Native display type (*nix specific).

nwh
void* nwh;

Native window handle. If NULL bgfx will create headless context/device if renderer API supports it.

Meta