Blender V5.3
blender::bGPDpalettecolor Struct Reference

#include <DNA_gpencil_legacy_types.h>

Public Attributes

struct bGPDpalettecolor * next = nullptr
struct bGPDpalettecolor * prev = nullptr
char info [64] = ""
float color [4] = {}
float fill [4] = {}
eGPDpalettecolor_Flag flag = {}
char _pad [6] = {}

Detailed Description

Definition at line 351 of file DNA_gpencil_legacy_types.h.

Member Data Documentation

◆ _pad

char blender::bGPDpalettecolor::_pad[6] = {}

Padding for compiler alignment error.

Definition at line 363 of file DNA_gpencil_legacy_types.h.

◆ color

float blender::bGPDpalettecolor::color[4] = {}

◆ fill

float blender::bGPDpalettecolor::fill[4] = {}

Color that should be used for drawing "fills" for strokes.

Definition at line 359 of file DNA_gpencil_legacy_types.h.

Referenced by blender::BKE_gpencil_palettecolor_addnew(), and blender::blo_do_versions_270().

◆ flag

eGPDpalettecolor_Flag blender::bGPDpalettecolor::flag = {}

Settings for palette color.

Definition at line 361 of file DNA_gpencil_legacy_types.h.

Referenced by blender::blo_do_versions_270().

◆ info

char blender::bGPDpalettecolor::info[64] = ""

Color name. Must be unique.

Definition at line 356 of file DNA_gpencil_legacy_types.h.

Referenced by blender::BKE_gpencil_palettecolor_addnew(), and blender::do_versions_fix_annotations().

◆ next

struct bGPDpalettecolor* blender::bGPDpalettecolor::next = nullptr

Definition at line 354 of file DNA_gpencil_legacy_types.h.

◆ prev

struct bGPDpalettecolor * blender::bGPDpalettecolor::prev = nullptr

Definition at line 354 of file DNA_gpencil_legacy_types.h.


The documentation for this struct was generated from the following file: