Advances to the next frame.
Namespace:
Internal.SharpBgfx
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public static int Frame(
bool capture = false
)
Parameters
- capture (Optional)
- Type: SystemBoolean
If true the frame is captured for debugging.
Return Value
Type:
Int32The current frame number.
Remarks
When using a multithreaded renderer, this call
just swaps internal buffers, kicks render thread, and returns. In a
singlethreaded renderer this call does frame rendering.
See Also