void SetDevice(Platform::Device* device);
SetDevice sets the rendering device. Device must be applied before RenderThread is started.