Lines Matching refs:positions
37 positions = NULL; in GradientCacheEntry()
40 GradientCacheEntry(uint32_t* colors, float* positions, uint32_t count) { in GradientCacheEntry()
41 copy(colors, positions, count); in GradientCacheEntry()
45 copy(entry.colors, entry.positions, entry.count); in GradientCacheEntry()
50 delete[] positions; in ~GradientCacheEntry()
56 delete[] positions;
58 copy(entry.colors, entry.positions, entry.count);
77 float* positions; member
81 void copy(uint32_t* colors, float* positions, uint32_t count) { in copy()
84 this->positions = new float[count]; in copy()
87 memcpy(this->positions, positions, count * sizeof(float)); in copy()
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);