bgfx_dbg_text_printf

Print formatted data to internal debug text character-buffer (VGA-compatible text mode).

  1. void bgfx_dbg_text_printf(ushort _x, ushort _y, byte _attr, const(char)* _format, ...)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    void
    bgfx_dbg_text_printf
    (
    ushort _x
    ,
    ushort _y
    ,
    byte _attr
    ,
    const(char)* _format
    ,)
  2. da_bgfx_dbg_text_printf bgfx_dbg_text_printf;

Parameters

_x ushort

Position x from the left corner of the window.

_y ushort

Position y from the top corner of the window.

_attr byte

Color palette. Where top 4-bits represent index of background, and bottom 4-bits represent foreground color from standard VGA text palette (ANSI escape codes).

_format const(char)*

printf style format.

Meta