Add dynamic textures streaming based on visibility

This commit is contained in:
Wojtek Figat
2021-06-18 14:41:44 +02:00
parent 41f0554484
commit f582ca5051
13 changed files with 70 additions and 39 deletions

View File

@@ -121,18 +121,14 @@ private:
protected:
/// <summary>
/// Initializes a new instance of the <see cref="GPUContext"/> class.
/// </summary>
/// <param name="device">The graphics device.</param>
double _lastRenderTime = -1;
GPUContext(GPUDevice* device);
public:
/// <summary>
/// Gets the graphics device handle
/// Gets the graphics device.
/// </summary>
/// <returns>Graphics device</returns>
FORCE_INLINE GPUDevice* GetDevice() const
{
return _device;