Program Listing for File HostDeviceGlmAliases.hpp

Program Listing for File HostDeviceGlmAliases.hpp#

↰ Return to documentation for file (Src/GraphicsEngineVulkan/common/HostDeviceGlmAliases.hpp)

#pragma once

// Global on purpose, so the host mirrors of shader structs read exactly like their Slang counterparts.
#include <glm/glm.hpp>

using vec2 = glm::vec2;
using vec3 = glm::vec3;
using vec4 = glm::vec4;
using mat4 = glm::mat4;
using uint = unsigned int;