跳转至

CFBD_GraphicDevice

Module: Graphics Device Abstraction

The main graphics device object. More...

#include <graphic_device.h>

Detailed Description

struct CFBD_GraphicDevice;

The main graphics device object.

Note: The internal_handle is opaque and device-specific; do not access it directly.

This structure represents a graphics rendering device and encapsulates the operation table, device type, internal state, and drawing mode settings. Application code interacts with devices through this structure.

Typical usage flow:

  1. Initialize device via CFBDGraphic_BindDevice()
  2. Open device via ops->open()
  3. Perform drawing operations
  4. Update display via ops->update()
  5. Close device via ops->close()

Updated on 2026-02-03 at 13:21:55 +0000