Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Assets::Loaders::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  CollisionProperties
 Stores collision shape properties imported from Blender. More...
struct  DirectionalLightProperties
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...
struct  PointLightProperties

Public Member Functions

 VulkanSchneeExtension ()=default
 VulkanSchneeExtension (const tinygltf::Value &vs_extension, const tinygltf::Model *model=nullptr)
bool hasLightProperties () const
bool hasLightmapProperties () const
bool hasMeshProperties () const
bool hasCollisionProperties () const
bool hasPointLightProperties () const
bool hasDirectionalLightProperties () const

Public Attributes

std::optional< LightPropertieslightProperties
std::optional< MeshPropertiesmeshProperties
std::optional< LightProperties::LightmapPropertieslightmapProperties
std::optional< CollisionPropertiescollisionProperties
std::optional< PointLightPropertiespointLightProperties
std::optional< DirectionalLightPropertiesdirectionalLightProperties

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 99 of file GltfLoader.h.

Constructor & Destructor Documentation

◆ VulkanSchneeExtension() [1/2]

Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::VulkanSchneeExtension ( )
default

◆ VulkanSchneeExtension() [2/2]

Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::VulkanSchneeExtension ( const tinygltf::Value & vs_extension,
const tinygltf::Model * model = nullptr )
explicit

Member Function Documentation

◆ extractVersion()

std::string Engine::Assets::Loaders::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

◆ hasCollisionProperties()

bool Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::hasCollisionProperties ( ) const
nodiscard

◆ hasDirectionalLightProperties()

bool Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::hasDirectionalLightProperties ( ) const
nodiscard

◆ hasLightmapProperties()

bool Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::hasLightmapProperties ( ) const
nodiscard

◆ hasLightProperties()

bool Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::hasLightProperties ( ) const
nodiscard

◆ hasMeshProperties()

bool Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::hasMeshProperties ( ) const
nodiscard

◆ hasPointLightProperties()

bool Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::hasPointLightProperties ( ) const
nodiscard

Member Data Documentation

◆ collisionProperties

std::optional<CollisionProperties> Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::collisionProperties

Definition at line 223 of file GltfLoader.h.

◆ directionalLightProperties

std::optional<DirectionalLightProperties> Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::directionalLightProperties

Definition at line 225 of file GltfLoader.h.

◆ lightmapProperties

std::optional<LightProperties::LightmapProperties> Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::lightmapProperties

Definition at line 222 of file GltfLoader.h.

◆ lightProperties

std::optional<LightProperties> Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::lightProperties

Definition at line 220 of file GltfLoader.h.

◆ meshProperties

std::optional<MeshProperties> Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::meshProperties

Definition at line 221 of file GltfLoader.h.

◆ pointLightProperties

std::optional<PointLightProperties> Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::pointLightProperties

Definition at line 224 of file GltfLoader.h.


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