Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::DirectionalLightProperties Struct Reference

#include <GltfLoader.h>

Public Member Functions

 DirectionalLightProperties (const tinygltf::Value &extension)

Public Attributes

glm::vec3 color { 1.0f }
glm::vec3 direction { 0.0f, -1.0f, 0.0f }
float intensity = 1.0f
bool enabled = true
bool castsShadows = true
bool hasDirection = false
float angularDiameterDegrees = 0.53f

Detailed Description

Definition at line 366 of file GltfLoader.h.

Constructor & Destructor Documentation

◆ DirectionalLightProperties()

Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::DirectionalLightProperties::DirectionalLightProperties ( const tinygltf::Value & extension)
explicit

Member Data Documentation

◆ angularDiameterDegrees

float Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::DirectionalLightProperties::angularDiameterDegrees = 0.53f

Definition at line 376 of file GltfLoader.h.

◆ castsShadows

bool Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::DirectionalLightProperties::castsShadows = true

Definition at line 374 of file GltfLoader.h.

◆ color

glm::vec3 Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::DirectionalLightProperties::color { 1.0f }

Definition at line 370 of file GltfLoader.h.

◆ direction

glm::vec3 Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::DirectionalLightProperties::direction { 0.0f, -1.0f, 0.0f }

Definition at line 371 of file GltfLoader.h.

◆ enabled

bool Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::DirectionalLightProperties::enabled = true

Definition at line 373 of file GltfLoader.h.

◆ hasDirection

bool Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::DirectionalLightProperties::hasDirection = false

Definition at line 375 of file GltfLoader.h.

◆ intensity

float Engine::Assets::Loaders::GltfLoader::VulkanSchneeExtension::DirectionalLightProperties::intensity = 1.0f

Definition at line 372 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