- Add tests/RHI/OpenGL/integration/quad/ with main.cpp, CMakeLists.txt - Add GLSL shaders (quad.vert, quad.frag) for textured quad rendering - Use OpenGLVertexArray, OpenGLBuffer, OpenGLShader, OpenGLPipelineState - Add OpenGLTexture::LoadFromFile for texture loading (earth.png) - Add OpenGLSampler for texture sampling configuration - Disable depth test for 2D quad rendering - GT.ppm generated from OpenGL rendering output (0% diff on re-run)
12 lines
193 B
CMake
12 lines
193 B
CMake
cmake_minimum_required(VERSION 3.15)
|
|
|
|
project(OpenGL_Integration)
|
|
|
|
find_package(Python3 REQUIRED)
|
|
|
|
enable_testing()
|
|
|
|
add_subdirectory(minimal)
|
|
add_subdirectory(triangle)
|
|
add_subdirectory(quad)
|