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

#include <mtl_shader_generator.hh>

Public Member Functions

 MSLConstant (shader::Type const_type, std::string const_name)

Public Attributes

shader::Type type
std::string name

Detailed Description

Definition at line 152 of file mtl_shader_generator.hh.

Constructor & Destructor Documentation

◆ MSLConstant()

blender::gpu::MSLConstant::MSLConstant ( shader::Type const_type,
std::string const_name )
inline

Definition at line 156 of file mtl_shader_generator.hh.

References name, and type.

Member Data Documentation

◆ name

std::string blender::gpu::MSLConstant::name

Definition at line 154 of file mtl_shader_generator.hh.

Referenced by MSLConstant().

◆ type

shader::Type blender::gpu::MSLConstant::type

Definition at line 153 of file mtl_shader_generator.hh.

Referenced by MSLConstant().


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