2022-08-11 15:41:10 +08:00
|
|
|
set(_AX_RENDERER_HEADER
|
2023-06-11 13:08:08 +08:00
|
|
|
renderer/CallbackCommand.h
|
|
|
|
renderer/CustomCommand.h
|
|
|
|
renderer/GroupCommand.h
|
|
|
|
renderer/Material.h
|
|
|
|
renderer/MeshCommand.h
|
|
|
|
renderer/Pass.h
|
|
|
|
renderer/PipelineDescriptor.h
|
|
|
|
renderer/QuadCommand.h
|
|
|
|
renderer/RenderCommand.h
|
|
|
|
renderer/RenderCommandPool.h
|
|
|
|
renderer/Renderer.h
|
|
|
|
renderer/RenderState.h
|
|
|
|
renderer/Shaders.h
|
|
|
|
renderer/Technique.h
|
|
|
|
renderer/Texture2D.h
|
|
|
|
renderer/TextureAtlas.h
|
|
|
|
renderer/TextureCache.h
|
|
|
|
renderer/TextureCube.h
|
|
|
|
renderer/TrianglesCommand.h
|
2022-10-12 19:44:31 +08:00
|
|
|
|
2019-11-23 20:27:39 +08:00
|
|
|
renderer/backend/Backend.h
|
|
|
|
renderer/backend/Buffer.h
|
|
|
|
renderer/backend/CommandBuffer.h
|
|
|
|
renderer/backend/DepthStencilState.h
|
|
|
|
renderer/backend/Device.h
|
2023-03-07 18:51:58 +08:00
|
|
|
renderer/backend/DeviceInfo.h
|
|
|
|
renderer/backend/Enums.h
|
2019-11-23 20:27:39 +08:00
|
|
|
renderer/backend/Macros.h
|
2023-03-07 18:51:58 +08:00
|
|
|
renderer/backend/PixelBufferDescriptor.h
|
|
|
|
renderer/backend/PixelFormatUtils.h
|
|
|
|
renderer/backend/Program.h
|
|
|
|
renderer/backend/ProgramManager.h
|
|
|
|
renderer/backend/ProgramState.h
|
|
|
|
renderer/backend/ProgramStateRegistry.h
|
2021-04-22 22:01:47 +08:00
|
|
|
renderer/backend/RenderPassDescriptor.h
|
2019-11-23 20:27:39 +08:00
|
|
|
renderer/backend/RenderPipeline.h
|
2023-03-07 18:51:58 +08:00
|
|
|
renderer/backend/RenderTarget.h
|
|
|
|
renderer/backend/ShaderCache.h
|
2019-11-23 20:27:39 +08:00
|
|
|
renderer/backend/ShaderModule.h
|
|
|
|
renderer/backend/Texture.h
|
|
|
|
renderer/backend/Types.h
|
2023-03-07 18:51:58 +08:00
|
|
|
renderer/backend/VertexLayout.h
|
|
|
|
|
2019-11-23 20:27:39 +08:00
|
|
|
)
|
|
|
|
|
2022-08-11 15:41:10 +08:00
|
|
|
set(_AX_RENDERER_SRC
|
2023-06-11 13:08:08 +08:00
|
|
|
renderer/CallbackCommand.cpp
|
|
|
|
renderer/CustomCommand.cpp
|
|
|
|
renderer/GroupCommand.cpp
|
|
|
|
renderer/Material.cpp
|
|
|
|
renderer/MeshCommand.cpp
|
|
|
|
renderer/Pass.cpp
|
|
|
|
renderer/QuadCommand.cpp
|
|
|
|
renderer/RenderCommand.cpp
|
|
|
|
renderer/RenderState.cpp
|
|
|
|
renderer/Renderer.cpp
|
|
|
|
renderer/Technique.cpp
|
|
|
|
renderer/Texture2D.cpp
|
|
|
|
renderer/TextureAtlas.cpp
|
|
|
|
renderer/TextureCache.cpp
|
|
|
|
renderer/TextureCube.cpp
|
|
|
|
renderer/TrianglesCommand.cpp
|
|
|
|
renderer/Shaders.cpp
|
2022-10-12 19:44:31 +08:00
|
|
|
|
|
|
|
renderer/backend/ProgramManager.cpp
|
|
|
|
renderer/backend/ProgramStateRegistry.cpp
|
2019-11-23 20:27:39 +08:00
|
|
|
|
|
|
|
renderer/backend/CommandBuffer.cpp
|
|
|
|
renderer/backend/DepthStencilState.cpp
|
|
|
|
renderer/backend/Device.cpp
|
|
|
|
renderer/backend/ShaderModule.cpp
|
|
|
|
renderer/backend/Texture.cpp
|
2022-04-27 18:24:33 +08:00
|
|
|
renderer/backend/PixelFormatUtils.cpp
|
2019-11-23 20:27:39 +08:00
|
|
|
renderer/backend/Types.cpp
|
|
|
|
renderer/backend/VertexLayout.cpp
|
|
|
|
renderer/backend/Program.cpp
|
|
|
|
renderer/backend/ProgramState.cpp
|
|
|
|
renderer/backend/ShaderCache.cpp
|
2021-04-22 22:01:47 +08:00
|
|
|
renderer/backend/RenderPassDescriptor.cpp
|
2019-11-23 20:27:39 +08:00
|
|
|
)
|
|
|
|
|
2023-09-02 19:56:50 +08:00
|
|
|
if(ANDROID OR WINDOWS OR LINUX OR AX_USE_GL)
|
|
|
|
list(APPEND _AX_RENDERER_HEADER
|
|
|
|
renderer/backend/opengl/OpenGLState.h
|
|
|
|
renderer/backend/opengl/BufferGL.h
|
|
|
|
renderer/backend/opengl/CommandBufferGL.h
|
|
|
|
renderer/backend/opengl/CommandBufferGLES2.h
|
|
|
|
renderer/backend/opengl/DepthStencilStateGL.h
|
|
|
|
renderer/backend/opengl/DeviceGL.h
|
|
|
|
renderer/backend/opengl/DeviceInfoGL.h
|
|
|
|
renderer/backend/opengl/MacrosGL.h
|
|
|
|
renderer/backend/opengl/ProgramGL.h
|
|
|
|
renderer/backend/opengl/RenderPipelineGL.h
|
|
|
|
renderer/backend/opengl/RenderTargetGL.h
|
|
|
|
renderer/backend/opengl/ShaderModuleGL.h
|
|
|
|
renderer/backend/opengl/TextureGL.h
|
|
|
|
renderer/backend/opengl/UtilsGL.h
|
|
|
|
)
|
2019-11-23 20:27:39 +08:00
|
|
|
|
2023-09-02 19:56:50 +08:00
|
|
|
list(APPEND _AX_RENDERER_SRC
|
|
|
|
renderer/backend/opengl/OpenGLState.cpp
|
|
|
|
renderer/backend/opengl/BufferGL.cpp
|
|
|
|
renderer/backend/opengl/CommandBufferGL.cpp
|
|
|
|
renderer/backend/opengl/CommandBufferGLES2.cpp
|
|
|
|
renderer/backend/opengl/DepthStencilStateGL.cpp
|
|
|
|
renderer/backend/opengl/DeviceGL.cpp
|
|
|
|
renderer/backend/opengl/ProgramGL.cpp
|
|
|
|
renderer/backend/opengl/RenderPipelineGL.cpp
|
|
|
|
renderer/backend/opengl/ShaderModuleGL.cpp
|
|
|
|
renderer/backend/opengl/TextureGL.cpp
|
|
|
|
renderer/backend/opengl/UtilsGL.cpp
|
|
|
|
renderer/backend/opengl/DeviceInfoGL.cpp
|
|
|
|
renderer/backend/opengl/RenderTargetGL.cpp
|
|
|
|
)
|
2019-11-23 20:27:39 +08:00
|
|
|
else()
|
2023-09-02 19:56:50 +08:00
|
|
|
list(APPEND _AX_RENDERER_HEADER
|
|
|
|
renderer/backend/metal/BufferMTL.h
|
|
|
|
renderer/backend/metal/BufferManager.h
|
|
|
|
renderer/backend/metal/CommandBufferMTL.h
|
|
|
|
renderer/backend/metal/RenderTargetMTL.h
|
|
|
|
renderer/backend/metal/DepthStencilStateMTL.h
|
|
|
|
renderer/backend/metal/DeviceMTL.h
|
|
|
|
renderer/backend/metal/RenderPipelineMTL.h
|
|
|
|
renderer/backend/metal/ShaderModuleMTL.h
|
|
|
|
renderer/backend/metal/TextureMTL.h
|
|
|
|
renderer/backend/metal/UtilsMTL.h
|
|
|
|
renderer/backend/metal/ProgramMTL.h
|
|
|
|
renderer/backend/metal/DeviceInfoMTL.h
|
|
|
|
)
|
2019-11-23 20:27:39 +08:00
|
|
|
|
2023-09-02 19:56:50 +08:00
|
|
|
list(APPEND _AX_RENDERER_SRC
|
|
|
|
renderer/backend/metal/BufferMTL.mm
|
|
|
|
renderer/backend/metal/BufferManager.mm
|
|
|
|
renderer/backend/metal/CommandBufferMTL.mm
|
|
|
|
renderer/backend/metal/RenderTargetMTL.mm
|
|
|
|
renderer/backend/metal/DepthStencilStateMTL.mm
|
|
|
|
renderer/backend/metal/DeviceMTL.mm
|
|
|
|
renderer/backend/metal/RenderPipelineMTL.mm
|
|
|
|
renderer/backend/metal/ShaderModuleMTL.mm
|
|
|
|
renderer/backend/metal/TextureMTL.mm
|
|
|
|
renderer/backend/metal/UtilsMTL.mm
|
|
|
|
renderer/backend/metal/ProgramMTL.mm
|
|
|
|
renderer/backend/metal/DeviceInfoMTL.mm
|
|
|
|
)
|
|
|
|
endif()
|