LLGL 0.05 Beta
Loading...
Searching...
No Matches
RenderSystemFlags.h File Reference
#include <LLGL/Export.h>
#include <LLGL/CommandBufferFlags.h>
#include <LLGL/TextureFlags.h>
#include <LLGL/Constants.h>
#include <LLGL/RendererConfiguration.h>
#include <LLGL/Container/UTF8String.h>
#include <LLGL/Container/StringLiteral.h>
#include <LLGL/Container/DynamicVector.h>
#include <LLGL/Deprecated.h>
#include <LLGL/Platform/Platform.h>
#include <cstddef>
#include <cstdint>
#include <string>
#include <vector>
#include <functional>

Classes

struct  LLGL::RenderSystemFlags
 Render system flags enumeration. More...
struct  LLGL::RendererID
 Renderer identification number enumeration. More...
struct  LLGL::RendererInfo
 Renderer basic information structure. More...
struct  LLGL::RenderSystemDescriptor
 Render system descriptor structure. More...
struct  LLGL::RenderingFeatures
 Contains the attributes for all supported rendering features. More...
struct  LLGL::RenderingLimits
 Contains all rendering limitations such as maximum buffer size, maximum texture resolution etc. More...
struct  LLGL::RenderingCapabilities
 Structure with all attributes describing the rendering capabilities of the render system. More...

Namespaces

namespace  LLGL

Typedefs

using LLGL::ValidateRenderingCapsFunc = std::function<bool(const std::string& info, const std::string& attrib)>
 Callback interface for the ValidateRenderingCaps function.

Enumerations

enum class  LLGL::ShadingLanguage {
  LLGL::GLSL = (0x10000) , LLGL::GLSL_110 = (0x10000 | 110) , LLGL::GLSL_120 = (0x10000 | 120) , LLGL::GLSL_130 = (0x10000 | 130) ,
  LLGL::GLSL_140 = (0x10000 | 140) , LLGL::GLSL_150 = (0x10000 | 150) , LLGL::GLSL_330 = (0x10000 | 330) , LLGL::GLSL_400 = (0x10000 | 400) ,
  LLGL::GLSL_410 = (0x10000 | 410) , LLGL::GLSL_420 = (0x10000 | 420) , LLGL::GLSL_430 = (0x10000 | 430) , LLGL::GLSL_440 = (0x10000 | 440) ,
  LLGL::GLSL_450 = (0x10000 | 450) , LLGL::GLSL_460 = (0x10000 | 460) , LLGL::ESSL = (0x20000) , LLGL::ESSL_100 = (0x20000 | 100) ,
  LLGL::ESSL_300 = (0x20000 | 300) , LLGL::ESSL_310 = (0x20000 | 310) , LLGL::ESSL_320 = (0x20000 | 320) , LLGL::HLSL = (0x30000) ,
  LLGL::HLSL_2_0 = (0x30000 | 200) , LLGL::HLSL_2_0a = (0x30000 | 201) , LLGL::HLSL_2_0b = (0x30000 | 202) , LLGL::HLSL_3_0 = (0x30000 | 300) ,
  LLGL::HLSL_4_0 = (0x30000 | 400) , LLGL::HLSL_4_1 = (0x30000 | 410) , LLGL::HLSL_5_0 = (0x30000 | 500) , LLGL::HLSL_5_1 = (0x30000 | 510) ,
  LLGL::HLSL_6_0 = (0x30000 | 600) , LLGL::HLSL_6_1 = (0x30000 | 610) , LLGL::HLSL_6_2 = (0x30000 | 620) , LLGL::HLSL_6_3 = (0x30000 | 630) ,
  LLGL::HLSL_6_4 = (0x30000 | 640) , LLGL::HLSL_6_5 = (0x30000 | 650) , LLGL::HLSL_6_6 = (0x30000 | 660) , LLGL::HLSL_6_7 = (0x30000 | 670) ,
  LLGL::HLSL_6_8 = (0x30000 | 680) , LLGL::HLSL_6_9 = (0x30000 | 690) , LLGL::Metal = (0x40000) , LLGL::Metal_1_0 = (0x40000 | 100) ,
  LLGL::Metal_1_1 = (0x40000 | 110) , LLGL::Metal_1_2 = (0x40000 | 120) , LLGL::Metal_2_0 = (0x40000 | 200) , LLGL::Metal_2_1 = (0x40000 | 210) ,
  LLGL::Metal_2_2 = (0x40000 | 220) , LLGL::Metal_2_3 = (0x40000 | 230) , LLGL::Metal_2_4 = (0x40000 | 240) , LLGL::Metal_3_0 = (0x40000 | 300) ,
  LLGL::SPIRV = (0x50000) , LLGL::SPIRV_100 = (0x50000 | 100) , LLGL::DXIL = (0x60000) , LLGL::DXIL_1_0 = (0x60000 | 100) ,
  LLGL::DXIL_1_1 = (0x60000 | 110) , LLGL::DXIL_1_2 = (0x60000 | 120) , LLGL::DXIL_1_3 = (0x60000 | 130) , LLGL::DXIL_1_4 = (0x60000 | 140) ,
  LLGL::DXIL_1_5 = (0x60000 | 150) , LLGL::DXIL_1_6 = (0x60000 | 160) , LLGL::DXIL_1_7 = (0x60000 | 170) , LLGL::DXIL_1_8 = (0x60000 | 180) ,
  LLGL::DXIL_1_9 = (0x60000 | 190) , LLGL::VersionBitmask = 0x0000FFFF
}
 Shading language version enumeration. More...
enum class  LLGL::ScreenOrigin { LLGL::LowerLeft , LLGL::UpperLeft }
 Screen coordinate system origin enumeration. More...
enum class  LLGL::ClippingRange { LLGL::MinusOneToOne , LLGL::ZeroToOne }
 Clipping depth range enumeration. More...
enum class  LLGL::CPUAccess { LLGL::ReadOnly , LLGL::WriteOnly , LLGL::WriteDiscard , LLGL::ReadWrite }
 Classifications of CPU access to mapped resources. More...

Functions

LLGL_EXPORT bool LLGL::ValidateRenderingCaps (const RenderingCapabilities &presentCaps, const RenderingCapabilities &requiredCaps, const ValidateRenderingCapsFunc &callback={})
 Validates the presence of the specified required rendering capabilities.