mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
50 lines
1.8 KiB
C
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 */
|