引入 Gfx::DrawContext 统一绘制入口,封装FrameBuffer/DepthBuffer/Rasterizer/角形光栅化;main.cpp 改用 DrawContext;同步更新文档路径
This commit is contained in:
@@ -12,6 +12,7 @@ set(SOURCES
|
||||
src/Gfx/Core/DepthBuffer.cpp
|
||||
src/Gfx/Core/FrameBuffer.cpp
|
||||
src/Gfx/Core/Renderer.cpp
|
||||
src/Gfx/Draw2D/DrawContext.cpp
|
||||
src/Gfx/Rasterizer/Rasterizer.cpp
|
||||
src/Gfx/Rasterizer/TriangleRasterizer.cpp
|
||||
src/Gfx/Scene/Camera.cpp
|
||||
@@ -30,6 +31,7 @@ target_include_directories(IMX6U-Game PRIVATE
|
||||
src/Gfx/Platform
|
||||
src/Gfx/Asset
|
||||
src/Gfx/Core
|
||||
src/Gfx/Draw2D
|
||||
src/Gfx/Math
|
||||
src/Gfx/Rasterizer
|
||||
src/Gfx/RenderData
|
||||
|
||||
Reference in New Issue
Block a user