Blender V5.0
blender::gpu::MSLVertexOutputAttribute Struct Reference

#include <mtl_shader_generator.hh>

Public Member Functions

bool operator== (const MSLVertexOutputAttribute &right) const
std::string get_mtl_interpolation_qualifier () const

Public Attributes

std::string type
std::string name
std::string instance_name
std::string interpolation_qualifier
bool is_array
int array_elems

Detailed Description

Definition at line 271 of file mtl_shader_generator.hh.

Member Function Documentation

◆ get_mtl_interpolation_qualifier()

std::string blender::gpu::MSLVertexOutputAttribute::get_mtl_interpolation_qualifier ( ) const
inline

Definition at line 287 of file mtl_shader_generator.hh.

References interpolation_qualifier.

◆ operator==()

bool blender::gpu::MSLVertexOutputAttribute::operator== ( const MSLVertexOutputAttribute & right) const
inline

Definition at line 281 of file mtl_shader_generator.hh.

References array_elems, interpolation_qualifier, is_array, name, and type.

Member Data Documentation

◆ array_elems

int blender::gpu::MSLVertexOutputAttribute::array_elems

Definition at line 279 of file mtl_shader_generator.hh.

Referenced by operator==().

◆ instance_name

std::string blender::gpu::MSLVertexOutputAttribute::instance_name

Definition at line 275 of file mtl_shader_generator.hh.

◆ interpolation_qualifier

std::string blender::gpu::MSLVertexOutputAttribute::interpolation_qualifier

Definition at line 277 of file mtl_shader_generator.hh.

Referenced by get_mtl_interpolation_qualifier(), and operator==().

◆ is_array

bool blender::gpu::MSLVertexOutputAttribute::is_array

Definition at line 278 of file mtl_shader_generator.hh.

Referenced by operator==().

◆ name

std::string blender::gpu::MSLVertexOutputAttribute::name

Definition at line 273 of file mtl_shader_generator.hh.

Referenced by operator==().

◆ type

std::string blender::gpu::MSLVertexOutputAttribute::type

Definition at line 272 of file mtl_shader_generator.hh.

Referenced by operator==().


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