Blender V5.3
blender::gpu::shader::ShaderCreateInfo::PushConst Struct Reference

#include <gpu_shader_create_info.hh>

Public Member Functions

int array_size_safe () const
std::string array_str () const
bool operator== (const PushConst &b) const

Public Attributes

Type type
ResourceString name
int array_size
Conditions conditions

Detailed Description

Definition at line 1129 of file gpu_shader_create_info.hh.

Member Function Documentation

◆ array_size_safe()

int blender::gpu::shader::ShaderCreateInfo::PushConst::array_size_safe ( ) const
inline

Definition at line 1135 of file gpu_shader_create_info.hh.

References array_size.

◆ array_str()

std::string blender::gpu::shader::ShaderCreateInfo::PushConst::array_str ( ) const
inline

Definition at line 1140 of file gpu_shader_create_info.hh.

References array_size.

◆ operator==()

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

Definition at line 1145 of file gpu_shader_create_info.hh.

References array_size, b, name, TEST_EQUAL, and type.

Member Data Documentation

◆ array_size

int blender::gpu::shader::ShaderCreateInfo::PushConst::array_size

Definition at line 1132 of file gpu_shader_create_info.hh.

Referenced by array_size_safe(), array_str(), and operator==().

◆ conditions

Conditions blender::gpu::shader::ShaderCreateInfo::PushConst::conditions

◆ name

ResourceString blender::gpu::shader::ShaderCreateInfo::PushConst::name

Definition at line 1131 of file gpu_shader_create_info.hh.

Referenced by operator==().

◆ type

Type blender::gpu::shader::ShaderCreateInfo::PushConst::type

Definition at line 1130 of file gpu_shader_create_info.hh.

Referenced by operator==().


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