Blender V5.3
blender::GPUNodeStack Struct Reference

#include <GPU_material.hh>

Public Member Functions

bool might_be_tinted () const
bool socket_not_zero () const
bool socket_not_one () const
bool socket_not_black () const
bool socket_not_white () const

Public Attributes

GPUType type = GPU_NONE
GPUNodeStackValue value {std::monostate{}}
GPUNodeLink * link = nullptr
bool hasinput = false
bool hasoutput = false
short sockettype = 0
bool end = false

Detailed Description

Definition at line 465 of file GPU_material.hh.

Member Function Documentation

◆ might_be_tinted()

bool blender::GPUNodeStack::might_be_tinted ( ) const
inline

◆ socket_not_black()

bool blender::GPUNodeStack::socket_not_black ( ) const
inline

Definition at line 535 of file GPU_material.hh.

References BLI_assert_unreachable, blender::GPU_VEC3, and blender::GPU_VEC4.

◆ socket_not_one()

bool blender::GPUNodeStack::socket_not_one ( ) const
inline

◆ socket_not_white()

bool blender::GPUNodeStack::socket_not_white ( ) const
inline

Definition at line 558 of file GPU_material.hh.

References BLI_assert_unreachable, blender::GPU_VEC3, and blender::GPU_VEC4.

◆ socket_not_zero()

bool blender::GPUNodeStack::socket_not_zero ( ) const
inline

Member Data Documentation

◆ end

bool blender::GPUNodeStack::end = false

◆ hasinput

bool blender::GPUNodeStack::hasinput = false

◆ hasoutput

bool blender::GPUNodeStack::hasoutput = false

◆ link

◆ sockettype

short blender::GPUNodeStack::sockettype = 0

◆ type

◆ value


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