Blender V4.3
LayerAttribute Struct Reference

#include <draw_shader_shared.hh>

Public Attributes

float4 data
 
uint hash_code
 
uint buffer_length
 
uint _pad1
 
uint _pad2
 

Detailed Description

Note
we only align to 4 bytes and fetch data manually so make sure C++ compiler gives us the same size.

Definition at line 290 of file draw_shader_shared.hh.

Member Data Documentation

◆ _pad1

uint LayerAttribute::_pad1

Definition at line 294 of file draw_shader_shared.hh.

◆ _pad2

uint LayerAttribute::_pad2

Definition at line 294 of file draw_shader_shared.hh.

◆ buffer_length

uint LayerAttribute::buffer_length

Definition at line 293 of file draw_shader_shared.hh.

Referenced by drw_ensure_layer_attribute_buffer().

◆ data

float4 LayerAttribute::data

Definition at line 291 of file draw_shader_shared.hh.

Referenced by drw_ensure_layer_attribute_buffer().

◆ hash_code

uint LayerAttribute::hash_code

Definition at line 292 of file draw_shader_shared.hh.

Referenced by drw_ensure_layer_attribute_buffer().


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