diff options
| author | Miles Macklin <[email protected]> | 2017-03-10 14:51:31 +1300 |
|---|---|---|
| committer | Miles Macklin <[email protected]> | 2017-03-10 14:51:31 +1300 |
| commit | ad3d90fafe5ee79964bdfe1f1e0704c3ffcdfd5f (patch) | |
| tree | 4cc6f3288363889d7342f7f8407c0251e6904819 /src/dx/context/Format.h | |
| download | flex-ad3d90fafe5ee79964bdfe1f1e0704c3ffcdfd5f.tar.xz flex-ad3d90fafe5ee79964bdfe1f1e0704c3ffcdfd5f.zip | |
Initial 1.1.0 binary release
Diffstat (limited to 'src/dx/context/Format.h')
| -rw-r--r-- | src/dx/context/Format.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/dx/context/Format.h b/src/dx/context/Format.h new file mode 100644 index 0000000..389b3a8 --- /dev/null +++ b/src/dx/context/Format.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) 2008-2017, NVIDIA CORPORATION. All rights reserved. + * + * NVIDIA CORPORATION and its licensors retain all intellectual property + * and proprietary rights in and to this software, related documentation + * and any modifications thereto. Any use, reproduction, disclosure or + * distribution of this software and related documentation without an express + * license agreement from NVIDIA CORPORATION is strictly prohibited. + */ + +#pragma once + +#include "NvFlexTypes.h" + +namespace NvFlex +{ + DXGI_FORMAT convertToDXGI(NvFlexFormat format); + + NvFlexFormat convertToNvFlex(DXGI_FORMAT format); + + NvFlexUint getFormatSizeInBytes(NvFlexFormat format); +}
\ No newline at end of file |