Blender V4.3
mtl_common.hh File Reference

Go to the source code of this file.

Macros

#define MTL_FRAME_AVERAGE_COUNT   15
 
#define MTL_MAX_DRAWABLES   3
 
#define MTL_MAX_SET_BYTES_SIZE   4096
 
#define MTL_FORCE_WAIT_IDLE   0
 
#define MTL_NUM_SAFE_FRAMES   (MTL_MAX_DRAWABLES + 1)
 
#define MTL_DEBUG_SHADER_ATTRIBUTES   0
 

Macro Definition Documentation

◆ MTL_DEBUG_SHADER_ATTRIBUTES

#define MTL_DEBUG_SHADER_ATTRIBUTES   0

Definition at line 20 of file mtl_common.hh.

◆ MTL_FORCE_WAIT_IDLE

#define MTL_FORCE_WAIT_IDLE   0

Definition at line 13 of file mtl_common.hh.

◆ MTL_FRAME_AVERAGE_COUNT

#define MTL_FRAME_AVERAGE_COUNT   15

– Renderer Options

Definition at line 10 of file mtl_common.hh.

Referenced by blender::gpu::MTLContext::latency_resolve_average().

◆ MTL_MAX_DRAWABLES

#define MTL_MAX_DRAWABLES   3

Definition at line 11 of file mtl_common.hh.

Referenced by blender::gpu::present().

◆ MTL_MAX_SET_BYTES_SIZE

◆ MTL_NUM_SAFE_FRAMES

#define MTL_NUM_SAFE_FRAMES   (MTL_MAX_DRAWABLES + 1)

Definition at line 17 of file mtl_common.hh.

Referenced by blender::gpu::MTLCircularBuffer::reset().