diff options
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 |