NazaraEngine/include/Nazara/Renderer/RenderDeviceInfo.hpp

38 lines
828 B
C++

// Copyright (C) 2021 Jérôme "Lynix" Leclercq (lynix680@gmail.com)
// This file is part of the "Nazara Engine - Renderer module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#pragma once
#ifndef NAZARA_RENDERER_RENDERDEVICEINFO_HPP
#define NAZARA_RENDERER_RENDERDEVICEINFO_HPP
#include <Nazara/Prerequisites.hpp>
#include <Nazara/Renderer/Enums.hpp>
#include <string>
namespace Nz
{
struct RenderDeviceFeatures
{
bool anisotropicFiltering = false;
bool depthClamping = false;
bool nonSolidFaceFilling = false;
};
struct RenderDeviceLimits
{
UInt64 minUniformBufferOffsetAlignment;
};
struct RenderDeviceInfo
{
RenderDeviceFeatures features;
RenderDeviceLimits limits;
RenderDeviceType type;
std::string name;
};
}
#endif // NAZARA_RENDERER_RENDERDEVICEINFO_HPP