Blender V5.3
BLO_core_bhead.hh File Reference
#include <optional>
#include "BLI_endian_switch.hh"
#include "BLI_sys_types.hh"

Go to the source code of this file.

Classes

struct  blender::BHead
struct  blender::BHead4
struct  blender::SmallBHead8
struct  blender::LargeBHead8

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define BLEND_MAKE_ID(a, b, c, d)

Enumerations

enum class  blender::BHeadType { blender::BHead4 , blender::SmallBHead8 , blender::LargeBHead8 }
enum  {
  blender::BLO_CODE_DATA = BLEND_MAKE_ID('D', 'A', 'T', 'A') , blender::BLO_CODE_GLOB = BLEND_MAKE_ID('G', 'L', 'O', 'B') , blender::BLO_CODE_DNA1 = BLEND_MAKE_ID('D', 'N', 'A', '1') , blender::BLO_CODE_TEST = BLEND_MAKE_ID('T', 'E', 'S', 'T') ,
  blender::BLO_CODE_REND = BLEND_MAKE_ID('R', 'E', 'N', 'D') , blender::BLO_CODE_USER = BLEND_MAKE_ID('U', 'S', 'E', 'R') , blender::BLO_CODE_ENDB = BLEND_MAKE_ID('E', 'N', 'D', 'B')
}

Functions

std::optional< BHead > blender::BLO_readfile_read_bhead (FileReader *file, BHeadType type)
uint32_t blender::uint32_from_uint64_ptr (uint64_t ptr)

Macro Definition Documentation

◆ BLEND_MAKE_ID

#define BLEND_MAKE_ID ( a,
b,
c,
d )
Value:
(int(d) << 24 | int(c) << 16 | (b) << 8 | (a))

Make #BHead.code from 4 chars.

Definition at line 66 of file BLO_core_bhead.hh.