Blender V5.0
GPUMaterialAttribute Struct Reference

#include <GPU_material.hh>

Public Attributes

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

Detailed Description

Definition at line 228 of file GPU_material.hh.

Member Data Documentation

◆ default_value

GPUDefaultValue GPUMaterialAttribute::default_value

Definition at line 234 of file GPU_material.hh.

Referenced by GPU_attribute_with_default().

◆ gputype

GPUType GPUMaterialAttribute::gputype

Definition at line 233 of file GPU_material.hh.

◆ id

int GPUMaterialAttribute::id

Definition at line 235 of file GPU_material.hh.

Referenced by gpu_node_graph_add_attribute().

◆ input_name

char GPUMaterialAttribute::input_name[12+1]

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

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

◆ is_hair_intercept

bool GPUMaterialAttribute::is_hair_intercept

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

Definition at line 250 of file GPU_material.hh.

Referenced by attr_prefix_get(), 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 246 of file GPU_material.hh.

Referenced by attr_prefix_get(), and gpu_node_graph_add_attribute().

◆ name

char GPUMaterialAttribute::name[68]

Definition at line 231 of file GPU_material.hh.

Referenced by attr_input_name(), and gpu_node_graph_add_attribute().

◆ next

GPUMaterialAttribute* GPUMaterialAttribute::next

Definition at line 229 of file GPU_material.hh.

Referenced by gpu_node_graph_add_attribute().

◆ prev

GPUMaterialAttribute * GPUMaterialAttribute::prev

Definition at line 229 of file GPU_material.hh.

◆ type

int GPUMaterialAttribute::type

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

Referenced by gpu_node_graph_add_attribute().


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