Blender V5.0
mtl_capabilities.hh File Reference

Go to the source code of this file.

Classes

struct  blender::gpu::MTLCapabilities

Namespaces

namespace  blender
namespace  blender::gpu

Macros

#define MTL_MAX_TEXTURE_SLOTS   128
#define MTL_MAX_SAMPLER_SLOTS   MTL_MAX_TEXTURE_SLOTS
#define MTL_MAX_DEFAULT_SAMPLERS   16
#define MTL_MAX_BUFFER_BINDINGS   31
#define MTL_MAX_VERTEX_INPUT_ATTRIBUTES   31
#define MTL_MAX_UNIFORMS_PER_BLOCK   64

Enumerations

enum  blender::gpu::AppleGPUType { blender::gpu::APPLE_GPU_UNKNOWN = 0 , blender::gpu::APPLE_GPU_M1 = 1 , blender::gpu::APPLE_GPU_M2 = 2 , blender::gpu::APPLE_GPU_M3 = 3 }

Macro Definition Documentation

◆ MTL_MAX_BUFFER_BINDINGS

◆ MTL_MAX_DEFAULT_SAMPLERS

#define MTL_MAX_DEFAULT_SAMPLERS   16

◆ MTL_MAX_SAMPLER_SLOTS

#define MTL_MAX_SAMPLER_SLOTS   MTL_MAX_TEXTURE_SLOTS

◆ MTL_MAX_TEXTURE_SLOTS

◆ MTL_MAX_UNIFORMS_PER_BLOCK

#define MTL_MAX_UNIFORMS_PER_BLOCK   64

◆ MTL_MAX_VERTEX_INPUT_ATTRIBUTES

#define MTL_MAX_VERTEX_INPUT_ATTRIBUTES   31

Definition at line 28 of file mtl_capabilities.hh.

Referenced by blender::gpu::MTLShaderInterface::get_attribute().