Text Rendering
This commit is contained in:
@ -71,6 +71,7 @@ namespace ia::iae
|
||||
STATIC VOID DestroyGeometry(IN Geometry* handle);
|
||||
|
||||
STATIC VOID DrawGeometry(IN Geometry* handle, IN UINT8 layer, IN UINT16 sortIndex);
|
||||
STATIC VOID DrawText(IN CONST String& text, IN Vec2 position, IN FLOAT32 scale, IN FLOAT32 rotation, IN UINT8 layer, IN UINT16 sortIndex);
|
||||
|
||||
STATIC SDL_GPUTextureFormat GetRenderTargetFormat();
|
||||
|
||||
@ -89,6 +90,7 @@ namespace ia::iae
|
||||
STATIC Pipeline* s_geometryPipeline;
|
||||
STATIC Pipeline* s_postprocessPipeline;
|
||||
STATIC Geometry* s_quadGeometry;
|
||||
STATIC Geometry* s_circleGeometry;
|
||||
STATIC Vector<DrawEntry> s_drawEntries;
|
||||
STATIC SDL_GPURenderPass* s_activeRenderPass;
|
||||
STATIC SDL_GPUCommandBuffer* s_activeCommandBuffer;
|
||||
|
||||
Reference in New Issue
Block a user