Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
ECS::CustomEvent Struct Reference

#include <SGNComponent.h>

Classes

struct  DataPair
 

Public Types

enum class  Type : Divide::U8 {
  TransformUpdated = 0 , AnimationUpdated , RelationshipCacheInvalidated , BoundsUpdated ,
  DrawBoundsChanged , EntityPostLoad , EntityFlagChanged , NewShaderReady ,
  COUNT
}
 

Public Attributes

Type _type = Type::COUNT
 
Divide::SGNComponent_sourceCmp = nullptr
 
Divide::U32 _flag = 0u
 
union {
   DataPair   _dataPair
 
   Divide::U32   _data = 0u
 
}; 
 

Detailed Description

Definition at line 52 of file SGNComponent.h.

Member Enumeration Documentation

◆ Type

enum class ECS::CustomEvent::Type : Divide::U8
strong
Enumerator
TransformUpdated 
AnimationUpdated 
RelationshipCacheInvalidated 
BoundsUpdated 
DrawBoundsChanged 
EntityPostLoad 
EntityFlagChanged 
NewShaderReady 
COUNT 

Definition at line 53 of file SGNComponent.h.

Member Data Documentation

◆ 

union { ... } ECS::CustomEvent::@85

◆ _data

Divide::U32 ECS::CustomEvent::_data = 0u

Definition at line 78 of file SGNComponent.h.

◆ _dataPair

DataPair ECS::CustomEvent::_dataPair

Definition at line 77 of file SGNComponent.h.

◆ _flag

Divide::U32 ECS::CustomEvent::_flag = 0u

Definition at line 67 of file SGNComponent.h.

◆ _sourceCmp

Divide::SGNComponent* ECS::CustomEvent::_sourceCmp = nullptr

Definition at line 66 of file SGNComponent.h.

◆ _type

Type ECS::CustomEvent::_type = Type::COUNT

Definition at line 65 of file SGNComponent.h.


The documentation for this struct was generated from the following file: