Blender  V3.3
Public Attributes | List of all members
GPUMaterialAttribute Struct Reference

#include <GPU_material.h>

Public Attributes

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

Detailed Description

Definition at line 273 of file GPU_material.h.

Member Data Documentation

◆ default_value

eGPUDefaultValue GPUMaterialAttribute::default_value

Definition at line 279 of file GPU_material.h.

Referenced by GPU_attribute_with_default().

◆ gputype

eGPUType GPUMaterialAttribute::gputype

Definition at line 278 of file GPU_material.h.

◆ id

int GPUMaterialAttribute::id

Definition at line 280 of file GPU_material.h.

Referenced by gpu_node_graph_add_attribute().

◆ input_name

char GPUMaterialAttribute::input_name[12+1]

Definition at line 277 of file GPU_material.h.

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 287 of file GPU_material.h.

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

◆ name

char GPUMaterialAttribute::name[64]

Definition at line 276 of file GPU_material.h.

Referenced by attr_input_name(), and gpu_node_graph_add_attribute().

◆ next

struct GPUMaterialAttribute* GPUMaterialAttribute::next

Definition at line 274 of file GPU_material.h.

Referenced by gpu_node_graph_add_attribute().

◆ prev

struct GPUMaterialAttribute * GPUMaterialAttribute::prev

Definition at line 274 of file GPU_material.h.

◆ type

int GPUMaterialAttribute::type

Definition at line 275 of file GPU_material.h.

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

◆ users

int GPUMaterialAttribute::users

Definition at line 281 of file GPU_material.h.

Referenced by gpu_node_graph_add_attribute().


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