Blender V5.0
blender::gpu::shader::SpecializationConstant::Value Struct Reference

#include <GPU_common_types.hh>

Public Member Functions

bool operator== (const Value &other) const
uint64_t hash () const

Public Attributes

union { 
   uint32_t   u 
   int32_t   i 
   float   f 
}; 

Detailed Description

Definition at line 174 of file GPU_common_types.hh.

Member Function Documentation

◆ hash()

uint64_t blender::gpu::shader::SpecializationConstant::Value::hash ( ) const
inline

Definition at line 186 of file GPU_common_types.hh.

References u.

◆ operator==()

bool blender::gpu::shader::SpecializationConstant::Value::operator== ( const Value & other) const
inline

Definition at line 181 of file GPU_common_types.hh.

References u.

Member Data Documentation

◆ [union]

◆ f

float blender::gpu::shader::SpecializationConstant::Value::f

◆ i

◆ u


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