Blender V4.3
mtl_primitive.hh File Reference
#include "BLI_assert.h"
#include "GPU_primitive.hh"
#include <Metal/Metal.h>

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::gpu
 

Functions

static MTLPrimitiveTopologyClass blender::gpu::mtl_prim_type_to_topology_class (MTLPrimitiveType prim_type)
 
static MTLPrimitiveType blender::gpu::gpu_prim_type_to_metal (GPUPrimType prim_type)
 
static bool blender::gpu::mtl_needs_topology_emulation (GPUPrimType prim_type)
 
static bool blender::gpu::mtl_vertex_count_fits_primitive_type (uint32_t vertex_count, MTLPrimitiveType prim_type)
 

Detailed Description

Encapsulation of Frame-buffer states (attached textures, viewport, scissors).

Definition in file mtl_primitive.hh.