Blender V4.3
blender::gpu::shader::SpecializationConstant Struct Reference

#include <GPU_common_types.hh>

Classes

struct  Value
 

Public Member Functions

 SpecializationConstant ()
 
 SpecializationConstant (const char *name, uint32_t value)
 
 SpecializationConstant (const char *name, int value)
 
 SpecializationConstant (const char *name, float value)
 
 SpecializationConstant (const char *name, bool value)
 
bool operator== (const SpecializationConstant &b) const
 

Public Attributes

Type type
 
StringRefNull name
 
Value value
 

Detailed Description

Definition at line 176 of file GPU_common_types.hh.

Constructor & Destructor Documentation

◆ SpecializationConstant() [1/5]

blender::gpu::shader::SpecializationConstant::SpecializationConstant ( )
inline

Definition at line 194 of file GPU_common_types.hh.

◆ SpecializationConstant() [2/5]

blender::gpu::shader::SpecializationConstant::SpecializationConstant ( const char * name,
uint32_t value )
inline

Definition at line 196 of file GPU_common_types.hh.

References value.

◆ SpecializationConstant() [3/5]

blender::gpu::shader::SpecializationConstant::SpecializationConstant ( const char * name,
int value )
inline

Definition at line 201 of file GPU_common_types.hh.

References value.

◆ SpecializationConstant() [4/5]

blender::gpu::shader::SpecializationConstant::SpecializationConstant ( const char * name,
float value )
inline

Definition at line 206 of file GPU_common_types.hh.

References value.

◆ SpecializationConstant() [5/5]

blender::gpu::shader::SpecializationConstant::SpecializationConstant ( const char * name,
bool value )
inline

Definition at line 211 of file GPU_common_types.hh.

Member Function Documentation

◆ operator==()

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

Definition at line 216 of file GPU_common_types.hh.

References b.

Member Data Documentation

◆ name

StringRefNull blender::gpu::shader::SpecializationConstant::name

◆ type

Type blender::gpu::shader::SpecializationConstant::type

◆ value

Value blender::gpu::shader::SpecializationConstant::value

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