Was bedeutet "Attribut" ((gepackt, ausgerichtet (4)))?
Es ist C-Sprache. Es wird geschrieben, dass:
typedef struct __attribute__((packed, aligned(4))) Ball {
float2 delta;
float2 position;
//float3 color;
float size;
//int arcID;
//float arcStr;
} Ball_t;
Ball_t *balls;
Bitte sagen Sie mir, was es bedeutet und wie Sie dieses Schlüsselwort verwenden.