public Scene(Window window) { this.Window = window; this.context = new D3D12GraphicsContext(); // InitDXR this.InitDXR((IntPtr)window.Handle, window.Width, window.Height); }
public Scene(Window window) { this.Window = window; this.context = new D3D12GraphicsContext(); // InitDXR this.InitDXR((IntPtr)window.Handle, window.Width, window.Height); // Acceleration Structures this.CreateAccelerationStructures(); }
public Scene(Window window) { this.Window = window; this.context = new D3D12GraphicsContext(window.Width, window.Height); // InitDXR this.InitDXR((IntPtr)window.Handle, window.Width, window.Height); // Acceleration Structures this.CreateAccelerationStructures(); // RtPipeline this.CreateRtPipelineState(); // ShaderTable this.CreateShaderTable(); }
public Scene(Window window) { this.Window = window; this.context = new D3D12GraphicsContext(window.Width, window.Height); // InitDXR Tutorial 02 this.InitDXR((IntPtr)window.Handle, window.Width, window.Height); // Acceleration Structures Tutorial 03 this.CreateAccelerationStructures(); // RtPipeline Tutorial 04 this.CreateRtPipelineState(); // ShaderResources Tutorial 06. Need to do this before initializing the shader-table this.CreateShaderResources(); // ShaderTable Tutorial 05 this.CreateShaderTable(); }