Cogs.Core
Public Member Functions | Public Attributes | List of all members
Cogs::Core::ImageDefinition Struct Reference

Public Member Functions

constexpr size_t hash (size_t hashValue=Cogs::hash()) const
 

Public Attributes

glm::vec3 sunDirection = glm::vec3(0, 0, 1)
 
glm::vec3 sunIrradiance = glm::vec3(1, 1, 1)
 
ImageType type = ImageType::None
 
uint32_t width = 256
 
uint32_t height = 256
 
uint32_t layers = 1
 
bool hdr = false
 

Detailed Description

Definition at line 30 of file ImageType.h.

Member Function Documentation

◆ hash()

constexpr size_t Cogs::Core::ImageDefinition::hash ( size_t  hashValue = Cogs::hash()) const
inlineconstexpr

Definition at line 40 of file ImageType.h.

Member Data Documentation

◆ hdr

bool Cogs::Core::ImageDefinition::hdr = false

Definition at line 38 of file ImageType.h.

◆ height

uint32_t Cogs::Core::ImageDefinition::height = 256

Definition at line 36 of file ImageType.h.

◆ layers

uint32_t Cogs::Core::ImageDefinition::layers = 1

Definition at line 37 of file ImageType.h.

◆ sunDirection

glm::vec3 Cogs::Core::ImageDefinition::sunDirection = glm::vec3(0, 0, 1)

Definition at line 32 of file ImageType.h.

◆ sunIrradiance

glm::vec3 Cogs::Core::ImageDefinition::sunIrradiance = glm::vec3(1, 1, 1)

Definition at line 33 of file ImageType.h.

◆ type

ImageType Cogs::Core::ImageDefinition::type = ImageType::None

Definition at line 34 of file ImageType.h.

◆ width

uint32_t Cogs::Core::ImageDefinition::width = 256

Definition at line 35 of file ImageType.h.


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