# Conflicts: # Content/Shaders/GI/DDGI.flax # Content/Shaders/GI/GlobalSurfaceAtlas.flax # Content/Shaders/TAA.flax # Content/Shaders/VolumetricFog.flax # Source/Editor/CustomEditors/Editors/ActorTagEditor.cs # Source/Engine/Core/Config/GraphicsSettings.cpp # Source/Engine/Engine/PostProcessEffect.cs # Source/Engine/Graphics/GPUResourcesCollection.cpp # Source/Engine/Graphics/GPUResourcesCollection.h # Source/Engine/Graphics/PostProcessBase.h # Source/FlaxEngine.Gen.cs
35 lines
612 B
C++
35 lines
612 B
C++
// Copyright (c) 2012-2023 Wojciech Figat. All rights reserved.
|
|
|
|
#pragma once
|
|
|
|
#if GRAPHICS_API_NULL
|
|
|
|
#include "Engine/Graphics/GPUAdapter.h"
|
|
|
|
/// <summary>
|
|
/// Graphics Device adapter implementation for Null backend.
|
|
/// </summary>
|
|
class GPUAdapterNull : public GPUAdapter
|
|
{
|
|
public:
|
|
// [GPUAdapter]
|
|
bool IsValid() const override
|
|
{
|
|
return true;
|
|
}
|
|
void* GetNativePtr() const override
|
|
{
|
|
return nullptr;
|
|
}
|
|
uint32 GetVendorId() const override
|
|
{
|
|
return 0;
|
|
}
|
|
String GetDescription() const override
|
|
{
|
|
return TEXT("Null");
|
|
}
|
|
};
|
|
|
|
#endif
|