Blender  V3.3
Public Attributes | List of all members
blender::gpu::ShaderInput Struct Reference

#include <gpu_shader_interface.hh>

Public Attributes

uint32_t name_offset
 
uint32_t name_hash
 
int32_t location
 
int32_t binding
 

Detailed Description

Definition at line 25 of file gpu_shader_interface.hh.

Member Data Documentation

◆ binding

int32_t blender::gpu::ShaderInput::binding

Defined at interface creation or in shader. Only for Samplers, UBOs and Vertex Attributes.

Definition at line 30 of file gpu_shader_interface.hh.

Referenced by blender::gpu::GLShaderInterface::GLShaderInterface(), and GPU_shader_get_uniform_block_binding().

◆ location

int32_t blender::gpu::ShaderInput::location

◆ name_hash

uint32_t blender::gpu::ShaderInput::name_hash

Definition at line 27 of file gpu_shader_interface.hh.

Referenced by blender::gpu::sort_input_list().

◆ name_offset

uint32_t blender::gpu::ShaderInput::name_offset

Definition at line 26 of file gpu_shader_interface.hh.


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