Lines Matching refs:positions
39 positions = nullptr;
42 GradientCacheEntry(uint32_t* colors, float* positions, uint32_t count) {
43 copy(colors, positions, count);
47 copy(entry.colors.get(), entry.positions.get(), entry.count);
52 copy(entry.colors.get(), entry.positions.get(), entry.count);
71 std::unique_ptr<float[]> positions;
75 void copy(uint32_t* colors, float* positions, uint32_t count) {
78 this->positions.reset(new float[count]);
81 memcpy(this->positions.get(), positions, count * sizeof(float));
119 Texture* get(uint32_t* colors, float* positions, int count);
145 uint32_t* colors, float* positions, int count);
147 void generateTexture(uint32_t* colors, float* positions, Texture* texture);