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

#include <context.hpp>

类 xcal::render::opengl::ui::Context 继承关系图:
[图例]

struct  AnimationHandle
 
struct  CameraHandle
 
struct  ObjectHandle
 
struct  TimelineHandle
 

Public 成员函数

 Context (OpenGLRender *renderer)
 
virtual ~Context ()=default
 
void flush ()
 
std::vector< ObjectHandle > & object_handles ()
 
std::vector< CameraHandle > & camera_handles ()
 
std::vector< AnimationHandle > & animation_handles ()
 
std::vector< TimelineHandle > & timeline_handles ()
 
CameraHandledefault_camera_handle ()
 
OpenGLRenderrenderer () const
 
float_t fps () const
 
virtual void init ()=0
 
virtual void deinit ()=0
 
virtual void before_swap_buffers ()=0
 
virtual void render ()=0
 
 Context (const Context &)=delete
 
 Context (Context &&)=delete
 
Contextoperator= (const Context &)=delete
 
Contextoperator= (Context &&)=delete
 

友元

class xcal::render::opengl::OpenGLRender
 

详细描述

在文件 context.hpp34 行定义.

构造及析构函数说明

◆ Context() [1/3]

xcal::render::opengl::ui::Context::Context ( OpenGLRender renderer)

在文件 context.cc49 行定义.

◆ ~Context()

virtual xcal::render::opengl::ui::Context::~Context ( )
virtualdefault

◆ Context() [2/3]

xcal::render::opengl::ui::Context::Context ( const Context )
delete

◆ Context() [3/3]

xcal::render::opengl::ui::Context::Context ( Context &&  )
delete

成员函数说明

◆ animation_handles()

std::vector< AnimationHandle > & xcal::render::opengl::ui::Context::animation_handles ( )
inline

在文件 context.hpp92 行定义.

◆ before_swap_buffers()

virtual void xcal::render::opengl::ui::Context::before_swap_buffers ( )
pure virtual

◆ camera_handles()

std::vector< CameraHandle > & xcal::render::opengl::ui::Context::camera_handles ( )
inline

在文件 context.hpp91 行定义.

◆ default_camera_handle()

CameraHandle & xcal::render::opengl::ui::Context::default_camera_handle ( )
inline

在文件 context.hpp98 行定义.

◆ deinit()

virtual void xcal::render::opengl::ui::Context::deinit ( )
pure virtual

◆ flush()

void xcal::render::opengl::ui::Context::flush ( )

在文件 context.cc52 行定义.

◆ fps()

float_t xcal::render::opengl::ui::Context::fps ( ) const
inline

在文件 context.hpp100 行定义.

◆ init()

virtual void xcal::render::opengl::ui::Context::init ( )
pure virtual

◆ object_handles()

std::vector< ObjectHandle > & xcal::render::opengl::ui::Context::object_handles ( )
inline

在文件 context.hpp90 行定义.

◆ operator=() [1/2]

Context & xcal::render::opengl::ui::Context::operator= ( const Context )
delete

◆ operator=() [2/2]

Context & xcal::render::opengl::ui::Context::operator= ( Context &&  )
delete

◆ render()

virtual void xcal::render::opengl::ui::Context::render ( )
pure virtual

◆ renderer()

OpenGLRender * xcal::render::opengl::ui::Context::renderer ( ) const
inline

在文件 context.hpp99 行定义.

◆ timeline_handles()

std::vector< TimelineHandle > & xcal::render::opengl::ui::Context::timeline_handles ( )
inline

在文件 context.hpp95 行定义.

友元及相关函数文档

◆ xcal::render::opengl::OpenGLRender

在文件 context.hpp35 行定义.


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