22 "Which frame to use for videos. Note that different frames in videos can "
23 "have different resolutions");
27 b.add_output<
decl::Bool>(
"Has Alpha"_ustr).description(
"Whether the image has an alpha channel");
30 .description(
"The number of animation frames. If a single image, then 1");
32 .description(
"Animation playback speed in frames per second. If a single image, then 0");
46 image_user.
frames = std::numeric_limits<int>::max();
#define GEO_NODE_IMAGE_INFO
#define BLI_SCOPED_DEFER(function_to_defer)
#define NOD_REGISTER_NODE(REGISTER_FUNC)
T extract_input(const UString identifier)
void set_default_remaining_outputs()
void set_output(const UString identifier, T &&value)
void node_register_type(bNodeType &ntype)
static void node_declare(NodeDeclarationBuilder &b)
static void node_geo_exec(GeoNodeExecParams params)
static void node_register()
bool BKE_image_is_animated(Image *image)
ImBuf * BKE_image_acquire_ibuf(Image *ima, ImageUser *iuser, void **r_lock)
float MOV_get_fps(const MovieReader *anim)
int MOV_get_duration_frames(const MovieReader *anim)
void BKE_imageuser_default(ImageUser *iuser)
void geo_node_type_base(bke::bNodeType *ntype, UString idname, const std::optional< int16_t > legacy_type)
void BKE_image_release_ibuf(Image *ima, ImBuf *ibuf, void *lock)
bool can_contain_alpha() const
static constexpr int _240
std::string ui_description
NodeGeometryExecFunction geometry_node_execute
const char * enum_name_legacy
NodeDeclareFunction declare