Blender V4.3
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 313 of file gpu_shader_create_info.hh.

Member Typedef Documentation

◆ Self

Constructor & Destructor Documentation

◆ StageInterfaceInfo()

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

Definition at line 329 of file gpu_shader_create_info.hh.

◆ ~StageInterfaceInfo()

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

Definition at line 331 of file gpu_shader_create_info.hh.

Member Function Documentation

◆ flat()

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

Definition at line 341 of file gpu_shader_create_info.hh.

◆ no_perspective()

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

Definition at line 347 of file gpu_shader_create_info.hh.

◆ smooth()

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

Definition at line 335 of file gpu_shader_create_info.hh.

Referenced by createGPUShader().

Member Data Documentation

◆ inouts

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

List of all members of the interface.

Definition at line 327 of file gpu_shader_create_info.hh.

Referenced by blender::eevee::ShaderModule::material_create_info_amend().

◆ 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 325 of file gpu_shader_create_info.hh.

Referenced by blender::eevee::ShaderModule::material_create_info_amend().

◆ name

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

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