Need to make the context object cheap to copy too (so we can easily change the "context"), this means we should not store heavy-to-copy objects such as resource caches directly in the context object. Probably as raw pointers.
[ ] Thread-safe resource caches
[ ] Make context object cheap to copy (e.g., resource caches store as raw pointers)
[ ] Context should be taken as const param
[ ] Flags for Actor SDL type such as isOrdinary() or isPhantom()
[ ] Should we add PrimitiveMetadata for phantom actors? AIesAttenuatedLight does not need that as it wraps emitters and uses its own metadata. ATransformedInstance need that as it simply wraps an intersectable. Kind of messy, need to cleanup.
Need to make the context object cheap to copy too (so we can easily change the "context"), this means we should not store heavy-to-copy objects such as resource caches directly in the context object. Probably as raw pointers.
Actor
SDL type such asisOrdinary()
orisPhantom()
PrimitiveMetadata
for phantom actors?AIesAttenuatedLight
does not need that as it wraps emitters and uses its own metadata.ATransformedInstance
need that as it simply wraps an intersectable. Kind of messy, need to cleanup.