spine-runtimes/spine-c/src/generated/attachment_loader.h
2025-09-15 15:14:50 +02:00

50 lines
1.8 KiB
C

#ifndef SPINE_SPINE_ATTACHMENT_LOADER_H
#define SPINE_SPINE_ATTACHMENT_LOADER_H
#include "../base.h"
#include "types.h"
#include "arrays.h"
#ifdef __cplusplus
extern "C" {
#endif
SPINE_C_API void spine_attachment_loader_dispose(spine_attachment_loader self);
/**
*
* @return May be NULL to not load any attachment.
*/
SPINE_C_API /*@null*/ spine_region_attachment spine_attachment_loader_new_region_attachment(spine_attachment_loader self, spine_skin skin,
const char *name, const char *path,
/*@null*/ spine_sequence sequence);
/**
*
* @return May be NULL to not load any attachment.
*/
SPINE_C_API /*@null*/ spine_mesh_attachment spine_attachment_loader_new_mesh_attachment(spine_attachment_loader self, spine_skin skin,
const char *name, const char *path,
/*@null*/ spine_sequence sequence);
/**
*
* @return May be NULL to not load any attachment.
*/
SPINE_C_API /*@null*/ spine_bounding_box_attachment spine_attachment_loader_new_bounding_box_attachment(spine_attachment_loader self, spine_skin skin,
const char *name);
/**
*
* @return May be NULL to not load any attachment
*/
SPINE_C_API /*@null*/ spine_path_attachment spine_attachment_loader_new_path_attachment(spine_attachment_loader self, spine_skin skin,
const char *name);
SPINE_C_API /*@null*/ spine_point_attachment spine_attachment_loader_new_point_attachment(spine_attachment_loader self, spine_skin skin,
const char *name);
SPINE_C_API /*@null*/ spine_clipping_attachment spine_attachment_loader_new_clipping_attachment(spine_attachment_loader self, spine_skin skin,
const char *name);
#ifdef __cplusplus
}
#endif
#endif /* SPINE_SPINE_ATTACHMENT_LOADER_H */