Blender V4.3
workbench_enums.hh File Reference
#include "BLI_assert.h"
#include "DNA_object_types.h"
#include "DNA_view3d_enums.h"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::workbench
 

Enumerations

enum class  blender::workbench::eGeometryType { blender::workbench::MESH = 0 , blender::workbench::CURVES , blender::workbench::POINTCLOUD }
 
enum class  blender::workbench::ePipelineType { blender::workbench::OPAQUE = 0 , blender::workbench::TRANSPARENT }
 
enum class  blender::workbench::eLightingType { blender::workbench::FLAT = 0 , blender::workbench::STUDIO , blender::workbench::MATCAP }
 
enum class  blender::workbench::eShaderType { blender::workbench::MATERIAL = 0 , blender::workbench::TEXTURE }
 

Functions

static const char * blender::workbench::get_name (eGeometryType type)
 
static eGeometryType blender::workbench::geometry_type_from_object (Object *ob)
 
static eLightingType blender::workbench::lighting_type_from_v3d_lighting (char lighting)
 
static eShaderType blender::workbench::shader_type_from_v3d_shading (char shading)
 
static const char * blender::workbench::get_name (eShaderType type)
 

Variables

static constexpr int blender::workbench::geometry_type_len = static_cast<int>(eGeometryType::POINTCLOUD) + 1
 
static constexpr int blender::workbench::pipeline_type_len = static_cast<int>(ePipelineType::TRANSPARENT) + 1
 
static constexpr int blender::workbench::lighting_type_len = static_cast<int>(eLightingType::MATCAP) + 1
 
static constexpr int blender::workbench::shader_type_len = static_cast<int>(eShaderType::TEXTURE) + 1