Files
comaps/libs/shaders/gl_program_info.hpp
Konstantin Pastbin bfffa1fff4 Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-08-17 14:32:37 +07:00

25 lines
693 B
C++

#pragma once
#include <cstdint>
#include <string>
namespace gpu
{
struct GLProgramInfo
{
GLProgramInfo() = default;
GLProgramInfo(std::string const & vertexShaderName, std::string const & fragmentShaderName,
char const * const vertexSource, char const * const fragmentSource)
: m_vertexShaderName(vertexShaderName)
, m_fragmentShaderName(fragmentShaderName)
, m_vertexShaderSource(vertexSource)
, m_fragmentShaderSource(fragmentSource)
{}
std::string const m_vertexShaderName;
std::string const m_fragmentShaderName;
char const * const m_vertexShaderSource = nullptr;
char const * const m_fragmentShaderSource = nullptr;
};
} // namespace gpu