xcal
基于 C++23 的现代图形渲染引擎
|
#include <xcal/render/impl/opengl/gl/shaderprogram.hpp>
#include <xcal/render/impl/opengl/utils/resourcedistributor.hpp>
#include <xcal/utils/paths.hpp>
命名空间 | |
namespace | xcal |
namespace | xcal::render |
namespace | xcal::render::opengl |
namespace | xcal::render::opengl::utils |
宏定义 | |
#define | XCAL_DEFINE_STATIC_GLOBJECT(T, Catgory, Id) |
#define | XCAL_STATIC_GLOBJECT(T, Catgory, Id) |
#define | XCAL_BUFFER_INSTANCE(T, _id) |
#define | XCAL_SHADER_INSTANCE(T, _id) |
#define | SHADER_FILE(name) |
类型定义 | |
template<class T , size_t _id> | |
using | xcal::render::opengl::utils::ShaderInstance = StaticResourceDistributor< xcal::render::opengl::GL::ShaderProgram, T, _id > |
template<class T , size_t _id> | |
using | xcal::render::opengl::utils::VertexArrayObjectInstance = DynamicResourceDistributor< xcal::render::opengl::GL::VertexArrayObject, T, _id > |
template<class T , size_t _id> | |
using | xcal::render::opengl::utils::BufferInstance = DynamicResourceDistributor< xcal::render::opengl::GL::Buffer, T, _id > |
#define SHADER_FILE | ( | name | ) |
在文件 shaderinstence.hpp 第 63 行定义.
#define XCAL_BUFFER_INSTANCE | ( | T, | |
_id | |||
) |
在文件 shaderinstence.hpp 第 48 行定义.
#define XCAL_DEFINE_STATIC_GLOBJECT | ( | T, | |
Catgory, | |||
Id | |||
) |
在文件 shaderinstence.hpp 第 40 行定义.
#define XCAL_SHADER_INSTANCE | ( | T, | |
_id | |||
) |
在文件 shaderinstence.hpp 第 53 行定义.
#define XCAL_STATIC_GLOBJECT | ( | T, | |
Catgory, | |||
Id | |||
) |
在文件 shaderinstence.hpp 第 44 行定义.