Blender V5.3
blender::bke::detail::SocketValueVariantTypeInfo Struct Reference

#include <BKE_node_socket_value.hh>

Static Public Member Functions

template<typename T>
static SocketValueVariantTypeInfo get ()
template<typename T>
static bool try_convert_fn (const CPPType &dst_type, SocketValueVariantAny &value)
template<typename T>
static bool is_interpretable_as_fn (const CPPType &dst_type, const SocketValueVariantAny &value)

Public Attributes

const CPPType & type
bool(*) convert_to (const CPPType &dst_type, SocketValueVariantAny &value)
bool(*) is_interpretable_as (const CPPType &dst_type, const SocketValueVariantAny &value)

Detailed Description

Definition at line 26 of file BKE_node_socket_value.hh.

Member Function Documentation

◆ get()

template<typename T>
SocketValueVariantTypeInfo blender::bke::detail::SocketValueVariantTypeInfo::get ( )
inlinestatic

◆ is_interpretable_as_fn()

template<typename CurrentT>
bool blender::bke::detail::SocketValueVariantTypeInfo::is_interpretable_as_fn ( const CPPType & dst_type,
const SocketValueVariantAny & value )
static

◆ try_convert_fn()

Member Data Documentation

◆ convert_to

bool(*) blender::bke::detail::SocketValueVariantTypeInfo::convert_to(const CPPType &dst_type, SocketValueVariantAny &value)

◆ is_interpretable_as

bool(*) blender::bke::detail::SocketValueVariantTypeInfo::is_interpretable_as(const CPPType &dst_type, const SocketValueVariantAny &value)

◆ type


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