|
FCT
|
#include <vector>#include <string>#include <unordered_map>#include <memory>#include <cstring>#include "DataTypes.h"#include "../Base/Flags.h"#include "../Base/string.h"#include "./ShaderStage.h"#include <vulkan/vulkan.hpp>

类 | |
| class | FCT::ConstElement |
| class | FCT::ConstLayout |
| class | FCT::UniformBuffer |
命名空间 | |
| namespace | FCT |
| namespace | FCT::PredefinedUniforms |
枚举 | |
| enum class | FCT::ConstType { FCT::ModelMatrix , FCT::ViewMatrix , FCT::ProjectionMatrix , FCT::MVPMatrix , FCT::Mat4 , FCT::Mat3 , FCT::Vec4 , FCT::Vec3 , FCT::Vec2 , FCT::Float , FCT::Int , FCT::Bool , FCT::Texture2D , FCT::TextureCube , FCT::Custom } |
函数 | |
| vk::ShaderStageFlags | FCT::ConvertToVkShaderStageFlags (ShaderStages stages) |
| constexpr size_t | FCT::GetUniformSize (ConstType type) |
| constexpr size_t | FCT::GetUniformAlignment (ConstType type) |
| constexpr size_t | FCT::GetHLSLArrayElementSize (ConstType type) |
| constexpr const char * | FCT::GetUniformDefaultName (ConstType type) |
变量 | |
| static constexpr ConstLayout | FCT::PredefinedUniforms::MVP |
| static constexpr ConstLayout | FCT::PredefinedUniforms::SingleMVP |
| static constexpr ConstLayout | FCT::PredefinedUniforms::ModelViewProj |
| static constexpr ConstLayout | FCT::PredefinedUniforms::BasicPBRMaterial |