xcal
基于 C++23 的现代图形渲染引擎
载入中...
搜索中...
未找到
| 宏定义 | 类型定义 | 函数
line.cc 文件参考
#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>
line.cc 的引用(Include)关系图:

浏览源代码.

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 >
 

函数

 XCAL_SHADER_INSTANCE (xcal::render::opengl::object::Line, SHADER_ID)
 
 XCAL_BUFFER_INSTANCE (xcal::render::opengl::object::Line, BUFFER_ID)
 
 XCAL_DEFINE_STATIC_GLOBJECT (StaticLine, xcal::render::opengl::object::Line, 0)
 

宏定义说明

◆ LABEL

#define LABEL   Line

在文件 line.cc13 行定义.

◆ ROLE

#define ROLE   OpenGLObject

在文件 line.cc12 行定义.

类型定义说明

◆ shader_sp

在文件 line.cc41 行定义.

◆ vao_sp

在文件 line.cc39 行定义.

◆ vbo_sp

using vbo_sp = std::shared_ptr<xcal::render::opengl::GL::Buffer>

在文件 line.cc40 行定义.

函数说明

◆ XCAL_BUFFER_INSTANCE()

XCAL_BUFFER_INSTANCE ( xcal::render::opengl::object::Line  ,
BUFFER_ID   
)

在文件 line.cc24 行定义.

◆ XCAL_DEFINE_STATIC_GLOBJECT()

XCAL_DEFINE_STATIC_GLOBJECT ( StaticLine  ,
xcal::render::opengl::object::Line  ,
 
)

在文件 line.cc61 行定义.

◆ XCAL_SHADER_INSTANCE()

XCAL_SHADER_INSTANCE ( xcal::render::opengl::object::Line  ,
SHADER_ID   
)

在文件 line.cc20 行定义.

引用了 SHADER_FILE.