Blender  V2.93
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 40 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 45 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

◆ name_offset

uint32_t blender::gpu::ShaderInput::name_offset

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