Classes | |
class | ARenderSystemBase |
Abstract class for render system base. More... | |
class | Buffer |
Class for buffer. More... | |
class | Camera |
Class for camera. More... | |
struct | CameraConf |
class | Clock |
Class for clock. More... | |
class | Colors |
Class for colors. More... | |
struct | Config |
class | DescriptorPool |
Class for descriptor pool. More... | |
class | DescriptorSetLayout |
Class for descriptor set layout. More... | |
class | DescriptorWriter |
Class for descriptor writer. More... | |
class | Device |
Class for device. More... | |
class | Engine |
Class for engine. More... | |
class | EventManager |
Class for event manager. More... | |
struct | FrameInfo |
struct | GlobalUbo |
class | Gui |
Class for Gui. More... | |
struct | KeyAction |
struct | KeyMappings |
class | Light |
Class for light. More... | |
class | LightFactory |
Class for light factory. More... | |
struct | LightPushConstantData |
class | Logger |
class | Model |
Class for model. More... | |
class | ModelFactory |
Class for Model factory. More... | |
class | Object |
Class for object. More... | |
struct | ObjectBufferData |
class | ObjectFactory |
Class for object factory. More... | |
struct | ObjectPushConstantData |
class | ObjectRenderSystem |
Class for object render system. More... | |
class | Parser |
Class for Parser. More... | |
class | ParserException |
Custom exception class for parsing errors. More... | |
struct | PipelineConfigInfo |
struct | PointLightData |
class | PointLightRenderSystem |
Class for point light system. More... | |
struct | QueueFamilyIndices |
class | Renderer |
Class for renderer. More... | |
class | SceneManager |
Class for object manager. More... | |
class | Shaders |
Class for shaders. More... | |
class | SwapChain |
Class for swap chain. More... | |
struct | SwapChainSupportDetails |
class | Texture |
Class for texture. More... | |
class | TextureFactory |
Class for Texture factory. More... | |
class | Transform3D |
Class for 3D transformation. More... | |
class | Window |
Class for window. More... | |
struct | WindowConf |
Typedefs | |
using | TimePoint = std::chrono::time_point<std::chrono::high_resolution_clock> |
Enumerations | |
enum | GUI_STATE : uint8_t { SHOW_EDITOR = 0 , SHOW_PLAYER = 1 , HIDDEN = 2 } |
enum class | LogLevel : uint8_t { INFO , WARNING } |
enum | ENGINE_STATE : uint8_t { EDITOR = 0 , PLAYER = 1 , PAUSED = 2 , EXIT = 3 } |
Functions | |
template<typename T , typename... Rest> | |
void | hashCombine (std::size_t &seed, const T &v, const Rest &... rest) |
bool | isNumeric (const std::string_view str) |
Variables | |
static constexpr float | EPSILON = std::numeric_limits<float>::epsilon() |
static constexpr KeyMappings | DEFAULT_KEY_MAPPINGS {} |
static constexpr float | DEFAULT_AMBIENT_LIGHT_INTENSITY = .2F |
static constexpr glm::vec4 | DEFAULT_AMBIENT_LIGHT_COLOR = {glm::vec3(1.F), DEFAULT_AMBIENT_LIGHT_INTENSITY} |
static constexpr uint16_t | DESCRIPTOR_COUNT = 1000 |
static constexpr std::string_view | DEFAULT_TITLE = "VEngine" |
static constexpr uint32_t | DEFAULT_WIDTH = 1920 |
static constexpr uint32_t | DEFAULT_HEIGHT = 1080 |
static constexpr Transform3D | DEFAULT_TRANSFORM = {.translation = {0.F, 0.F, 0.F}, .scale = {0.1F, 0.F, 0.F}, .rotation = {0.F, 0.F, 0.F}} |
static constexpr uint32_t | DEFAULT_MAX_SETS = 1000 |
static constexpr VkClearColorValue | DEFAULT_CLEAR_COLOR = {{0.0F, 0.0F, 0.0F, 1.0F}} |
static constexpr VkClearDepthStencilValue | DEFAULT_CLEAR_DEPTH = {1.0F, 0} |
static constexpr std::string_view | SHADERS_BIN_PATH = "build/shaders/" |
static constexpr int | MAX_FRAMES_IN_FLIGHT = 2 |
static constexpr glm::vec3 | DEFAULT_POSITION {0.F, 0.F, -2.5F} |
static constexpr glm::vec3 | DEFAULT_ROTATION {0.F, 0.F, 0.F} |
static constexpr float | DEFAULT_FOV = glm::radians(50.0F) |
static constexpr float | DEFAULT_NEAR = 0.1F |
static constexpr float | DEFAULT_FAR = 100.F |
static constexpr float | DEFAULT_MOVE_SPEED = 3.F |
static constexpr float | DEFAULT_LOOK_SPEED = 1.5F |
static constexpr float | DEFAULT_LIGHT_INTENSITY = .2F |
static constexpr float | DEFAULT_LIGHT_RADIUS = 0.1F |
static constexpr float | DEFAULT_SHININESS = 32.F |
static constexpr glm::vec4 | DEFAULT_LIGHT_COLOR = {glm::vec3(1.F), DEFAULT_LIGHT_INTENSITY} |
static constexpr uint8_t | MAX_LIGHTS = 10 |
static constexpr uint16_t | MAX_OBJECTS = 1000 |
static constexpr float | COLOR_MAX = 255.0F |
constexpr auto | VERSION_MESSAGE |
constexpr auto | HELP_MESSAGE |
static const std::unordered_map< std::string_view, std::function< void(Config &conf, std::string_view arg)> > | FUNCTION_MAP_OPT_LONG |
static const std::unordered_map< std::string_view, std::function< void(Config &conf)> > | FUNCTION_MAP_OPT_SHORT |
using ven::TimePoint = std::chrono::time_point<std::chrono::high_resolution_clock> |
enum ven::ENGINE_STATE : uint8_t |
enum ven::GUI_STATE : uint8_t |
|
strong |
Enumerator | |
---|---|
INFO | |
WARNING |
Definition at line 23 of file Logger.hpp.
void ven::hashCombine | ( | std::size_t & | seed, |
const T & | v, | ||
const Rest &... | rest ) |
Definition at line 14 of file HashCombine.hpp.
References hashCombine().
Referenced by hashCombine(), and std::hash< ven::Model::Vertex >::operator()().
|
inline |
Definition at line 44 of file Parser.hpp.
|
staticconstexpr |
Definition at line 15 of file Colors.hpp.
|
staticconstexpr |
Definition at line 19 of file FrameInfo.hpp.
|
staticconstexpr |
Definition at line 18 of file FrameInfo.hpp.
Referenced by ven::Gui::rendererSection().
|
staticconstexpr |
Definition at line 16 of file Renderer.hpp.
|
staticconstexpr |
Definition at line 17 of file Renderer.hpp.
|
staticconstexpr |
Definition at line 18 of file Camera.hpp.
Referenced by ven::Gui::cameraSection().
|
staticconstexpr |
Definition at line 16 of file Camera.hpp.
Referenced by ven::Gui::cameraSection().
|
staticconstexpr |
Definition at line 19 of file Window.hpp.
|
staticconstexpr |
Definition at line 35 of file EventManager.hpp.
Referenced by ven::EventManager::handleEvents(), and ven::EventManager::moveCamera().
|
staticconstexpr |
|
staticconstexpr |
Definition at line 16 of file Light.hpp.
Referenced by ven::Gui::lightsSection().
|
staticconstexpr |
Definition at line 21 of file Camera.hpp.
Referenced by ven::Gui::cameraSection().
|
staticconstexpr |
Definition at line 20 of file Camera.hpp.
Referenced by ven::Gui::cameraSection().
|
staticconstexpr |
Definition at line 17 of file Camera.hpp.
Referenced by ven::Gui::cameraSection().
|
staticconstexpr |
Definition at line 13 of file Camera.hpp.
Referenced by ven::Gui::cameraSection().
|
staticconstexpr |
Definition at line 14 of file Camera.hpp.
Referenced by ven::Gui::cameraSection().
|
staticconstexpr |
Definition at line 18 of file Light.hpp.
Referenced by ven::Gui::lightsSection().
|
staticconstexpr |
Definition at line 17 of file Window.hpp.
|
staticconstexpr |
|
staticconstexpr |
Definition at line 18 of file Window.hpp.
|
staticconstexpr |
Definition at line 17 of file Gui.hpp.
Referenced by ven::Gui::init().
|
staticconstexpr |
Definition at line 34 of file EventManager.hpp.
Referenced by ven::EventManager::moveCamera().
|
static |
Definition at line 46 of file Parser.hpp.
Referenced by ven::Parser::handleLongOption(), and ven::Parser::isValidOption().
|
static |
Definition at line 122 of file Parser.hpp.
Referenced by ven::Parser::handleShortOptions(), and ven::Parser::isValidOption().
|
constexpr |
Definition at line 21 of file Message.hpp.
|
staticconstexpr |
Definition at line 15 of file SwapChain.hpp.
Referenced by ven::Renderer::createCommandBuffers(), ven::SwapChain::createSyncObjects(), ven::Renderer::endFrame(), ven::Engine::Engine(), ven::Engine::run(), ven::SwapChain::submitCommandBuffers(), and ven::SwapChain::~SwapChain().
|
staticconstexpr |
Definition at line 21 of file Light.hpp.
Referenced by ven::LightFactory::create().
|
staticconstexpr |
Definition at line 17 of file Object.hpp.
Referenced by ven::ObjectFactory::create(), and ven::SceneManager::SceneManager().
|
staticconstexpr |
Definition at line 13 of file Shaders.hpp.
Referenced by ven::ObjectRenderSystem::ObjectRenderSystem(), and ven::PointLightRenderSystem::PointLightRenderSystem().
|
constexpr |
Definition at line 13 of file Message.hpp.