Lines Matching refs:colors
36 colors = NULL;
40 GradientCacheEntry(uint32_t* colors, float* positions, uint32_t count) {
41 copy(colors, positions, count);
45 copy(entry.colors, entry.positions, entry.count);
49 delete[] colors;
55 delete[] colors;
58 copy(entry.colors, entry.positions, entry.count);
76 uint32_t* colors;
81 void copy(uint32_t* colors, float* positions, uint32_t count) {
83 this->colors = new uint32_t[count];
86 memcpy(this->colors, colors, count * sizeof(uint32_t));
126 Texture* get(uint32_t* colors, float* positions, int count);
152 uint32_t* colors, float* positions, int count);
154 void generateTexture(uint32_t* colors, float* positions, int count, Texture* texture);
161 void getGradientInfo(const uint32_t* colors, const int count, GradientInfo& info);