Add support for programmable samplers in shaders

This commit is contained in:
Wojtek Figat
2021-06-28 15:56:32 +02:00
parent 971449bef1
commit 3c1fd427eb
31 changed files with 866 additions and 121 deletions

View File

@@ -0,0 +1,23 @@
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
#pragma once
#if GRAPHICS_API_NULL
#include "Engine/Graphics/Textures/GPUSampler.h"
/// <summary>
/// Sampler object for Null backend.
/// </summary>
class GPUSamplerNull : public GPUSampler
{
protected:
// [GPUSampler]
bool OnInit() override
{
return false;
}
};
#endif