Blender  V3.3
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
blender::gpu::shader::StageInterfaceInfo Struct Reference

#include <gpu_shader_create_info.hh>

Classes

struct  InOut
 

Public Types

using Self = StageInterfaceInfo
 

Public Member Functions

 StageInterfaceInfo (const char *name_, const char *instance_name_)
 
 ~StageInterfaceInfo ()
 
Selfsmooth (Type type, StringRefNull _name)
 
Selfflat (Type type, StringRefNull _name)
 
Selfno_perspective (Type type, StringRefNull _name)
 

Public Attributes

StringRefNull name
 
StringRefNull instance_name
 
Vector< InOutinouts
 

Detailed Description

Definition at line 229 of file gpu_shader_create_info.hh.

Member Typedef Documentation

◆ Self

Definition at line 247 of file gpu_shader_create_info.hh.

Constructor & Destructor Documentation

◆ StageInterfaceInfo()

blender::gpu::shader::StageInterfaceInfo::StageInterfaceInfo ( const char *  name_,
const char *  instance_name_ 
)
inline

Definition at line 243 of file gpu_shader_create_info.hh.

◆ ~StageInterfaceInfo()

blender::gpu::shader::StageInterfaceInfo::~StageInterfaceInfo ( )
inline

Definition at line 245 of file gpu_shader_create_info.hh.

Member Function Documentation

◆ flat()

Self& blender::gpu::shader::StageInterfaceInfo::flat ( Type  type,
StringRefNull  _name 
)
inline

◆ no_perspective()

Self& blender::gpu::shader::StageInterfaceInfo::no_perspective ( Type  type,
StringRefNull  _name 
)
inline

Definition at line 261 of file gpu_shader_create_info.hh.

References inouts, blender::gpu::shader::NO_PERSPECTIVE, and type.

◆ smooth()

Self& blender::gpu::shader::StageInterfaceInfo::smooth ( Type  type,
StringRefNull  _name 
)
inline

Member Data Documentation

◆ inouts

Vector<InOut> blender::gpu::shader::StageInterfaceInfo::inouts

◆ instance_name

StringRefNull blender::gpu::shader::StageInterfaceInfo::instance_name

Name of the instance of the block (used to access). Can be empty string (i.e: "") only if not using geometry shader.

Definition at line 239 of file gpu_shader_create_info.hh.

Referenced by eevee_shader_material_create_info_amend(), blender::gpu::GLShader::geometry_interface_declare(), blender::eevee::ShaderModule::material_create_info_ammend(), and print_interface().

◆ name

StringRefNull blender::gpu::shader::StageInterfaceInfo::name

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