Blender  V3.3
Namespaces
mtl_state.mm File Reference
#include "BLI_math_base.h"
#include "BLI_math_bits.h"
#include "GPU_framebuffer.h"
#include "mtl_context.hh"
#include "mtl_framebuffer.hh"
#include "mtl_state.hh"

Go to the source code of this file.

Namespaces

 blender
 
 blender::gpu
 

Functions

State setting functions
static MTLCompareFunction blender::gpu::gpu_depth_function_to_metal (eGPUDepthTest depth_func)
 
static MTLCompareFunction blender::gpu::gpu_stencil_func_to_metal (eGPUStencilTest stencil_func)
 
static void blender::gpu::mtl_stencil_set_op_separate (MTLContext *context, eGPUFaceCullTest face, MTLStencilOperation stencil_fail, MTLStencilOperation depth_test_fail, MTLStencilOperation depthstencil_pass)
 
static void blender::gpu::mtl_stencil_set_op (MTLContext *context, MTLStencilOperation stencil_fail, MTLStencilOperation depth_test_fail, MTLStencilOperation depthstencil_pass)