Files
luban-lite-t3e-pro/packages/third-party/awtk-ui/awtk/3rd/nanovg/bgfx/nanovg_bgfxEx.h
刘可亮 3b4064f334 v1.0.2
2023-11-30 19:48:02 +08:00

16 lines
353 B
C++

#ifndef NANOVG_BGFXEX_H_HEADER_GUARD
#define NANOVG_BGFXEX_H_HEADER_GUARD
#include <bgfx/bgfx.h>
namespace bx { struct AllocatorI; }
///
NVGcontext* nvgCreate(int32_t _edgeaa, bgfx::ViewId _viewId, bx::AllocatorI* _allocator);
///
void nvgSetViewId(NVGcontext* _ctx, bgfx::ViewId _viewId);
///
uint16_t nvgGetViewId(struct NVGcontext* _ctx);
#endif