Blender V4.5
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 209 of file GPU_material.hh.

Member Data Documentation

◆ default_value

eGPUDefaultValue GPUMaterialAttribute::default_value

Definition at line 215 of file GPU_material.hh.

Referenced by GPU_attribute_with_default().

◆ gputype

eGPUType GPUMaterialAttribute::gputype

Definition at line 214 of file GPU_material.hh.

◆ id

int GPUMaterialAttribute::id

Definition at line 216 of file GPU_material.hh.

Referenced by gpu_node_graph_add_attribute().

◆ input_name

char GPUMaterialAttribute::input_name[12+1]

Definition at line 213 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 223 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 227 of file GPU_material.hh.

Referenced by attr_prefix_get(), and gpu_node_graph_add_attribute().

◆ name

char GPUMaterialAttribute::name[68]

Definition at line 212 of file GPU_material.hh.

Referenced by attr_input_name(), and gpu_node_graph_add_attribute().

◆ next

GPUMaterialAttribute* GPUMaterialAttribute::next

Definition at line 210 of file GPU_material.hh.

Referenced by gpu_node_graph_add_attribute().

◆ prev

GPUMaterialAttribute * GPUMaterialAttribute::prev

Definition at line 210 of file GPU_material.hh.

◆ type

int GPUMaterialAttribute::type

Definition at line 211 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 217 of file GPU_material.hh.

Referenced by gpu_node_graph_add_attribute().


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