
set(hdrs
    include/pw/visual/context.hpp
    include/pw/visual/framebuffer.hpp
    include/pw/visual/shader.hpp
#    include/pw/visual/pipeline.hpp
    include/pw/visual/texture.hpp
    include/pw/visual/renderer.hpp
    )

set(srcs
    src/context.cpp
    src/framebuffer.cpp
    src/shader.cpp
#    src/pass.cpp
#    src/pipeline.cpp
#    src/target.cpp
    src/texture.cpp
    src/renderer.cpp
    )


set(srcs_shader
    src/shader/unlit_vs.glsl
    src/shader/unlit_fs.glsl
    )

add_library(pwvisual
    STATIC
    ${hdrs}
    ${srcs}
    ${srcs_shader}
    )

target_include_directories(
    pwvisual
    PUBLIC
    include
    )

target_link_libraries(pwvisual pwcore pwscene glad)
