MQEngine
载入中...
搜索中...
未找到
UniformSlots.h
浏览该文件的文档.
1#ifndef UNIFORMSLOTS_H
2#define UNIFORMSLOTS_H
3
5
6namespace MQEngine {
7
8constexpr FCT::UniformSlot DirectionalLightUniformSlot {
9 "DirectionalLightUniform",
10 FCT::UniformVar{FCT::UniformType::Vec4,"directionalLightDirection"},
11 FCT::UniformVar{FCT::UniformType::Vec3,"directionalLightColor"},
12 FCT::UniformVar{FCT::UniformType::Float,"directionalLightIntensity"},
13 FCT::UniformVar{FCT::UniformType::Bool,"directionalLightEnable"}
14};
15
16constexpr FCT::UniformSlot ViewPosUniformSlot {
17 "ViewPosUniform",
18 FCT::UniformVar{FCT::UniformType::Vec3,"viewPosition"}
19};
20
21constexpr FCT::UniformSlot ShadowUniformSlot {
22 "ShadowUniform",
23 FCT::UniformVar{FCT::UniformType::MVPMatrix,"directionalLightMvp"}
24};
25
26}
27
28#endif // UNIFORMSLOTS_H
A header file containing third party libraries and macros for platform
定义 application.h:5
constexpr FCT::UniformSlot DirectionalLightUniformSlot
定义 UniformSlots.h:8
constexpr FCT::UniformSlot ShadowUniformSlot
定义 UniformSlots.h:21
constexpr FCT::UniformSlot ViewPosUniformSlot
定义 UniformSlots.h:16