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

Public Member Functions

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

Public Attributes

const TexturePropertyproperty = nullptr
 Pointer to the property this value is for.
 
VariableKey key = {}
 Key of the property.
 
TextureWithSampler texture
 Value of the property for the material instance this belongs to.
 
bool dirty = true
 If the value has changed since last updated.
 

Detailed Description

Definition at line 127 of file MaterialProperty.h.

Member Function Documentation

◆ hash()

size_t Cogs::Core::TextureValue::hash ( size_t  hashValue = Cogs::hash()) const
inline

Definition at line 141 of file MaterialProperty.h.

Member Data Documentation

◆ dirty

bool Cogs::Core::TextureValue::dirty = true

If the value has changed since last updated.

Definition at line 139 of file MaterialProperty.h.

◆ key

VariableKey Cogs::Core::TextureValue::key = {}

Key of the property.

Definition at line 133 of file MaterialProperty.h.

◆ property

const TextureProperty* Cogs::Core::TextureValue::property = nullptr

Pointer to the property this value is for.

Definition at line 130 of file MaterialProperty.h.

◆ texture

TextureWithSampler Cogs::Core::TextureValue::texture

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