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/circle.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>
宏定义 | |
#define | ROLE OpenGLObject |
#define | LABEL Circle |
#define | SHADER_ID 0 |
函数 | |
XCAL_SHADER_INSTANCE (xcal::render::opengl::object::Circle, SHADER_ID) | |
XCAL_SHADER_INSTANCE | ( | xcal::render::opengl::object::Circle | , |
SHADER_ID | |||
) |
引用了 SHADER_FILE.