Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
EngineCore::GltfLoader::VulkanSchneeExtension Struct Reference

The vulkan schnee extension for gltf files stores all data related to the engines core functionality. More...

#include <GltfLoader.h>

Classes

struct  LightProperties
 stores all properties related to lighting information More...
struct  MeshProperties
 Stores the mesh information like if it is a static object and if it simulates physics. More...

Public Member Functions

 VulkanSchneeExtension ()=default
 VulkanSchneeExtension (const tinygltf::Value &vs_extension)
bool hasLightProperties () const
bool hasLightmapProperties () const
bool hasMeshProperties () const

Public Attributes

std::optional< LightPropertieslightProperties
std::optional< MeshPropertiesmeshProperties
std::optional< LightProperties::LightmapPropertieslightmapProperties

Static Private Member Functions

static std::string extractVersion (const tinygltf::Value &vs_extension)
 Extracts the version from the material extension.

Detailed Description

The vulkan schnee extension for gltf files stores all data related to the engines core functionality.

Date
2025-08-17
Author
Konstantin Passig

Definition at line 89 of file GltfLoader.h.

Constructor & Destructor Documentation

◆ VulkanSchneeExtension() [1/2]

EngineCore::GltfLoader::VulkanSchneeExtension::VulkanSchneeExtension ( )
default

◆ VulkanSchneeExtension() [2/2]

EngineCore::GltfLoader::VulkanSchneeExtension::VulkanSchneeExtension ( const tinygltf::Value & vs_extension)
explicit

Definition at line 146 of file GltfLoader.cpp.

References extractVersion(), lightmapProperties, lightProperties, and meshProperties.

Here is the call graph for this function:

Member Function Documentation

◆ extractVersion()

std::string EngineCore::GltfLoader::VulkanSchneeExtension::extractVersion ( const tinygltf::Value & vs_extension)
staticprivate

Extracts the version from the material extension.

Parameters
vs_extensionthe material extension
Returns
the version or empty string if not found
Date
2025-10-04
Author
Konstantin Passig

Definition at line 236 of file GltfLoader.cpp.

Referenced by VulkanSchneeExtension().

Here is the caller graph for this function:

◆ hasLightmapProperties()

bool EngineCore::GltfLoader::VulkanSchneeExtension::hasLightmapProperties ( ) const
nodiscard

Definition at line 327 of file GltfLoader.cpp.

References lightmapProperties.

◆ hasLightProperties()

bool EngineCore::GltfLoader::VulkanSchneeExtension::hasLightProperties ( ) const
nodiscard

Definition at line 323 of file GltfLoader.cpp.

References lightProperties.

◆ hasMeshProperties()

bool EngineCore::GltfLoader::VulkanSchneeExtension::hasMeshProperties ( ) const
nodiscard

Definition at line 331 of file GltfLoader.cpp.

References meshProperties.

Member Data Documentation

◆ lightmapProperties

std::optional<LightProperties::LightmapProperties> EngineCore::GltfLoader::VulkanSchneeExtension::lightmapProperties

Definition at line 143 of file GltfLoader.h.

Referenced by hasLightmapProperties(), and VulkanSchneeExtension().

◆ lightProperties

std::optional<LightProperties> EngineCore::GltfLoader::VulkanSchneeExtension::lightProperties

Definition at line 141 of file GltfLoader.h.

Referenced by hasLightProperties(), and VulkanSchneeExtension().

◆ meshProperties

std::optional<MeshProperties> EngineCore::GltfLoader::VulkanSchneeExtension::meshProperties

The documentation for this struct was generated from the following files:
  • /home/magerbeton/Documents/gl3-vulkan/Engine/include/Engine/Mesh/GltfLoader.h
  • /home/magerbeton/Documents/gl3-vulkan/Engine/src/Engine/Mesh/GltfLoader.cpp