File tree Expand file tree Collapse file tree 2 files changed +40
-3
lines changed
include/nbl/asset/metadata Expand file tree Collapse file tree 2 files changed +40
-3
lines changed Original file line number Diff line number Diff line change 1
- // Copyright (C) 2018-2020 - DevSH Graphics Programming Sp. z O.O.
1
+ // Copyright (C) 2018-2025 - DevSH Graphics Programming Sp. z O.O.
2
2
// This file is part of the "Nabla Engine".
3
3
// For conditions of distribution and use, see copyright notice in nabla.h
4
-
5
4
#ifndef _NBL_ASSET_I_ASSET_METADATA_H_INCLUDED_
6
5
#define _NBL_ASSET_I_ASSET_METADATA_H_INCLUDED_
7
6
7
+
8
8
#include " nbl/core/declarations.h"
9
9
10
10
#include " nbl/asset/metadata/IImageMetadata.h"
11
11
#include " nbl/asset/metadata/IImageViewMetadata.h"
12
+ #include " nbl/asset/metadata/IPolygonGeometryMetadata.h"
13
+
14
+
12
15
namespace nbl ::asset
13
16
{
14
17
namespace impl
@@ -30,6 +33,11 @@ struct IAssetMetadata_base::asset_metadata<ICPUImageView>
30
33
{
31
34
using type = IImageViewMetadata;
32
35
};
36
+ template <>
37
+ struct IAssetMetadata_base ::asset_metadata<ICPUPolygonGeometry>
38
+ {
39
+ using type = IPolygonGeometryMetadata;
40
+ };
33
41
}
34
42
35
43
@@ -125,5 +133,4 @@ class IAssetMetadata : public impl::IAssetMetadata_base
125
133
126
134
127
135
}
128
-
129
136
#endif
Original file line number Diff line number Diff line change
1
+ // Copyright (C) 2025-2025 - DevSH Graphics Programming Sp. z O.O.
2
+ // This file is part of the "Nabla Engine".
3
+ // For conditions of distribution and use, see copyright notice in nabla.h
4
+ #ifndef _NBL_ASSET_I_POLYGON_GEOMETRY_METADATA_H_INCLUDED_
5
+ #define _NBL_ASSET_I_POLYGON_GEOMETRY_METADATA_H_INCLUDED_
6
+
7
+
8
+ #include " nbl/asset/ICPUPolygonGeometry.h"
9
+
10
+
11
+ namespace nbl ::asset
12
+ {
13
+
14
+ // !
15
+ class IPolygonGeometryMetadata : public core ::Interface
16
+ {
17
+ public:
18
+ inline IPolygonGeometryMetadata () = default;
19
+
20
+ protected:
21
+ virtual ~IPolygonGeometryMetadata () = default ;
22
+
23
+ inline IPolygonGeometryMetadata& operator =(IPolygonGeometryMetadata&& other)
24
+ {
25
+ return *this ;
26
+ }
27
+ };
28
+
29
+ }
30
+ #endif
You can’t perform that action at this time.
0 commit comments