File tree Expand file tree Collapse file tree 5 files changed +24
-12
lines changed
include/nbl/builtin/hlsl/concepts/accessors Expand file tree Collapse file tree 5 files changed +24
-12
lines changed Original file line number Diff line number Diff line change 1
1
// Copyright (C) 2024-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
- #ifndef _NBL_BUILTIN_HLSL_CONCEPTS_ANISOTROPICALLY_SAMPLED_INCLUDED_
5
- #define _NBL_BUILTIN_HLSL_CONCEPTS_ANISOTROPICALLY_SAMPLED_INCLUDED_
4
+ #ifndef _NBL_BUILTIN_HLSL_CONCEPTS_ACCESSORS_ANISOTROPICALLY_SAMPLED_INCLUDED_
5
+ #define _NBL_BUILTIN_HLSL_CONCEPTS_ACCESSORS_ANISOTROPICALLY_SAMPLED_INCLUDED_
6
6
7
7
8
8
#include <nbl/builtin/hlsl/concepts.hlsl>
@@ -14,6 +14,8 @@ namespace hlsl
14
14
{
15
15
namespace concepts
16
16
{
17
+ namespace accessors
18
+ {
17
19
// declare concept
18
20
#define NBL_CONCEPT_NAME AnisotropicallySampled
19
21
#define NBL_CONCEPT_TPLT_PRM_KINDS (typename)(int32_t)
@@ -44,4 +46,5 @@ NBL_CONCEPT_END(
44
46
}
45
47
}
46
48
}
49
+ }
47
50
#endif
Original file line number Diff line number Diff line change 1
1
// Copyright (C) 2024-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
- #ifndef _NBL_BUILTIN_HLSL_CONCEPTS_LOADABLE_IMAGE_INCLUDED_
5
- #define _NBL_BUILTIN_HLSL_CONCEPTS_LOADABLE_IMAGE_INCLUDED_
4
+ #ifndef _NBL_BUILTIN_HLSL_CONCEPTS_ACCESSORS_LOADABLE_IMAGE_INCLUDED_
5
+ #define _NBL_BUILTIN_HLSL_CONCEPTS_ACCESSORS_LOADABLE_IMAGE_INCLUDED_
6
6
7
7
8
8
#include <nbl/builtin/hlsl/concepts.hlsl>
@@ -14,6 +14,8 @@ namespace hlsl
14
14
{
15
15
namespace concepts
16
16
{
17
+ namespace accessors
18
+ {
17
19
// declare concept
18
20
#define NBL_CONCEPT_NAME StorableImage
19
21
#define NBL_CONCEPT_TPLT_PRM_KINDS (typename)(typename)(int32_t)
@@ -63,4 +65,5 @@ NBL_CONCEPT_END(
63
65
}
64
66
}
65
67
}
68
+ }
66
69
#endif
Original file line number Diff line number Diff line change 1
1
// Copyright (C) 2024-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
- #ifndef _NBL_BUILTIN_HLSL_CONCEPTS_MIP_MAPPED_INCLUDED_
5
- #define _NBL_BUILTIN_HLSL_CONCEPTS_MIP_MAPPED_INCLUDED_
4
+ #ifndef _NBL_BUILTIN_HLSL_CONCEPTS_ACCESSORS_MIP_MAPPED_INCLUDED_
5
+ #define _NBL_BUILTIN_HLSL_CONCEPTS_ACCESSORS_MIP_MAPPED_INCLUDED_
6
6
7
7
8
8
#include <nbl/builtin/hlsl/concepts.hlsl>
@@ -14,6 +14,8 @@ namespace hlsl
14
14
{
15
15
namespace concepts
16
16
{
17
+ namespace accessors
18
+ {
17
19
// declare concept
18
20
#define NBL_CONCEPT_NAME MipMapped
19
21
#define NBL_CONCEPT_TPLT_PRM_KINDS (typename)(int32_t)
@@ -41,4 +43,5 @@ NBL_CONCEPT_END(
41
43
}
42
44
}
43
45
}
46
+ }
44
47
#endif
Original file line number Diff line number Diff line change 1
1
// Copyright (C) 2024-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
- #ifndef _NBL_BUILTIN_HLSL_CONCEPTS_STORABLE_IMAGE_INCLUDED_
5
- #define _NBL_BUILTIN_HLSL_CONCEPTS_STORABLE_IMAGE_INCLUDED_
4
+ #ifndef _NBL_BUILTIN_HLSL_CONCEPTS_ACCESSORS_STORABLE_IMAGE_INCLUDED_
5
+ #define _NBL_BUILTIN_HLSL_CONCEPTS_ACCESSORS_STORABLE_IMAGE_INCLUDED_
6
6
7
7
8
8
#include <nbl/builtin/hlsl/concepts.hlsl>
@@ -14,6 +14,8 @@ namespace hlsl
14
14
{
15
15
namespace concepts
16
16
{
17
+ namespace accessors
18
+ {
17
19
// declare concept
18
20
#define NBL_CONCEPT_NAME StorableImage
19
21
#define NBL_CONCEPT_TPLT_PRM_KINDS (typename)(typename)(int32_t)
@@ -41,4 +43,5 @@ NBL_CONCEPT_END(
41
43
}
42
44
}
43
45
}
46
+ }
44
47
#endif
Original file line number Diff line number Diff line change @@ -325,9 +325,9 @@ LIST_BUILTIN_RESOURCE(NBL_RESOURCES_TO_EMBED "hlsl/enums.hlsl")
325
325
LIST_BUILTIN_RESOURCE (NBL_RESOURCES_TO_EMBED "hlsl/binding_info.hlsl" )
326
326
#
327
327
LIST_BUILTIN_RESOURCE (NBL_RESOURCES_TO_EMBED "hlsl/concepts/__end.hlsl" )
328
- LIST_BUILTIN_RESOURCE (NBL_RESOURCES_TO_EMBED "hlsl/concepts/anisotropically_sampled.hlsl" )
329
- LIST_BUILTIN_RESOURCE (NBL_RESOURCES_TO_EMBED "hlsl/concepts/loadable_image.hlsl" )
330
- LIST_BUILTIN_RESOURCE (NBL_RESOURCES_TO_EMBED "hlsl/concepts/mip_mapped.hlsl" )
331
- LIST_BUILTIN_RESOURCE (NBL_RESOURCES_TO_EMBED "hlsl/concepts/storable_image.hlsl" )
328
+ LIST_BUILTIN_RESOURCE (NBL_RESOURCES_TO_EMBED "hlsl/concepts/accessors/ anisotropically_sampled.hlsl" )
329
+ LIST_BUILTIN_RESOURCE (NBL_RESOURCES_TO_EMBED "hlsl/concepts/accessors/ loadable_image.hlsl" )
330
+ LIST_BUILTIN_RESOURCE (NBL_RESOURCES_TO_EMBED "hlsl/concepts/accessors/ mip_mapped.hlsl" )
331
+ LIST_BUILTIN_RESOURCE (NBL_RESOURCES_TO_EMBED "hlsl/concepts/accessors/ storable_image.hlsl" )
332
332
333
333
ADD_CUSTOM_BUILTIN_RESOURCES (nblBuiltinResourceData NBL_RESOURCES_TO_EMBED "${NBL_ROOT_PATH} /include" "nbl/builtin" "nbl::builtin" "${NBL_ROOT_PATH_BINARY} /include" "${NBL_ROOT_PATH_BINARY} /src" "STATIC" "INTERNAL" )
You can’t perform that action at this time.
0 commit comments