Blender  V3.3
Classes | Typedefs | Functions
draw_attributes.h File Reference

Utilities for rendering attributes. More...

#include "DNA_customdata_types.h"
#include "DNA_meshdata_types.h"
#include "BKE_attribute.h"
#include "BLI_sys_types.h"
#include "BLI_threads.h"
#include "GPU_shader.h"
#include "GPU_vertex_format.h"

Go to the source code of this file.

Classes

struct  DRW_AttributeRequest
 
struct  DRW_Attributes
 

Typedefs

typedef struct DRW_AttributeRequest DRW_AttributeRequest
 
typedef struct DRW_Attributes DRW_Attributes
 

Functions

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, eCustomDataType data_type, int layer_index, eAttrDomain domain)
 
bool drw_custom_data_match_attribute (const CustomData *custom_data, const char *name, int *r_layer_index, eCustomDataType *r_type)
 

Detailed Description

Utilities for rendering attributes.

Definition in file draw_attributes.h.

Typedef Documentation

◆ DRW_AttributeRequest

◆ DRW_Attributes

Function Documentation

◆ drw_attributes_add_request()

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

◆ drw_attributes_clear()

void drw_attributes_clear ( DRW_Attributes attributes)

◆ drw_attributes_merge()

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

◆ 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 
)