MCPcopy Create free account
hub / github.com/blender/cycles / is_socket_float3

Function is_socket_float3

src/graph/node.cpp:39–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37
38#ifndef NDEBUG
39static bool is_socket_float3(const SocketType &socket)
40{
41 return socket.type == SocketType::COLOR || socket.type == SocketType::POINT ||
42 socket.type == SocketType::VECTOR || socket.type == SocketType::NORMAL;
43}
44
45static bool is_socket_array_float3(const SocketType &socket)
46{

Callers 2

setMethod · 0.85
get_float3Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected