Creates an instance of the type whose name is specified, using the named assembly and default constructor (same as Activator.CreateInstance). For some reason, Activator.CreateInstance() didn't work.
Called during device initialization, this code checks the device for some minimum set of capabilities, and rejects those that don't pass by returning false.
Before handling window messages, the sample framework passes incoming windows messages to the application through this callback function. If the application sets noFurtherProcessing to true, the sample framework will not process the message
This callback function is called immediately before a device is created to allow the application to modify the device settings. The supplied settings parameter contains the settings that the framework has selected for the new device, and the application can make any desired changes directly to this structure. Note however that the sample framework will not correct invalid device settings so care must be taken to return valid device settings, otherwise creating the Device will fail.
This callback function will be called once at the beginning of every frame. This is the best location for your application to handle updates to the scene, but is not intended to contain actual rendering calls, which should instead be placed in the OnFrameRender callback.
This callback function will be called at the end of every frame to perform all the rendering calls for the scene, and it will also be called if the window needs to be repainted. After this function has returned, the sample framework will call Device.Present to display the contents of the next buffer in the swap chain