|
Blender V5.0
|
#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 | |
| Self & | smooth (Type type, StringRefNull _name) |
| Self & | flat (Type type, StringRefNull _name) |
| Self & | no_perspective (Type type, StringRefNull _name) |
Public Attributes | |
| StringRefNull | name |
| StringRefNull | instance_name |
| Vector< InOut > | inouts |
Definition at line 627 of file gpu_shader_create_info.hh.
Definition at line 647 of file gpu_shader_create_info.hh.
|
inline |
Definition at line 643 of file gpu_shader_create_info.hh.
References instance_name, and name.
|
default |
|
inline |
Definition at line 655 of file gpu_shader_create_info.hh.
References blender::gpu::shader::FLAT, and inouts.
|
inline |
Definition at line 661 of file gpu_shader_create_info.hh.
References inouts, and blender::gpu::shader::NO_PERSPECTIVE.
|
inline |
Definition at line 649 of file gpu_shader_create_info.hh.
References inouts, and blender::gpu::shader::SMOOTH.
Referenced by blender::gpu::shader::GPUCodegen::generate_attribs().
List of all members of the interface.
Definition at line 641 of file gpu_shader_create_info.hh.
Referenced by flat(), blender::gpu::shader::is_vulkan_compatible_interface(), no_perspective(), print_interface(), blender::gpu::print_interface_as_attributes(), blender::gpu::print_interface_as_struct(), and smooth().
| 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 639 of file gpu_shader_create_info.hh.
Referenced by blender::gpu::GLShader::geometry_interface_declare(), blender::gpu::VKShader::geometry_layout_declare(), blender::gpu::shader::is_vulkan_compatible_interface(), blender::gpu::print_interface(), print_interface(), blender::gpu::print_interface_as_struct(), and StageInterfaceInfo().
| StringRefNull blender::gpu::shader::StageInterfaceInfo::name |
Definition at line 634 of file gpu_shader_create_info.hh.
Referenced by blender::gpu::shader::is_vulkan_compatible_interface(), print_interface(), blender::gpu::print_interface_as_struct(), and StageInterfaceInfo().