January 2014
Intermediate to advanced
430 pages
9h 51m
English
In this recipe, we will see how the included sample framework deals with the initialization of device-dependent Direct3D resources and how our custom classes can make use of this throughout this book.
We continue from where we left off in the Using the sample rendering framework recipe.
We will review the base class's implementation of the CreateDeviceDependentResources function, and then look at how to implement overrides within the descending classes.
D3DApplicationBase.CreateDeviceDependentResources implementation is assigned as an event-handler to the DeviceManager.OnInitialize event.protected virtual void CreateDeviceDependentResources(DeviceManager ...Read now
Unlock full access