140 std::variant<float, float2, float3, float4, float3x3, float4x4, int, int2, int3, int4, bool>;
261 GPUMaterial *mat,
int width,
int height,
const float *pixels,
float *row);
#define ENUM_OPERATORS(_enum_type)
These structs are the foundation for all linked lists in the library system.
std::variant< const float *, const int *, const bool * > GPUNodeLinkData
GPUNodeGraph * gpu_material_node_graph(GPUMaterial *material)
Span< float > gpu_constant_to_float_span(const GPUInputConstantData &data, const GPUType type)
Span< int > gpu_constant_to_int_span(const GPUInputConstantData &data, const GPUType type)
void gpu_nodes_tag(GPUNodeGraph *graph, GPUNodeLink *link_start, GPUNodeTag tag)
gpu::Texture ** gpu_material_ramp_texture_row_set(GPUMaterial *mat, int size, const float *pixels, float *r_row)
gpu::Texture ** gpu_material_sky_texture_layer_set(GPUMaterial *mat, int width, int height, const float *pixels, float *row)
BMesh const char void * data
bool gpu_constant_to_bool(const GPUInputConstantData &data)
@ GPU_NODE_TAG_COMPOSITOR
@ GPU_NODE_TAG_DISPLACEMENT
void gpu_node_graph_free(GPUNodeGraph *graph)
void gpu_node_graph_free_nodes(GPUNodeGraph *graph)
@ GPU_NODE_LINK_IMAGE_SKY
@ GPU_NODE_LINK_LAYER_ATTR
@ GPU_NODE_LINK_KERNEL_GLOBALS
@ GPU_NODE_LINK_IMAGE_TILED
@ GPU_NODE_LINK_SHADING_DATA
@ GPU_NODE_LINK_DIFFERENTIATE_FLOAT_FN
@ GPU_NODE_LINK_IMAGE_TILED_MAPPING
@ GPU_NODE_LINK_COLORBAND
@ GPU_NODE_LINK_UNIFORM_ATTR
@ GPU_SOURCE_TEX_TILED_MAPPING
@ GPU_SOURCE_SHADING_DATA
@ GPU_SOURCE_FUNCTION_CALL
@ GPU_SOURCE_THICKNESS_MODE
@ GPU_SOURCE_UNIFORM_ATTR
@ GPU_SOURCE_KERNEL_GLOBALS
void gpu_node_graph_finalize_uniform_attrs(GPUNodeGraph *graph)
void gpu_node_graph_prune_unused(GPUNodeGraph *graph)
void gpu_node_graph_optimize(GPUNodeGraph *graph)
std::variant< float, float2, float3, float4, float3x3, float4x4, int, int2, int3, int4, bool > GPUInputConstantData
GPUNodeGraphFunctionLink * prev
GPUNodeGraphFunctionLink * next
GPUNodeGraphOutputLink * next
GPUNodeGraphOutputLink * prev
ListBaseT< GPUMaterialAttribute > attributes
ListBaseT< GPUNodeGraphFunctionLink > material_functions
GPUNodeLink * outlink_surface
ListBaseT< GPULayerAttr > layer_attrs
GPUNodeLink * outlink_displacement
ListBaseT< GPUNodeGraphOutputLink > outlink_aovs
GPUNodeLink * outlink_thickness
ListBaseT< GPUNode > nodes
ListBaseT< GPUNodeGraphOutputLink > outlink_compositor
GPUNodeLink * outlink_volume
ListBaseT< GPUMaterialTexture > textures
GPUUniformAttrList uniform_attrs
const char * function_name
GPUNodeLinkType link_type
ListBaseT< GPUOutput > outputs
ListBaseT< GPUInput > inputs
struct blender::GPUNodeLink::@320015033373367277141211335260051041251102201172::@056141072156146233163242277107057324060367343271 differentiate_float
GPULayerAttr * layer_attr
GPUMaterialAttribute * attr
GPUMaterialTexture * texture
gpu::Texture ** colorband
GPUUniformAttr * uniform_attr