|
Blender V5.3
|
#include <eevee_material.hh>
Public Member Functions | |
| ShaderKey (GPUMaterial *gpumat, blender::Material *blender_mat, eMaterialProbe probe_capture, bool hide_from_raycast) | |
| uint64_t | hash () const |
| bool | operator== (const ShaderKey &k) const |
Public Attributes | |
| gpu::Shader * | shader |
| uint64_t | options |
Key used to find the sub-pass that already renders objects with the same shader. This avoids the cost associated with shader switching. This is below the material binning. Should only include pipeline options that are not baked in the shader itself.
Definition at line 289 of file eevee_material.hh.
|
inline |
Definition at line 293 of file eevee_material.hh.
References blender::GPU_material_get_shader(), options, shader, and blender::eevee::shader_closure_bits_from_flag().
Referenced by operator==().
|
inline |
Definition at line 305 of file eevee_material.hh.
|
inline |
Definition at line 310 of file eevee_material.hh.
References options, shader, and ShaderKey().
| uint64_t blender::eevee::ShaderKey::options |
Definition at line 291 of file eevee_material.hh.
Referenced by hash(), operator==(), and ShaderKey().
| gpu::Shader* blender::eevee::ShaderKey::shader |
Definition at line 290 of file eevee_material.hh.
Referenced by hash(), operator==(), and ShaderKey().