Skip to content

Commit 11102ff

Browse files
Updated Basic Platform documentation
1 parent 2db9e8c commit 11102ff

File tree

4 files changed

+16
-13
lines changed

4 files changed

+16
-13
lines changed

Graphics/HLSL2GLSLConverterLib/interface/HLSL2GLSLConverter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ static DILIGENT_CONSTEXPR INTERFACE_ID IID_HLSL2GLSLConverter =
8888

8989
// clang-format off
9090

91-
/// Interface to the buffer object implemented in OpenGL
91+
/// HLSL to GLSL converter interface.
9292
DILIGENT_BEGIN_INTERFACE(IHLSL2GLSLConverter, IObject)
9393
{
9494
VIRTUAL void METHOD(CreateStream)(THIS_

Platforms/Basic/interface/BasicFileSystem.hpp

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019-2022 Diligent Graphics LLC
2+
* Copyright 2019-2025 Diligent Graphics LLC
33
* Copyright 2015-2019 Egor Yusov
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -137,6 +137,7 @@ struct FindFileData
137137
bool IsDirectory = false;
138138
};
139139

140+
/// Basic platform-specific file system functions
140141
struct BasicFileSystem
141142
{
142143
public:
@@ -173,9 +174,9 @@ struct BasicFileSystem
173174
/// Splits path into individual components optionally simplifying it.
174175
///
175176
/// If Simplify is true:
176-
/// - Removes redundant slashes (a///b -> a/b)
177-
/// - Removes redundant . (a/./b -> a/b)
178-
/// - Collapses .. (a/b/../c -> a/c)
177+
/// - Removes redundant slashes (`a///b -> a/b`)
178+
/// - Removes redundant `.` (`a/./b -> a/b`)
179+
/// - Collapses `..` (`a/b/../c -> a/c`)
179180
static std::vector<String> SplitPath(const Char* Path, bool Simplify);
180181

181182
/// Builds a path from the given components.
@@ -184,12 +185,12 @@ struct BasicFileSystem
184185
/// Simplifies the path.
185186

186187
/// The function performs the following path simplifications:
187-
/// - Normalizes slashes using the given slash symbol (a\b/c -> a/b/c)
188-
/// - Removes redundant slashes (a///b -> a/b)
189-
/// - Removes redundant . (a/./b -> a/b)
190-
/// - Collapses .. (a/b/../c -> a/c)
191-
/// - Removes trailing slashes (/a/b/c/ -> /a/b/c)
192-
/// - When 'Slash' is Windows slash ('\'), removes leading slashes (\a\b\c -> a\b\c)
188+
/// - Normalizes slashes using the given slash symbol (`a\b/c -> a/b/c`)
189+
/// - Removes redundant slashes (`a///b -> a/b`)
190+
/// - Removes redundant `.` (`a/./b `-> `a/b`)
191+
/// - Collapses `..` (`a/b/../c -> a/c`)
192+
/// - Removes trailing slashes (`/a/b/c/ -> /a/b/c`)
193+
/// - When 'Slash' is Windows slash (`\`), removes leading slashes (`\a\b\c -> a\b\c`)
193194
static std::string SimplifyPath(const Char* Path, Char Slash = 0);
194195

195196

Platforms/Basic/interface/BasicPlatformDebug.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019-2024 Diligent Graphics LLC
2+
* Copyright 2019-2025 Diligent Graphics LLC
33
* Copyright 2015-2019 Egor Yusov
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -57,6 +57,7 @@ enum class TextColor
5757
Gray
5858
};
5959

60+
/// Basic platform-specific debug functions
6061
struct BasicPlatformDebug
6162
{
6263
static String FormatAssertionFailedMessage(const Char* Message,

Platforms/Basic/interface/BasicPlatformMisc.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019-2024 Diligent Graphics LLC
2+
* Copyright 2019-2025 Diligent Graphics LLC
33
* Copyright 2015-2019 Egor Yusov
44
*
55
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -42,6 +42,7 @@ enum class ThreadPriority
4242
Highest
4343
};
4444

45+
/// Basic platform-specific miscellaneous functions
4546
struct BasicPlatformMisc
4647
{
4748
template <typename Type>

0 commit comments

Comments
 (0)