MQEngine
|
命名空间 | |
namespace | RenderCallBack |
namespace | SceneEvent |
类型定义 | |
using | Context = FCT::Context |
using | TechBindCallback = std::function<void(FCT::Layout* layout, const std::string& techName, const std::string& passName)> |
Tech绑定回调函数类型 | |
using | EntityOperationCallback = std::function<void(const EntityRenderContext& context)> |
实体操作回调函数类型 | |
using | ComponentValue |
using | Window = FCT::Window |
using | Uniform = FCT::Uniform |
using | ShaderRef = FCT::ShaderRef |
枚举 | |
enum class | RenderTarget { Window , Texture } |
函数 | |
ENGINE_API const char * | getEngineVersion () |
ENGINE_API Engine & | getEngine () |
ENGINE_API void | OutputDebugObject () |
ENGINE_API std::vector< FCT::_fct_object_t * > | GetDebugObject () |
const char * | textureTypeToString (FCT::ModelInfo::TextureType type) |
将纹理类型枚举转换为字符串 | |
const char * | textureTypeToChineseString (FCT::ModelInfo::TextureType type) |
将纹理类型枚举转换为本地化字符串(中文) | |
BOOST_DESCRIBE_STRUCT (PositionComponent,(),(position)) struct ENGINE_API RotationComponent | |
BOOST_DESCRIBE_STRUCT (RotationComponent,(),(rotation)) struct ENGINE_API ScaleComponent | |
BOOST_DESCRIBE_STRUCT (ScaleComponent,(),(scale)) struct ENGINE_API CameraComponent | |
BOOST_DESCRIBE_STRUCT (CameraComponent,(),(active, fov, nearPlane, farPlane)) struct ENGINE_API CacheRotationMatrix | |
BOOST_DESCRIBE_STRUCT (StaticMeshInstance,(),(modelUuid, meshName)) struct ENGINE_API ScriptComponent | |
BOOST_DESCRIBE_STRUCT (ScriptComponent,(),(functionName)) struct ENGINE_API DirectionalLightComponent | |
BOOST_DESCRIBE_STRUCT (DirectionalLightComponent,(),(direction, color, intensity, enabled)) struct ENGINE_API DiffuseTextureComponent | |
template<typename SnapshotType, typename WrapperType> | |
void | SerializeComponents (SnapshotType &&snapshot, WrapperType &wrapper) |
std::string | openPassGraphFileDialog (bool save) |
template<typename T> | |
void | renderComponent (const T *component) |
template<> | |
void | renderComponent< NameTag > (const NameTag *component) |
template<> | |
void | renderComponent< PositionComponent > (const PositionComponent *component) |
template<> | |
void | renderComponent< RotationComponent > (const RotationComponent *component) |
template<> | |
void | renderComponent< ScaleComponent > (const ScaleComponent *component) |
template<> | |
void | renderComponent< CameraComponent > (const CameraComponent *component) |
template<> | |
void | renderComponent< StaticMeshInstance > (const StaticMeshInstance *component) |
template<> | |
void | renderComponent< ScriptComponent > (const ScriptComponent *component) |
template<> | |
void | renderComponent< CacheRotationMatrix > (const CacheRotationMatrix *component) |
template<> | |
void | renderComponent< CacheModelMatrix > (const CacheModelMatrix *component) |
template<> | |
void | renderComponent< DirectionalLightComponent > (const DirectionalLightComponent *component) |
template<> | |
void | renderComponent< DiffuseTextureComponent > (const DiffuseTextureComponent *component) |
变量 | |
EngineGlobal | g_engineGlobal |
constexpr FCT::UniformSlot | DirectionalLightUniformSlot |
constexpr FCT::UniformSlot | ViewPosUniformSlot |
constexpr FCT::UniformSlot | ShadowUniformSlot |
constexpr FCT::VertexLayout | StandardMeshVertexLayout |
constexpr FCT::UniformSlot | CameraUniformSlot |
constexpr FCT::UniformSlot | ModelUniformSlot |
EditorGlobal | g_editorGlobal |
using MQEngine::ComponentValue |
using MQEngine::Context = FCT::Context |
using MQEngine::EntityOperationCallback = std::function<void(const EntityRenderContext& context)> |
实体操作回调函数类型
context | 渲染上下文 |
using MQEngine::ShaderRef = FCT::ShaderRef |
using MQEngine::TechBindCallback = std::function<void(FCT::Layout* layout, const std::string& techName, const std::string& passName)> |
Tech绑定回调函数类型
layout | 当前的Layout对象 |
techName | Tech名称 |
passName | Pass名称 |
using MQEngine::Uniform = FCT::Uniform |
using MQEngine::Window = FCT::Window |
|
strong |
MQEngine::BOOST_DESCRIBE_STRUCT | ( | CameraComponent | , |
() | , | ||
(active, fov, nearPlane, farPlane) | ) |
MQEngine::BOOST_DESCRIBE_STRUCT | ( | DirectionalLightComponent | , |
() | , | ||
(direction, color, intensity, enabled) | ) |
MQEngine::BOOST_DESCRIBE_STRUCT | ( | PositionComponent | , |
() | , | ||
(position) | ) |
MQEngine::BOOST_DESCRIBE_STRUCT | ( | RotationComponent | , |
() | , | ||
(rotation) | ) |
MQEngine::BOOST_DESCRIBE_STRUCT | ( | ScaleComponent | , |
() | , | ||
(scale) | ) |
MQEngine::BOOST_DESCRIBE_STRUCT | ( | ScriptComponent | , |
() | , | ||
(functionName) | ) |
MQEngine::BOOST_DESCRIBE_STRUCT | ( | StaticMeshInstance | , |
() | , | ||
(modelUuid, meshName) | ) |
std::vector< FCT::_fct_object_t * > MQEngine::GetDebugObject | ( | ) |
const char * MQEngine::getEngineVersion | ( | ) |
std::string MQEngine::openPassGraphFileDialog | ( | bool | save | ) |
void MQEngine::OutputDebugObject | ( | ) |
void MQEngine::renderComponent | ( | const T * | component | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void MQEngine::SerializeComponents | ( | SnapshotType && | snapshot, |
WrapperType & | wrapper ) |
ENGINE_API const char * MQEngine::textureTypeToChineseString | ( | FCT::ModelInfo::TextureType | type | ) |
将纹理类型枚举转换为本地化字符串(中文)
type | 纹理类型 |
ENGINE_API const char * MQEngine::textureTypeToString | ( | FCT::ModelInfo::TextureType | type | ) |
将纹理类型枚举转换为字符串
type | 纹理类型 |
|
constexpr |
|
constexpr |
EditorGlobal MQEngine::g_editorGlobal |
ENGINE_API EngineGlobal MQEngine::g_engineGlobal |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |