Blender V4.3
mtl_memory.mm File Reference
#include "BKE_global.hh"
#include "DNA_userdef_types.h"
#include "mtl_context.hh"
#include "mtl_debug.hh"
#include "mtl_memory.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::gpu
 

Macros

#define MEMORY_SIZE_2GB   2147483648LL
 
#define MEMORY_SIZE_1GB   1073741824LL
 
#define MEMORY_SIZE_512MB   536870912LL
 
#define MEMORY_SIZE_256MB   268435456LL
 

Macro Definition Documentation

◆ MEMORY_SIZE_1GB

#define MEMORY_SIZE_1GB   1073741824LL

Definition at line 18 of file mtl_memory.mm.

Referenced by blender::gpu::MTLBufferPool::update_memory_pools().

◆ MEMORY_SIZE_256MB

#define MEMORY_SIZE_256MB   268435456LL

Definition at line 20 of file mtl_memory.mm.

Referenced by blender::gpu::MTLBufferPool::update_memory_pools().

◆ MEMORY_SIZE_2GB

#define MEMORY_SIZE_2GB   2147483648LL

Definition at line 17 of file mtl_memory.mm.

Referenced by blender::gpu::MTLBufferPool::update_memory_pools().

◆ MEMORY_SIZE_512MB

#define MEMORY_SIZE_512MB   536870912LL

Definition at line 19 of file mtl_memory.mm.

Referenced by blender::gpu::MTLBufferPool::update_memory_pools().