|
Blender V4.3
|
#include "MEM_guardedalloc.h"#include "gpu_context_private.hh"#include "GPU_common_types.hh"#include "GPU_context.hh"#include "intern/GHOST_Context.hh"#include "intern/GHOST_ContextCGL.hh"#include "intern/GHOST_Window.hh"#include "mtl_backend.hh"#include "mtl_capabilities.hh"#include "mtl_common.hh"#include "mtl_framebuffer.hh"#include "mtl_memory.hh"#include "mtl_shader.hh"#include "mtl_shader_interface.hh"#include "mtl_texture.hh"#include <Cocoa/Cocoa.h>#include <Metal/Metal.h>#include <QuartzCore/QuartzCore.h>#include <mutex>Go to the source code of this file.
Namespaces | |
| namespace | blender |
| namespace | blender::gpu |
Enumerations | |
| enum | blender::gpu::MTLPipelineStateDirtyFlag { blender::gpu::MTL_PIPELINE_STATE_NULL_FLAG = 0 , blender::gpu::MTL_PIPELINE_STATE_VIEWPORT_FLAG = (1 << 0) , blender::gpu::MTL_PIPELINE_STATE_SCISSOR_FLAG = (1 << 1) , blender::gpu::MTL_PIPELINE_STATE_DEPTHSTENCIL_FLAG = (1 << 2) , blender::gpu::MTL_PIPELINE_STATE_PSO_FLAG = (1 << 3) , blender::gpu::MTL_PIPELINE_STATE_FRONT_FACING_FLAG = (1 << 4) , blender::gpu::MTL_PIPELINE_STATE_CULLMODE_FLAG = (1 << 5) , blender::gpu::MTL_PIPELINE_STATE_ALL_FLAG } |
Functions | |
| blender::gpu::ENUM_OPERATORS (MTLPipelineStateDirtyFlag, MTL_PIPELINE_STATE_CULLMODE_FLAG) | |
Swap-chain management and Metal presentation. | |
| void | blender::gpu::present (MTLRenderPassDescriptor *blit_descriptor, id< MTLRenderPipelineState > blit_pso, id< MTLTexture > swapchain_texture, id< CAMetalDrawable > drawable) |