Blender V4.3
blender::eevee::MaterialKey Struct Reference

#include <eevee_material.hh>

Public Member Functions

 MaterialKey (::Material *mat_, eMaterialGeometry geometry, eMaterialPipeline pipeline, short visibility_flags)
 
uint64_t hash () const
 
bool operator< (const MaterialKey &k) const
 
bool operator== (const MaterialKey &k) const
 

Public Attributes

::Materialmat
 
uint64_t options
 

Detailed Description

Unique key to identify each material in the hash-map. This is above the shader binning.

Definition at line 203 of file eevee_material.hh.

Constructor & Destructor Documentation

◆ MaterialKey()

Member Function Documentation

◆ hash()

uint64_t blender::eevee::MaterialKey::hash ( ) const
inline

Definition at line 224 of file eevee_material.hh.

References mat, and options.

◆ operator<()

bool blender::eevee::MaterialKey::operator< ( const MaterialKey & k) const
inline

Definition at line 229 of file eevee_material.hh.

References mat, and options.

◆ operator==()

bool blender::eevee::MaterialKey::operator== ( const MaterialKey & k) const
inline

Definition at line 237 of file eevee_material.hh.

References mat, and options.

Member Data Documentation

◆ mat

::Material* blender::eevee::MaterialKey::mat

Definition at line 204 of file eevee_material.hh.

Referenced by hash(), operator<(), and operator==().

◆ options

uint64_t blender::eevee::MaterialKey::options

Definition at line 205 of file eevee_material.hh.

Referenced by hash(), MaterialKey(), operator<(), and operator==().


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