text
stringlengths
1
24.5M
// basisu_containers_impl.h // Do not include directly #include <ctype.h> #ifdef _MSC_VER #pragma warning (disable:4127) // warning C4127: conditional expression is constant #endif namespace basisu { // A container operation has internally panicked in an unrecoverable way. // Either an allocation has failed, or a ...
// basis_file_headers.h // Copyright (C) 2019-2024 Binomial LLC. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 /...
// basisu_transcoder.cpp // Copyright (C) 2019-2024 Binomial LLC. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 ...
// basisu_transcoder.h // Copyright (C) 2019-2024 Binomial LLC. All Rights Reserved. // Important: If compiling with gcc, be sure strict aliasing is disabled: -fno-strict-aliasing // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. //...
// basisu_transcoder_internal.h - Universal texture format transcoder library. // Copyright (C) 2019-2024 Binomial LLC. All Rights Reserved. // // Important: If compiling with gcc, be sure strict aliasing is disabled: -fno-strict-aliasing // // Licensed under the Apache License, Version 2.0 (the "License"); // you may ...
// basisu_transcoder_uastc.h #pragma once #include "basisu_transcoder_internal.h" namespace basist { struct color_quad_u8 { uint8_t m_c[4]; }; const uint32_t TOTAL_UASTC_MODES = 19; const uint32_t UASTC_MODE_INDEX_SOLID_COLOR = 8; const uint32_t TOTAL_ASTC_BC7_COMMON_PARTITIONS2 = 30; const uint32_t TOTAL...
/* Copyright 2013 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ #include "constants.h" const BrotliPrefixCodeRange _kBrotliPrefixCodeRanges[BROTLI_NUM_BLOCK_LEN_SYMBOLS] = { {1, 2}, {5, 2}, {9, 2...
/* Copyright 2016 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ /** * @file * Common constants used in decoder and encoder API. */ #ifndef BROTLI_COMMON_CONSTANTS_H_ #define BROTLI_COMMON_CONSTANTS_H_ #include <...
#include "context.h" #include <brotli/types.h> /* Common context lookup table for all context modes. */ const uint8_t _kBrotliContextLookupTable[2048] = { /* CONTEXT_LSB6, last byte. */ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31...
/* Copyright 2013 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ /* Lookup table to map the previous two bytes to a context id. There are four different context modeling modes defined here: CONTEXT_LSB6: contex...
/* Copyright 2013 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ #include "dictionary.h" #include "platform.h" #if defined(__cplusplus) || defined(c_plusplus) extern "C" { #endif #if !defined(BROTLI_EXTERNAL_DICTION...
/* Copyright 2013 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ /* Collection of static dictionary words. */ #ifndef BROTLI_COMMON_DICTIONARY_H_ #define BROTLI_COMMON_DICTIONARY_H_ #include <brotli/port.h> #include...
/* Copyright 2016 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ #include <stdlib.h> #include <brotli/types.h> #include "platform.h" /* Default brotli_alloc_func */ void* BrotliDefaultAllocFunc(void* opaque, size_t...
/* Copyright 2016 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ /* Macros for compiler / platform specific features and build options. Build options are: * BROTLI_BUILD_32_BIT disables 64-bit optimizations ...
/* Copyright 2017 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ /* Shared Dictionary definition and utilities. */ #include <brotli/shared_dictionary.h> #include <memory.h> #include <stdlib.h> /* malloc, free */ #i...
/* Copyright 2017 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ /* (Transparent) Shared Dictionary definition. */ #ifndef BROTLI_COMMON_SHARED_DICTIONARY_INTERNAL_H_ #define BROTLI_COMMON_SHARED_DICTIONARY_INTERNAL_...
/* Copyright 2013 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ #include "transform.h" #if defined(__cplusplus) || defined(c_plusplus) extern "C" { #endif /* RFC 7932 transforms string data */ static const char kPr...
/* transforms is a part of ABI, but not API. It means that there are some functions that are supposed to be in "common" library, but header itself is not placed into include/brotli. This way, aforementioned functions will be available only to brotli internals. */ #ifndef BROTLI_COMMON_TRANSFORM_H_ #define B...
/* Copyright 2016 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ /* Version definition. */ #ifndef BROTLI_COMMON_VERSION_H_ #define BROTLI_COMMON_VERSION_H_ /* Compose 3 components into a single number. In a hexadec...
/* Copyright 2013 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ /* Bit reading helpers */ #include "bit_reader.h" #include <brotli/types.h> #include "../common/platform.h" #if defined(__cplusplus) || defined(c_pl...
/* Copyright 2013 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ /* Bit reading helpers */ #ifndef BROTLI_DEC_BIT_READER_H_ #define BROTLI_DEC_BIT_READER_H_ #include <string.h> /* memcpy */ #include <brotli/types....
/* Copyright 2013 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ #include <brotli/decode.h> #include <stdlib.h> /* free, malloc */ #include <string.h> /* memcpy, memset */ #include "../common/constants.h" #include...
/* Copyright 2013 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ /* Utilities for building Huffman decoding tables. */ #include "huffman.h" #include <string.h> /* memcpy, memset */ #include <brotli/types.h> #incl...
/* Copyright 2013 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ /* Utilities for building Huffman decoding tables. */ #ifndef BROTLI_DEC_HUFFMAN_H_ #define BROTLI_DEC_HUFFMAN_H_ #include <brotli/types.h> #include ...
/* Copyright 2013 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ /* Lookup tables to map prefix codes to value ranges. This is used during decoding of the block lengths, literal insertion lengths and copy lengths. ...
/* Copyright 2015 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ #include "state.h" #include <stdlib.h> /* free, malloc */ #include <brotli/types.h> #include "../common/dictionary.h" #include "huffman.h" #if defi...
/* Copyright 2015 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ /* Brotli state for partial streaming decoding. */ #ifndef BROTLI_DEC_STATE_H_ #define BROTLI_DEC_STATE_H_ #include <brotli/decode.h> #include <brotli...
/* Copyright 2013 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ /** * @file * API for Brotli decompression. */ #ifndef BROTLI_DEC_DECODE_H_ #define BROTLI_DEC_DECODE_H_ #include <brotli/port.h> #include <brotli/...
/* Copyright 2013 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ /** * @file * API for Brotli compression. */ #ifndef BROTLI_ENC_ENCODE_H_ #define BROTLI_ENC_ENCODE_H_ #include <brotli/port.h> #include <brotli/sh...
/* Copyright 2016 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ /* Macros for compiler / platform specific API declarations. */ #ifndef BROTLI_COMMON_PORT_H_ #define BROTLI_COMMON_PORT_H_ /* The following macros we...
/* Copyright 2017 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ /* (Opaque) Shared Dictionary definition and utilities. */ #ifndef BROTLI_COMMON_SHARED_DICTIONARY_H_ #define BROTLI_COMMON_SHARED_DICTIONARY_H_ #incl...
/* Copyright 2013 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ /** * @file * Common types used in decoder and encoder API. */ #ifndef BROTLI_COMMON_TYPES_H_ #define BROTLI_COMMON_TYPES_H_ #include <stddef.h> /...
/******************************************************************************* * Author : Angus Johnson * * Date : 24 March 2025 * * Website : https://www.angusj.com ...
/******************************************************************************* * Author : Angus Johnson * * Date : 17 September 2024 * * Website : https://www.angusj.com ...
/******************************************************************************* * Author : Angus Johnson * * Date : 24 January 2025 * * Website : https://www.angusj.com ...
/******************************************************************************* * Author : Angus Johnson * * Date : 5 March 2025 * * Website : https://www.angusj.com ...
/******************************************************************************* * Author : Angus Johnson * * Date : 1 November 2023 * * Website : https://www.angusj.com ...
/******************************************************************************* * Author : Angus Johnson * * Date : 22 January 2025 * * Website : https://www.angusj.com ...
/******************************************************************************* * Author : Angus Johnson * * Date : 5 July 2024 * * Website : https://www.angusj.com ...
#ifndef CLIPPER_VERSION_H #define CLIPPER_VERSION_H constexpr auto CLIPPER2_VERSION = "1.5.4"; #endif // CLIPPER_VERSION_H
/******************************************************************************* * Author : Angus Johnson * * Date : 30 May 2025 * * Website : https://www.angusj.com ...
/******************************************************************************* * Author : Angus Johnson * * Date : 4 May 2025 * * Website : https://www.angusj.com ...
/******************************************************************************* * Author : Angus Johnson * * Date : 5 July 2024 * * Website : https://www.angusj.com ...
/* Convection Texture Tools Copyright (c) 2018 Eric Lasota Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge,...
#pragma once #ifndef __CVTT_AGGREGATEDERROR_H__ #define __CVTT_AGGREGATEDERROR_H__ #include "ConvectionKernels_ParallelMath.h" namespace cvtt { namespace Internal { template<int TVectorSize> class AggregatedError { public: typedef ParallelMath::UInt16 MUInt16; ...
/* Convection Texture Tools Copyright (c) 2018-2019 Eric Lasota Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, m...
/* Convection Texture Tools Copyright (c) 2018-2019 Eric Lasota Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, m...
#pragma once #include "ConvectionKernels_ParallelMath.h" namespace cvtt { namespace Tables { namespace BC7SC { struct Table; } } namespace Internal { namespace BC67 { struct WorkInfo; } template<int TVectorSize> ...
/* Convection Texture Tools Copyright (c) 2018-2019 Eric Lasota Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, m...
#pragma once #include <stdint.h> #include "ConvectionKernels_BC6H_IO.h" namespace cvtt { namespace BC6H_IO { typedef void (*ReadFunc_t)(const uint32_t *encoded, uint16_t &d, uint16_t &rw, uint16_t &rx, uint16_t &ry, uint16_t &rz, uint16_t &gw, uint16_t &gx, uint16_t &gy, uint16_t &gz, uint16_t &bw, ui...
#pragma once #include <stdint.h> namespace cvtt { namespace Tables { namespace BC7Prio { extern const uint16_t *g_bc7PrioCodesRGB; extern const int g_bc7NumPrioCodesRGB; extern const uint16_t *g_bc7PrioCodesRGBA; extern const int g_bc7NumPrioCodesRGBA; int UnpackMode(uint16_t packed); int Un...
/* Convection Texture Tools Copyright (c) 2018-2019 Eric Lasota Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, m...
#pragma once #include <stdint.h> // This file is generated by the MakeTables app. Do not edit this file manually. namespace cvtt { namespace Tables { namespace BC7SC { struct TableEntry { uint8_t m_min; uint8_t m_max; uint8_t m_actualColor; }; struct Table { uint8_t m_index; uint8_t m_pBits; ...
/* Convection Texture Tools Copyright (c) 2018-2019 Eric Lasota Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, m...
#pragma once #ifndef __CVTT_BCCOMMON_H__ #define __CVTT_BCCOMMON_H__ #include "ConvectionKernels_AggregatedError.h" #include "ConvectionKernels_ParallelMath.h" namespace cvtt { namespace Internal { class BCCommon { public: typedef ParallelMath::Float MFloat; typ...
#pragma once #ifndef __CVTT_CONFIG_H__ #define __CVTT_CONFIG_H__ #if (defined(_M_IX86_FP) && _M_IX86_FP >= 2) || defined(_M_X64) || defined(__SSE2__) #define CVTT_USE_SSE2 #endif // Define this to compile everything as a single source file //#define CVTT_SINGLE_FILE #endif
#pragma once #ifndef __CVTT_ENDPOINTREFINER_H__ #define __CVTT_ENDPOINTREFINER_H__ #include "ConvectionKernels_ParallelMath.h" namespace cvtt { namespace Internal { // Solve for a, b where v = a*t + b // This allows endpoints to be mapped to where T=0 and T=1 // Least squares from tota...
#pragma once #ifndef __CVTT_ENDPOINTSELECTOR_H__ #define __CVTT_ENDPOINTSELECTOR_H__ #include "ConvectionKernels_ParallelMath.h" #include "ConvectionKernels_UnfinishedEndpoints.h" #include "ConvectionKernels_PackedCovarianceMatrix.h" namespace cvtt { namespace Internal { static const int NumEndpointSe...
/* Convection Texture Tools Copyright (c) 2018-2019 Eric Lasota Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, m...
#pragma once #ifndef __CVTT_CONVECTIONKERNELS_ETC_H__ #define __CVTT_CONVECTIONKERNELS_ETC_H__ #include "ConvectionKernels.h" #include "ConvectionKernels_ParallelMath.h" namespace cvtt { struct Options; namespace Internal { class ETCComputer { public: static void Compr...
#include <stdint.h> namespace cvtt { namespace Tables { namespace ETC1 { const int16_t g_potentialOffsets4[] = { 57, -64, -58, -54, -52, -48, -46, -44, -42, -40, -38, -36, -34, -32, -30, -28, -26, -24, -22, -20, -18, -16, -14, -12, -10, -8, -6, -4, -2, 0,...
#include <stdint.h> namespace cvtt { namespace Tables { namespace ETC2 { const int16_t g_thModifierTable[8] = { 3, 6, 11, 16, 23, 32, 41, 64 }; const int16_t g_alphaModifierTablePositive[16][4] = { { 2,...
#pragma once #include <stdint.h> // This file is generated by the MakeTables app. Do not edit this file manually. namespace cvtt { namespace Tables { namespace ETC2 { const int g_alphaRoundingTableWidth = 13; const uint8_t g_alphaRoundingTables[16][13] = { { 0, 0, 0, 0, 1, 1, 1, 2, 2, 2, 2, 2, 3 ...
#pragma once #include <stdint.h> // This file is generated by the MakeTables app. Do not edit this file manually. namespace cvtt { namespace Tables { namespace FakeBT709 { const uint8_t g_rounding16[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 4, 4, 4, 4, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 4, 4, ...
/* Convection Texture Tools Copyright (c) 2018-2019 Eric Lasota Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, m...
#pragma once #ifndef __CVTT_INDEXSELECTOR_H__ #define __CVTT_INDEXSELECTOR_H__ #include "ConvectionKernels_ParallelMath.h" namespace cvtt { namespace Internal { extern const ParallelMath::UInt16 g_weightReciprocals[17]; template<int TVectorSize> class IndexSelector { p...
#pragma once #ifndef __CVTT_INDEXSELECTORHDR_H__ #define __CVTT_INDEXSELECTORHDR_H__ #include "ConvectionKernels_ParallelMath.h" #include "ConvectionKernels_IndexSelector.h" namespace cvtt { namespace Internal { ParallelMath::SInt16 UnscaleHDRValueSigned(const ParallelMath::SInt16 &v); Paralle...
#pragma once #ifndef __CVTT_COVARIANCEMATRIX_H__ #define __CVTT_COVARIANCEMATRIX_H__ namespace cvtt { namespace Internal { template<int TMatrixSize> class PackedCovarianceMatrix { public: // 0: xx, // 1: xy, yy // 3: xz, yz, zz /...
/* Convection Texture Tools Copyright (c) 2018-2019 Eric Lasota Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, m...
/* Convection Texture Tools Copyright (c) 2018-2019 Eric Lasota Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, m...
#pragma once #ifndef __CVTT_S3TC_H__ #define __CVTT_S3TC_H__ #include "ConvectionKernels_ParallelMath.h" namespace cvtt { namespace Internal { template<int TVectorSize> class EndpointRefiner; } struct PixelBlockU8; } namespace cvtt { namespace Internal { class S3TCCom...
#pragma once #include <stdint.h> // This file is generated by the MakeTables app. Do not edit this file manually. namespace cvtt { namespace Tables { namespace S3TCSC { struct TableEntry { uint8_t m_min; uint8_t m_max; uint8_t m_actualColor; uint8_t m_span; }; TableEntry g_singleColor5_3[256] = { ...
/* Convection Texture Tools Copyright (c) 2018-2019 Eric Lasota Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, m...
#pragma once #include "ConvectionKernels_Util.h" namespace cvtt { namespace Internal { template<int TVectorSize> class UnfinishedEndpoints { public: typedef ParallelMath::Float MFloat; typedef ParallelMath::UInt16 MUInt16; typedef ParallelMat...
/* Convection Texture Tools Copyright (c) 2018-2019 Eric Lasota Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, m...
#pragma once #include "ConvectionKernels_ParallelMath.h" namespace cvtt { struct PixelBlockU8; struct PixelBlockS8; struct Options; } namespace cvtt { namespace Util { // Signed input blocks are converted into unsigned space, with the maximum value being 254 void BiasSignedInput(P...
// // Copyright (c) 2019-2022 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rig...
// // Copyright (c) 2019-2022 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rig...
/*------------------------------------------------------------------------------------- * * Copyright (c) Microsoft Corporation * Licensed under the MIT license * *-------------------------------------------------------------------------------------*/ /* this ALWAYS GENERATED file contains the definitions for th...
/*------------------------------------------------------------------------------------- * * Copyright (c) Microsoft Corporation * Licensed under the MIT license * *-------------------------------------------------------------------------------------*/ /* this ALWAYS GENERATED file contains the definitions for th...
/*------------------------------------------------------------------------------------- * * Copyright (c) Microsoft Corporation * Licensed under the MIT license * *-------------------------------------------------------------------------------------*/ /* this ALWAYS GENERATED file contains the definitions for th...
////////////////////////////////////////////////////////////////////////////// // // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. // // File: D3D12Shader.h // Content: D3D12 Shader Types and APIs // ////////////////////////////////////////////////////////////////////////////// #...
/*------------------------------------------------------------------------------------- * * Copyright (c) Microsoft Corporation * Licensed under the MIT license * *-------------------------------------------------------------------------------------*/ /* this ALWAYS GENERATED file contains the definitions for th...
/*------------------------------------------------------------------------------------- * * Copyright (c) Microsoft Corporation * Licensed under the MIT license * *-------------------------------------------------------------------------------------*/ /* this ALWAYS GENERATED file contains the definitions for th...
//********************************************************* // // Copyright (c) Microsoft Corporation. // Licensed under the MIT License (MIT). // //********************************************************* #ifndef __D3DX12_H__ #define __D3DX12_H__ #include "d3d12.h" #if defined( __cplusplus ) #include "d3dx12_barr...
//********************************************************* // // Copyright (c) Microsoft Corporation. // Licensed under the MIT License (MIT). // //********************************************************* #ifndef __D3DX12_BARRIERS_H__ #define __D3DX12_BARRIERS_H__ #if defined( __cplusplus ) #include "d3d12.h" //-...
//********************************************************* // // Copyright (c) Microsoft Corporation. // Licensed under the MIT License (MIT). // //********************************************************* #pragma once #ifndef __cplusplus #error D3DX12 requires C++ #endif #include "d3d12.h" //=====================...
//********************************************************* // // Copyright (c) Microsoft Corporation. // Licensed under the MIT License (MIT). // //********************************************************* #pragma once #ifndef __cplusplus #error D3DX12 requires C++ #endif #include <string.h> #include "d3d12.h" #inc...
//********************************************************* // // Copyright (c) Microsoft Corporation. // Licensed under the MIT License (MIT). // //********************************************************* #pragma once struct CD3DX12_DEFAULT {}; extern const DECLSPEC_SELECTANY CD3DX12_DEFAULT D3D12_DEFAULT;
//********************************************************* // // Copyright (c) Microsoft Corporation. // Licensed under the MIT License (MIT). // //********************************************************* #pragma once #ifndef __cplusplus #error D3DX12 requires C++ #endif #include "d3d12.h" #include "d3dx12_default...
//********************************************************* // // Copyright (c) Microsoft Corporation. // Licensed under the MIT License (MIT). // //********************************************************* #ifndef __D3D12_PROPERTY_LAYOUT_FORMAT_TABLE_H__ #define __D3D12_PROPERTY_LAYOUT_FORMAT_TABLE_H__ #include "d3d12...
//********************************************************* // // Copyright (c) Microsoft Corporation. // Licensed under the MIT License (MIT). // //********************************************************* #pragma once #ifndef __cplusplus #error D3DX12 requires C++ #endif #include "d3d12.h" #if defined(D3D12_SDK_VE...
//********************************************************* // // Copyright (c) Microsoft Corporation. // Licensed under the MIT License (MIT). // //********************************************************* #pragma once #ifndef __cplusplus #error D3DX12 requires C++ #endif #include "d3d12.h" #include "d3dx12_core.h"...
//********************************************************* // // Copyright (c) Microsoft Corporation. // Licensed under the MIT License (MIT). // //********************************************************* #pragma once #ifndef __cplusplus #error D3DX12 requires C++ #endif #include "d3d12.h" #include "d3dx12_default...
//********************************************************* // // Copyright (c) Microsoft Corporation. // Licensed under the MIT License (MIT). // //********************************************************* #pragma once #ifndef __cplusplus #error D3DX12 requires C++ #endif #include "d3d12.h" //=====================...
/************************************************************ * * * Copyright (c) Microsoft Corporation. * * Licensed under the MIT license. * * * **********...
// // DXCore Interface // Copyright (C) Microsoft Corporation. // Licensed under the MIT license. // #ifndef __dxcore_interface_h__ #define __dxcore_interface_h__ #ifndef COM_NO_WINDOWS_H #include "windows.h" #include "ole2.h" #endif /*COM_NO_WINDOWS_H*/ #include <stdint.h> #ifdef __cplusplus #define _FACDXCORE ...
// // Copyright (C) Microsoft Corporation. // Licensed under the MIT license // #ifndef __dxgicommon_h__ #define __dxgicommon_h__ typedef struct DXGI_RATIONAL { UINT Numerator; UINT Denominator; } DXGI_RATIONAL; // The following values are used with DXGI_SAMPLE_DESC::Quality: #define DXGI_STANDARD_MUL...
// // Copyright (C) Microsoft Corporation. // Licensed under the MIT license // #ifndef __dxgiformat_h__ #define __dxgiformat_h__ #define DXGI_FORMAT_DEFINED 1 typedef enum DXGI_FORMAT { DXGI_FORMAT_UNKNOWN = 0, DXGI_FORMAT_R32G32B32A32_TYPELESS = 1, ...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #pragma once #ifndef __cplusplus #error "This header requires C++" #endif constexpr inline bool ConstexprIsEqualGUID(REFGUID a, REFGUID b) { return a.Data1 == b.Data1 && a.Data2 == b.Data2 && a.Data3 == b.Data3 && ...