|
|
@@ -744,11 +744,14 @@ struct.InternalData
|
|
|
|
|
|
--- Platform data.
|
|
|
struct.PlatformData { ctor }
|
|
|
- .ndt "void*" --- Native display type.
|
|
|
- .nwh "void*" --- Native window handle.
|
|
|
- .context "void*" --- GL context, or D3D device.
|
|
|
- .backBuffer "void*" --- GL backbuffer, or D3D render target view.
|
|
|
- .backBufferDS "void*" --- Backbuffer depth/stencil.
|
|
|
+ .ndt "void*" --- Native display type (*nix specific).
|
|
|
+ .nwh "void*" --- Native window handle. If `NULL` bgfx will create headless
|
|
|
+ --- context/device if renderer API supports it.
|
|
|
+ .context "void*" --- GL context, or D3D device. If `NULL`, bgfx will create context/device.
|
|
|
+ .backBuffer "void*" --- GL back-buffer, or D3D render target view. If `NULL` bgfx will
|
|
|
+ --- create back-buffer color surface.
|
|
|
+ .backBufferDS "void*" --- Backbuffer depth/stencil. If `NULL` bgfx will create back-buffer
|
|
|
+ --- depth/stencil surface.
|
|
|
|
|
|
--- Backbuffer resolution and reset parameters.
|
|
|
struct.Resolution { ctor }
|