Blender V5.0
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 ()=default
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 627 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 643 of file gpu_shader_create_info.hh.

References instance_name, and name.

◆ ~StageInterfaceInfo()

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

Member Function Documentation

◆ flat()

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

Definition at line 655 of file gpu_shader_create_info.hh.

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

◆ no_perspective()

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

Definition at line 661 of file gpu_shader_create_info.hh.

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

◆ 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


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