xcal
基于 C++23 的现代图形渲染引擎
载入中...
搜索中...
未找到
Public 类型 | Public 成员函数 | 所有成员列表
xcal::render::opengl::object::Line类 参考

#include <line.hpp>

类 xcal::render::opengl::object::Line 继承关系图:
[图例]
xcal::render::opengl::object::Line 的协作图:
[图例]

Public 类型

using mat = xcmath::mat< float_t, 4, 4 >
 

Public 成员函数

 Line (mobject::Line *mobject)
 
void create () override
 
void destroy () override
 
void render () const override
 
void update_ubo_data () const
 
void update_projection_view (const xcmath::mat4< float_t > &view_projection) override
 
 Line (const Line &)=delete
 
- Public 成员函数 继承自 xcal::render::opengl::object::Object
 Object ()
 
virtual ~Object ()
 

额外继承的成员函数

- Protected 成员函数 继承自 xcal::render::opengl::object::Object
GL::VertexArrayObjectvao ()
 
const GL::VertexArrayObjectvao () const
 

详细描述

在文件 line.hpp12 行定义.

成员类型定义说明

◆ mat

在文件 line.hpp14 行定义.

构造及析构函数说明

◆ Line() [1/2]

xcal::render::opengl::object::Line::Line ( mobject::Line mobject)
explicit

在文件 line.cc81 行定义.

◆ Line() [2/2]

xcal::render::opengl::object::Line::Line ( const Line )
delete

成员函数说明

◆ create()

void xcal::render::opengl::object::Line::create ( )
overridevirtual

实现了 xcal::render::opengl::object::Object.

在文件 line.cc65 行定义.

引用了 XCAL_STATIC_GLOBJECT.

◆ destroy()

void xcal::render::opengl::object::Line::destroy ( )
overridevirtual

实现了 xcal::render::opengl::object::Object.

在文件 line.cc69 行定义.

◆ render()

void xcal::render::opengl::object::Line::render ( ) const
overridevirtual

实现了 xcal::render::opengl::object::Object.

在文件 line.cc73 行定义.

◆ update_projection_view()

void xcal::render::opengl::object::Line::update_projection_view ( const xcmath::mat4< float_t > &  view_projection)
overridevirtual

实现了 xcal::render::opengl::object::Object.

在文件 line.cc86 行定义.

◆ update_ubo_data()

void xcal::render::opengl::object::Line::update_ubo_data ( ) const

在文件 line.cc94 行定义.

引用了 direction.

类成员变量说明

◆ color

xcmath::vec4<float_t> xcal::render::opengl::object::Line::color

在文件 line.hpp19 行定义.

◆ direction

xcmath::vec4<float_t> xcal::render::opengl::object::Line::direction

在文件 line.hpp18 行定义.

被这些函数引用 update_ubo_data().

◆ model

xcmath::mat4<float_t> xcal::render::opengl::object::Line::model

在文件 line.hpp20 行定义.


该类的文档由以下文件生成: