24 lines
365 B
C++
24 lines
365 B
C++
// Copyright (c) 2012-2024 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
|