FCT
载入中...
搜索中...
未找到
Uniform.h 文件参考
#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>
Uniform.h 的引用(Include)关系图:
此图展示该文件被哪些文件直接或间接地引用了:

浏览该文件的源代码.

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