xcal
基于 C++23 的现代图形渲染引擎
载入中...
搜索中...
未找到
xcal
render
impl
opengl
ui
listui.hpp
浏览该文件的文档.
1
11
#pragma once
12
13
#include <
xcal/public.h
>
14
15
#include <
xcal/render/impl/opengl/ui/imguirender.hpp
>
16
#include <
xcmath/xcmath.hpp
>
17
18
namespace
xcal::render::opengl::ui
{
19
class
XCAL_API
ListUi
:
public
ImGuiUiRender
{
20
private
:
21
xcmath::vec3<float_t>
vec3f_tmp_;
22
bool
show_{
true
};
23
float_t
tmp_;
24
25
public
:
26
using
ImGuiUiRender::ImGuiUiRender;
27
void
render_ui();
28
29
private
:
30
bool
render_vec3f_edit(
const
xcmath::vec3<float_t>
& vec3f,
31
const
char
* label,
const
char
* x_label =
"x"
,
32
const
char
* y_label =
"y"
,
33
const
char
* z_label =
"z"
);
34
void
render_obj(
ObjectHandle
& obj);
35
void
render_camera(
CameraHandle
& cam);
36
void
render_animation(
AnimationHandle
& anim);
37
void
render_timeline(
TimelineHandle
& timeline);
38
39
public
:
40
ListUi
(
const
ListUi
&) =
delete
;
41
ListUi
(
ListUi
&&) =
delete
;
42
ListUi
&
operator=
(
const
ListUi
&) =
delete
;
43
ListUi
&
operator=
(
ListUi
&&) =
delete
;
44
};
45
}
// namespace xcal::render::opengl::ui
xcal::render::opengl::ui::ImGuiUiRender
Definition
imguirender.hpp:21
xcal::render::opengl::ui::ListUi
Definition
listui.hpp:19
xcal::render::opengl::ui::ListUi::operator=
ListUi & operator=(ListUi &&)=delete
xcal::render::opengl::ui::ListUi::ListUi
ListUi(ListUi &&)=delete
xcal::render::opengl::ui::ListUi::ListUi
ListUi(const ListUi &)=delete
xcal::render::opengl::ui::ListUi::operator=
ListUi & operator=(const ListUi &)=delete
xcmath::vec
Vector class template
Definition
vec.hpp:206
imguirender.hpp
xcal::render::opengl::ui
Definition
opengl_render.hpp:17
xcal::float_t
float float_t
Definition
public.h:27
public.h
XCAL_API
#define XCAL_API
Definition
public.h:69
xcal::render::opengl::ui::Context::AnimationHandle
Definition
context.hpp:60
xcal::render::opengl::ui::Context::CameraHandle
Definition
context.hpp:45
xcal::render::opengl::ui::Context::ObjectHandle
Definition
context.hpp:38
xcal::render::opengl::ui::Context::TimelineHandle
Definition
context.hpp:52
xcmath.hpp
生成于 2025年 九月 19日 星期五 21:12:12 , 为 xcal使用
1.9.8