Blender V4.3
GPUMaterialAttribute Struct Reference

#include <GPU_material.hh>

Public Attributes

GPUMaterialAttributenext
 
GPUMaterialAttributeprev
 
int type
 
char name [68]
 
char input_name [12+1]
 
eGPUType gputype
 
eGPUDefaultValue default_value
 
int id
 
int users
 
bool is_default_color
 
bool is_hair_length
 

Detailed Description

Definition at line 335 of file GPU_material.hh.

Member Data Documentation

◆ default_value

eGPUDefaultValue GPUMaterialAttribute::default_value

Definition at line 341 of file GPU_material.hh.

Referenced by GPU_attribute_with_default().

◆ gputype

eGPUType GPUMaterialAttribute::gputype

Definition at line 340 of file GPU_material.hh.

◆ id

int GPUMaterialAttribute::id

Definition at line 342 of file GPU_material.hh.

Referenced by gpu_node_graph_add_attribute().

◆ input_name

char GPUMaterialAttribute::input_name[12+1]

Definition at line 339 of file GPU_material.hh.

Referenced by attr_input_name().

◆ is_default_color

bool GPUMaterialAttribute::is_default_color

If true, the corresponding attribute is the specified default color attribute on the mesh, if it exists. In that case the type and name data can vary per geometry, so it will not be valid here.

Definition at line 349 of file GPU_material.hh.

Referenced by attr_prefix_get(), GPU_attribute_default_color(), and gpu_node_graph_add_attribute().

◆ is_hair_length

bool GPUMaterialAttribute::is_hair_length

If true, the attribute is the length of hair particles and curves.

Definition at line 353 of file GPU_material.hh.

Referenced by attr_prefix_get(), and gpu_node_graph_add_attribute().

◆ name

char GPUMaterialAttribute::name[68]

Definition at line 338 of file GPU_material.hh.

Referenced by attr_input_name(), and gpu_node_graph_add_attribute().

◆ next

GPUMaterialAttribute* GPUMaterialAttribute::next

Definition at line 336 of file GPU_material.hh.

Referenced by gpu_node_graph_add_attribute().

◆ prev

GPUMaterialAttribute * GPUMaterialAttribute::prev

Definition at line 336 of file GPU_material.hh.

◆ type

int GPUMaterialAttribute::type

Definition at line 337 of file GPU_material.hh.

Referenced by attr_input_name(), attr_prefix_get(), and gpu_node_graph_add_attribute().

◆ users

int GPUMaterialAttribute::users

Definition at line 343 of file GPU_material.hh.

Referenced by gpu_node_graph_add_attribute(), and gpu_node_input_link().


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