xcal
基于 C++23 的现代图形渲染引擎
|
#include <xcal/render/impl/opengl/utils/openglapiloadhelper.inc>
#include <xcal/public.h>
#include <xcal/render/impl/opengl/gl/shader.hpp>
#include <xcal/render/impl/opengl/gl/shaderprogram.hpp>
#include <xcal/render/impl/opengl/object/line.hpp>
#include <xcal/render/impl/opengl/object/object.hpp>
#include <xcmath/xcmath.hpp>
#include <xcal/render/impl/opengl/utils/shaderinstence.hpp>
#include <xcal/utils/logmacrohelper.inc>
#include <xcmath/utils/show.hpp>
类 | |
struct | StaticLine |
宏定义 | |
#define | ROLE OpenGLObject |
#define | LABEL Line |
类型定义 | |
using | vao_sp = std::shared_ptr< xcal::render::opengl::GL::VertexArrayObject > |
using | vbo_sp = std::shared_ptr< xcal::render::opengl::GL::Buffer > |
using | shader_sp = std::shared_ptr< xcal::render::opengl::GL::ShaderProgram > |
using shader_sp = std::shared_ptr<xcal::render::opengl::GL::ShaderProgram> |
using vao_sp = std::shared_ptr<xcal::render::opengl::GL::VertexArrayObject> |
using vbo_sp = std::shared_ptr<xcal::render::opengl::GL::Buffer> |
XCAL_BUFFER_INSTANCE | ( | xcal::render::opengl::object::Line | , |
BUFFER_ID | |||
) |
XCAL_DEFINE_STATIC_GLOBJECT | ( | StaticLine | , |
xcal::render::opengl::object::Line | , | ||
0 | |||
) |
XCAL_SHADER_INSTANCE | ( | xcal::render::opengl::object::Line | , |
SHADER_ID | |||
) |
引用了 SHADER_FILE.