Blender  V3.3
Functions
draw_attributes.cc File Reference
#include "draw_attributes.h"

Go to the source code of this file.

Functions

static bool drw_attributes_has_request (const DRW_Attributes *requests, DRW_AttributeRequest req)
 
static void drw_attributes_merge_requests (const DRW_Attributes *src_requests, DRW_Attributes *dst_requests)
 
void drw_attributes_clear (DRW_Attributes *attributes)
 
void drw_attributes_merge (DRW_Attributes *dst, const DRW_Attributes *src, ThreadMutex *render_mutex)
 
bool drw_attributes_overlap (const DRW_Attributes *a, const DRW_Attributes *b)
 
DRW_AttributeRequestdrw_attributes_add_request (DRW_Attributes *attrs, const char *name, const eCustomDataType type, const int layer_index, const eAttrDomain domain)
 
bool drw_custom_data_match_attribute (const CustomData *custom_data, const char *name, int *r_layer_index, eCustomDataType *r_type)
 

Function Documentation

◆ drw_attributes_add_request()

DRW_AttributeRequest* drw_attributes_add_request ( DRW_Attributes attrs,
const char *  name,
const eCustomDataType  type,
const int  layer_index,
const eAttrDomain  domain 
)

◆ drw_attributes_clear()

void drw_attributes_clear ( DRW_Attributes attributes)

◆ drw_attributes_has_request()

static bool drw_attributes_has_request ( const DRW_Attributes requests,
DRW_AttributeRequest  req 
)
static

◆ drw_attributes_merge()

void drw_attributes_merge ( DRW_Attributes dst,
const DRW_Attributes src,
ThreadMutex render_mutex 
)

◆ drw_attributes_merge_requests()

static void drw_attributes_merge_requests ( const DRW_Attributes src_requests,
DRW_Attributes dst_requests 
)
static

◆ drw_attributes_overlap()

bool drw_attributes_overlap ( const DRW_Attributes a,
const DRW_Attributes b 
)

◆ drw_custom_data_match_attribute()

bool drw_custom_data_match_attribute ( const CustomData custom_data,
const char *  name,
int *  r_layer_index,
eCustomDataType r_type 
)