MetalCompute 1.0
An API to make GPU compute calls easier
|
#include <iostream>
#include <map>
#include "Metal.hpp"
Go to the source code of this file.
Namespaces | |
namespace | MTLCompute |
Macros | |
#define | NS_PRIVATE_IMPLEMENTATION |
#define | MTL_PRIVATE_IMPLEMENTATION |
Enumerations | |
enum class | MTLCompute::ResourceStorage { MTLCompute::Shared = MTL::ResourceStorageModeShared , MTLCompute::Managed = MTL::ResourceStorageModeManaged , MTLCompute::Private = MTL::ResourceStorageModePrivate } |
enum class | MTLCompute::TextureType { MTLCompute::uint8 = MTL::PixelFormatR8Uint , MTLCompute::uint16 = MTL::PixelFormatR16Uint , MTLCompute::uint32 = MTL::PixelFormatR32Uint , MTLCompute::int8 = MTL::PixelFormatR8Sint , MTLCompute::int16 = MTL::PixelFormatR16Sint , MTLCompute::int32 = MTL::PixelFormatR32Sint , MTLCompute::float32 = MTL::PixelFormatR32Float } |
Variables | |
constexpr int | MTLCompute::MAX_BUFFERS = 31 |
constexpr int | MTLCompute::MAX_TEXTURES = 128 |
constexpr long | MTLCompute::MAX_TEXTURE_SIZE = 16384 |
std::map< TextureType, size_t > | MTLCompute::TextureTypeSizes |
#define MTL_PRIVATE_IMPLEMENTATION |
#define NS_PRIVATE_IMPLEMENTATION |