Hardware 3D (C++ DirectX Graphics) Tutorial 33
From Chilipedia
Time to take out the trash, i.e. clean up the Drawable
/ Bindable
system. Going to create a central repository (Codex
in chili parlance) to manage Bindable
s to be shared between any Drawable
.
Topics Covered
- Single pool of
Bindable
s perDrawable
instance - Using
shared_ptr
to manage shared dynamic resources -
Codex
system as a central repository for bindables (based inunordered_map
) - Generating unique ID strings for resources