|
Blender V4.3
|
#include "mtl_context.hh"#include "mtl_debug.hh"#include "mtl_framebuffer.hh"#include "mtl_immediate.hh"#include "mtl_memory.hh"#include "mtl_primitive.hh"#include "mtl_shader.hh"#include "mtl_shader_interface.hh"#include "mtl_state.hh"#include "mtl_storage_buffer.hh"#include "mtl_uniform_buffer.hh"#include "mtl_vertex_buffer.hh"#include "DNA_userdef_types.h"#include "GPU_capabilities.hh"#include "GPU_matrix.hh"#include "GPU_shader.hh"#include "GPU_storage_buffer.hh"#include "GPU_texture.hh"#include "GPU_uniform_buffer.hh"#include "GPU_vertex_buffer.hh"#include "intern/gpu_matrix_private.hh"#include "BLI_time.h"#include <fstream>#include <string>Go to the source code of this file.
Namespaces | |
| namespace | blender |
| namespace | blender::gpu |
Functions | |
Texture State Management | |
| static MTLSamplerAddressMode | blender::gpu::to_mtl_type (GPUSamplerExtendMode wrap_mode) |
Swap-chain management and Metal presentation. | |
| void | blender::gpu::present (MTLRenderPassDescriptor *blit_descriptor, id< MTLRenderPipelineState > blit_pso, id< MTLTexture > swapchain_texture, id< CAMetalDrawable > drawable) |
| #define DEBUG_BIND_NULL_BUFFER_FOR_MISSING_SSBO 0 |
Definition at line 54 of file mtl_context.mm.
| #define DEBUG_BIND_NULL_BUFFER_FOR_MISSING_UBO 1 |
Definition at line 50 of file mtl_context.mm.
| #define MTL_DEBUG_SINGLE_DISPATCH_PER_ENCODER 1 |
Definition at line 45 of file mtl_context.mm.
| #define MTL_LOG_SSBO_ERROR MTL_LOG_ERROR |
Definition at line 66 of file mtl_context.mm.
Referenced by blender::gpu::MTLContext::ensure_buffer_bindings(), and blender::gpu::MTLContext::ensure_buffer_bindings().
| #define MTL_LOG_UBO_ERROR MTL_LOG_WARNING |
Definition at line 58 of file mtl_context.mm.
Referenced by blender::gpu::MTLContext::ensure_buffer_bindings(), and blender::gpu::MTLContext::ensure_buffer_bindings().