4610bb4a99
- cpp/functions/gfx/uniform_parser: regex-based parser of @slider/@color/@toggle/@xy annotations (+ inline tests) - cpp/functions/gfx/uniform_panel: ImGui widgets + value store + glUniform* apply - shader_canvas: optional uniforms callback invoked per-frame - gl_loader: +glUniform1i/3f/4f - seed plasma: demo uniforms u_speed + u_color - rebuild Windows .exe Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
20 lines
725 B
CMake
20 lines
725 B
CMake
add_imgui_app(shaders_lab
|
|
main.cpp
|
|
${CMAKE_SOURCE_DIR}/functions/gfx/gl_loader.cpp
|
|
${CMAKE_SOURCE_DIR}/functions/gfx/gl_shader.cpp
|
|
${CMAKE_SOURCE_DIR}/functions/gfx/gl_framebuffer.cpp
|
|
${CMAKE_SOURCE_DIR}/functions/gfx/fullscreen_quad.cpp
|
|
${CMAKE_SOURCE_DIR}/functions/gfx/shader_canvas.cpp
|
|
${CMAKE_SOURCE_DIR}/functions/gfx/uniform_parser.cpp
|
|
${CMAKE_SOURCE_DIR}/functions/gfx/uniform_panel.cpp
|
|
${CMAKE_SOURCE_DIR}/functions/core/fps_overlay.cpp
|
|
)
|
|
target_include_directories(shaders_lab PRIVATE
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
)
|
|
|
|
if(WIN32)
|
|
# GUI app: sin consola al lanzar (subsystem:windows / -mwindows)
|
|
set_target_properties(shaders_lab PROPERTIES WIN32_EXECUTABLE TRUE)
|
|
endif()
|