Blender  V3.3
Public Member Functions | Public Attributes | List of all members
blender::eevee::ShaderKey Struct Reference

#include <eevee_material.hh>

Public Member Functions

 ShaderKey (GPUMaterial *gpumat, eMaterialGeometry geometry, eMaterialPipeline pipeline)
 
uint64_t hash () const
 
bool operator< (const ShaderKey &k) const
 
bool operator== (const ShaderKey &k) const
 

Public Attributes

GPUShadershader
 
uint64_t options
 

Detailed Description

Definition at line 144 of file eevee_material.hh.

Constructor & Destructor Documentation

◆ ShaderKey()

blender::eevee::ShaderKey::ShaderKey ( GPUMaterial gpumat,
eMaterialGeometry  geometry,
eMaterialPipeline  pipeline 
)
inline

Member Function Documentation

◆ hash()

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

Definition at line 155 of file eevee_material.hh.

References options, and shader.

◆ operator<()

bool blender::eevee::ShaderKey::operator< ( const ShaderKey k) const
inline

Definition at line 160 of file eevee_material.hh.

References options, and shader.

◆ operator==()

bool blender::eevee::ShaderKey::operator== ( const ShaderKey k) const
inline

Definition at line 165 of file eevee_material.hh.

References options, and shader.

Member Data Documentation

◆ options

uint64_t blender::eevee::ShaderKey::options

Definition at line 146 of file eevee_material.hh.

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

◆ shader

GPUShader* blender::eevee::ShaderKey::shader

Definition at line 145 of file eevee_material.hh.

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


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