Blender V5.0
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 99 of file vk_pipeline_pool.hh.

Member Function Documentation

◆ hash()

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

Definition at line 117 of file vk_pipeline_pool.hh.

References cached_hash.

Referenced by operator==().

◆ operator==()

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

◆ 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 103 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: