示例#1
0
        public void InitScene(Device device, DeviceContext deviceContext, IRenderSurface renderSurface)
        {
            SceneRenderer.Init(renderSurface, device);
            m_cameraBuffer.Init(device);
            m_cubeCameraBuffer.Init(device);

            LightManager.Init(device, deviceContext);
        }