Lines Matching refs:positions
38 positions = nullptr;
41 GradientCacheEntry(uint32_t* colors, float* positions, uint32_t count) {
42 copy(colors, positions, count);
46 copy(entry.colors.get(), entry.positions.get(), entry.count);
51 copy(entry.colors.get(), entry.positions.get(), entry.count);
70 std::unique_ptr<float[]> positions;
74 void copy(uint32_t* colors, float* positions, uint32_t count) {
77 this->positions.reset(new float[count]);
80 memcpy(this->positions.get(), positions, count * sizeof(float));
118 Texture* get(uint32_t* colors, float* positions, int count);
140 uint32_t* colors, float* positions, int count);
142 void generateTexture(uint32_t* colors, float* positions,