VEX Engine
Retro looking game engine made in vulkan mostly because i wanted to understand it better.
Loading...
Searching...
No Matches
uniforms.hpp File Reference

This file defines uniforms and pushconstant for rendering meshes. More...

#include <glm/glm.hpp>
#include "limits.hpp"

Go to the source code of this file.

Classes

struct  vex::SceneUBO
 Scene uniform buffer object. Holds data that is bind once per scene. More...
struct  vex::Light
 Light struct for shader. More...
struct  vex::SceneLightsUBO
 Scene lights uniform buffer object. More...
struct  vex::PushConstants
 Push constants, holds model information. More...

Namespaces

namespace  vex
namespace  vex::PS1Effects
 PS1Effects namespace for easier setting of them in push constant.

Variables

constexpr int vex::PS1Effects::VERTEX_SNAPPING = 0x1
constexpr int vex::PS1Effects::AFFINE_WARPING = 0x2
constexpr int vex::PS1Effects::SCREEN_QUANTIZATION = 0x4
constexpr int vex::PS1Effects::VERTEX_JITTER = 0x8
constexpr int vex::PS1Effects::NTSC_ARTIFACTS = 0x10
constexpr int vex::PS1Effects::GOURAUD_SHADING = 0x20
constexpr int vex::PS1Effects::TEXTURE_QUANTIZATION = 0x40
constexpr int vex::PS1Effects::SCREEN_DITHER = 0x80

Detailed Description

This file defines uniforms and pushconstant for rendering meshes.

Author
Eryk Roszkowski

Definition in file uniforms.hpp.