shengine pre-release
shengine by mrsinho
Loading...
Searching...
No Matches
shIdentity.h
Go to the documentation of this file.
1/**
2 * @file
3 * @brief Defines the ShIdentity structure and related constants.
4 *
5 * The ShIdentity structure represents an identity in the engine, which includes a name, tag, and subtag.
6 */
7
8#ifndef SH_IDENTITY_H
9#define SH_IDENTITY_H
10
11#ifdef __cplusplus
12extern "C" {
13#endif//__cplusplus
14
15
16
17/** @def SH_IDENTITY_STR256_LENGTH
18 * @brief The length of the identity string used in the @ref ShIdentity structure.
19 */
20#define SH_IDENTITY_STR256_LENGTH 32
21
22
23
24/**
25 * @struct ShIdentity
26 * @brief Represents an identity component in scene.
27 */
28typedef struct ShIdentity {
29 char name[SH_IDENTITY_STR256_LENGTH]; /**< The name of the identity. */
30 char tag[SH_IDENTITY_STR256_LENGTH]; /**< The tag of the identity. */
31 char subtag[SH_IDENTITY_STR256_LENGTH]; /**< The subtag of the identity. */
33
34
35
36
37#ifdef __cplusplus
38}
39#endif//__cplusplus
40
41#endif // SH_IDENTITY_H
#define SH_IDENTITY_STR256_LENGTH
The length of the identity string used in the ShIdentity structure.
Definition shIdentity.h:20
Represents an identity component in scene.
Definition shIdentity.h:28
char subtag[SH_IDENTITY_STR256_LENGTH]
Definition shIdentity.h:31
char tag[SH_IDENTITY_STR256_LENGTH]
Definition shIdentity.h:30
char name[SH_IDENTITY_STR256_LENGTH]
Definition shIdentity.h:29