From ad3d90fafe5ee79964bdfe1f1e0704c3ffcdfd5f Mon Sep 17 00:00:00 2001 From: Miles Macklin Date: Fri, 10 Mar 2017 14:51:31 +1300 Subject: Initial 1.1.0 binary release --- src/dx/context/Format.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/dx/context/Format.h (limited to 'src/dx/context/Format.h') 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 -- cgit v1.2.3