Main Page Class List Class Members

NvBlastExtLlSerialization.h
Go to the documentation of this file.
1 // This code contains NVIDIA Confidential Information and is disclosed to you
2 // under a form of NVIDIA software license agreement provided separately to you.
3 //
4 // Notice
5 // NVIDIA Corporation and its licensors retain all intellectual property and
6 // proprietary rights in and to this software and related documentation and
7 // any modifications thereto. Any use, reproduction, disclosure, or
8 // distribution of this software and related documentation without an express
9 // license agreement from NVIDIA Corporation is strictly prohibited.
10 //
11 // ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES
12 // NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
13 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT,
14 // MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.
15 //
16 // Information and code furnished is believed to be accurate and reliable.
17 // However, NVIDIA Corporation assumes no responsibility for the consequences of use of such
18 // information or for any infringement of patents or other rights of third parties that may
19 // result from its use. No license is granted by implication or otherwise under any patent
20 // or patent rights of NVIDIA Corporation. Details are subject to change without notice.
21 // This code supersedes and replaces all information previously supplied.
22 // NVIDIA Corporation products are not authorized for use as critical
23 // components in life support devices or systems without express written approval of
24 // NVIDIA Corporation.
25 //
26 // Copyright (c) 2020 NVIDIA Corporation. All rights reserved.
27
28
29 #pragma once
30
31 #include "NvBlastGlobals.h"
32
33
39 // Forward declarations
40 struct NvBlastAsset;
41 struct NvBlastFamily;
42
43
44 namespace Nv
45 {
46 namespace Blast
47 {
48
49 // Forward declarations
50 class ExtSerialization;
51
52
54 struct LlObjectTypeID
55 {
56 enum Enum
57 {
58 Asset = NVBLAST_FOURCC('L', 'L', 'A', 'S'),
59 Family = NVBLAST_FOURCC('L', 'L', 'F', 'A'),
60 };
61 };
62
63 } // namespace Blast
64 } // namespace Nv
65
66
79 NVBLAST_API size_t NvBlastExtLlSerializerLoadSet(Nv::Blast::ExtSerialization& serialization);
80
81
96 NVBLAST_API uint64_t NvBlastExtSerializationSerializeAssetIntoBuffer(void*& buffer, Nv::Blast::ExtSerialization& serialization, const NvBlastAsset* asset);
97
98
113 NVBLAST_API uint64_t NvBlastExtSerializationSerializeFamilyIntoBuffer(void*& buffer, Nv::Blast::ExtSerialization& serialization, const NvBlastFamily* family);
NvBlastExtSerializationSerializeAssetIntoBuffer
uint64_t NvBlastExtSerializationSerializeAssetIntoBuffer(void *&buffer, Nv::Blast::ExtSerialization &serialization, const NvBlastAsset *asset)
NvBlastExtLlSerializerLoadSet
size_t NvBlastExtLlSerializerLoadSet(Nv::Blast::ExtSerialization &serialization)
NvBlastGlobals.h
NVBLAST_API
#define NVBLAST_API
Definition: NvBlastPreprocessor.h:37
Nv::Blast::LlObjectTypeID::Asset
Definition: NvBlastExtLlSerialization.h:58
Nv::Blast::LlObjectTypeID::Family
Definition: NvBlastExtLlSerialization.h:59
Nv::Blast::ExtSerialization
Definition: NvBlastExtSerialization.h:42
NVBLAST_FOURCC
#define NVBLAST_FOURCC(_a, _b, _c, _d)
Definition: NvBlastGlobals.h:274
Nv::Blast::LlObjectTypeID
Definition: NvBlastExtLlSerialization.h:54
NvBlastExtSerializationSerializeFamilyIntoBuffer
uint64_t NvBlastExtSerializationSerializeFamilyIntoBuffer(void *&buffer, Nv::Blast::ExtSerialization &serialization, const NvBlastFamily *family)
Nv::Blast::LlObjectTypeID::Enum
Enum
Definition: NvBlastExtLlSerialization.h:56
NvBlastAsset
Definition: NvBlastTypes.h:286
Nv
Definition: NvBlastExtAuthoring.h:34
NvBlastFamily
Definition: NvBlastTypes.h:376