Blender V4.3
blender::gpu::VKGraphicsInfo::FragmentShader Struct Reference

#include <vk_pipeline_pool.hh>

Public Member Functions

bool operator== (const FragmentShader &other) const
 
uint64_t hash () const
 
void update_hash ()
 

Public Attributes

VkShaderModule vk_fragment_module
 
Vector< VkViewport > viewports
 
Vector< VkRect2D > scissors
 
std::optional< uint64_tcached_hash
 

Detailed Description

Definition at line 96 of file vk_pipeline_pool.hh.

Member Function Documentation

◆ hash()

uint64_t blender::gpu::VKGraphicsInfo::FragmentShader::hash ( ) const
inline

Definition at line 108 of file vk_pipeline_pool.hh.

References cached_hash.

Referenced by blender::gpu::VKGraphicsInfo::hash(), and operator==().

◆ operator==()

bool blender::gpu::VKGraphicsInfo::FragmentShader::operator== ( const FragmentShader & other) const
inline

Definition at line 102 of file vk_pipeline_pool.hh.

References hash(), and vk_fragment_module.

◆ update_hash()

void blender::gpu::VKGraphicsInfo::FragmentShader::update_hash ( )
inline

Member Data Documentation

◆ cached_hash

std::optional<uint64_t> blender::gpu::VKGraphicsInfo::FragmentShader::cached_hash

Definition at line 100 of file vk_pipeline_pool.hh.

Referenced by hash(), and update_hash().

◆ scissors

Vector<VkRect2D> blender::gpu::VKGraphicsInfo::FragmentShader::scissors

◆ viewports

Vector<VkViewport> blender::gpu::VKGraphicsInfo::FragmentShader::viewports

◆ vk_fragment_module

VkShaderModule blender::gpu::VKGraphicsInfo::FragmentShader::vk_fragment_module

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