Blender V4.3
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 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.

References blender::gpu::shader::FLAT, and inouts.

Referenced by pygpu_interface_info_flat().

◆ no_perspective()

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

◆ smooth()

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

Member Data Documentation

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

Referenced by blender::gpu::shader::is_vulkan_compatible_interface(), blender::eevee::ShaderModule::material_create_info_amend(), blender::gpu::print_interface(), print_interface(), and blender::gpu::print_interface_as_struct().

◆ name


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