Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
DefaultPipeline::Component::GPUDirectionalLight Struct Reference

#include <GPUDirectionalLight.hpp>

Public Types

using Id = entt::hashed_string

Public Member Functions

void Update (const Object::Component::DirectionalLight &light, const Object::Component::Transform &transform)

Public Attributes

glm::mat4 viewProjectionMatrix
Id buffer {}
Id bindGroupData {}
wgpu::TextureView shadowTextureView
uint32_t shadowTextureIndex

Member Typedef Documentation

◆ Id

Member Function Documentation

◆ Update()

void DefaultPipeline::Component::GPUDirectionalLight::Update ( const Object::Component::DirectionalLight & light,
const Object::Component::Transform & transform )
inline

Member Data Documentation

◆ bindGroupData

Id DefaultPipeline::Component::GPUDirectionalLight::bindGroupData {}

◆ buffer

Id DefaultPipeline::Component::GPUDirectionalLight::buffer {}

◆ shadowTextureIndex

uint32_t DefaultPipeline::Component::GPUDirectionalLight::shadowTextureIndex

◆ shadowTextureView

wgpu::TextureView DefaultPipeline::Component::GPUDirectionalLight::shadowTextureView

◆ viewProjectionMatrix

glm::mat4 DefaultPipeline::Component::GPUDirectionalLight::viewProjectionMatrix

The documentation for this struct was generated from the following file: