Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_paint.h
| Show All 34 Lines | |||||
| struct bContext; | struct bContext; | ||||
| struct BMesh; | struct BMesh; | ||||
| struct BMFace; | struct BMFace; | ||||
| struct Brush; | struct Brush; | ||||
| struct CurveMapping; | struct CurveMapping; | ||||
| struct MeshElemMap; | struct MeshElemMap; | ||||
| struct GridPaintMask; | struct GridPaintMask; | ||||
| struct Main; | struct Main; | ||||
| struct MLoop; | |||||
| struct MLoopTri; | |||||
| struct MFace; | struct MFace; | ||||
| struct MVert; | struct MVert; | ||||
| struct Object; | struct Object; | ||||
| struct Paint; | struct Paint; | ||||
| struct PaintCurve; | struct PaintCurve; | ||||
| struct Palette; | struct Palette; | ||||
| struct PaletteColor; | struct PaletteColor; | ||||
| struct PBVH; | struct PBVH; | ||||
| ▲ Show 20 Lines • Show All 77 Lines • ▼ Show 20 Lines | |||||
| /* testing face select mode | /* testing face select mode | ||||
| * Texture paint could be removed since selected faces are not used | * Texture paint could be removed since selected faces are not used | ||||
| * however hiding faces is useful */ | * however hiding faces is useful */ | ||||
| bool BKE_paint_select_face_test(struct Object *ob); | bool BKE_paint_select_face_test(struct Object *ob); | ||||
| bool BKE_paint_select_vert_test(struct Object *ob); | bool BKE_paint_select_vert_test(struct Object *ob); | ||||
| bool BKE_paint_select_elem_test(struct Object *ob); | bool BKE_paint_select_elem_test(struct Object *ob); | ||||
| /* partial visibility */ | /* partial visibility */ | ||||
| bool paint_is_face_hidden(const struct MFace *f, const struct MVert *mvert); | bool paint_is_face_hidden(const struct MLoopTri *lt, const struct MVert *mvert, const struct MLoop *mloop); | ||||
| bool paint_is_grid_face_hidden(const unsigned int *grid_hidden, | bool paint_is_grid_face_hidden(const unsigned int *grid_hidden, | ||||
| int gridsize, int x, int y); | int gridsize, int x, int y); | ||||
| bool paint_is_bmesh_face_hidden(struct BMFace *f); | bool paint_is_bmesh_face_hidden(struct BMFace *f); | ||||
| /* paint masks */ | /* paint masks */ | ||||
| float paint_grid_paint_mask(const struct GridPaintMask *gpm, unsigned level, | float paint_grid_paint_mask(const struct GridPaintMask *gpm, unsigned level, | ||||
| unsigned x, unsigned y); | unsigned x, unsigned y); | ||||
| ▲ Show 20 Lines • Show All 68 Lines • Show Last 20 Lines | |||||