3#include <Core/ResourceManager/Resource.h>
4#include <Foundation/Tracks/ColorGradient.h>
29 inline plColor Evaluate(
double x)
const
32 m_Descriptor.m_Gradient.Evaluate(x, result);
39 virtual void UpdateMemoryUsage(MemoryUsage& out_NewMemoryUsage)
override;
A color curve for animating colors.
Definition ColorGradient.h:15
A resource that stores a single color gradient. The data is stored in the descriptor.
Definition ColorGradientResource.h:18
const plColorGradientResourceDescriptor & GetDescriptor() const
Returns all the data that is stored in this resource.
Definition ColorGradientResource.h:27
plColor represents an RGBA color in linear color space. Values are stored as float,...
Definition Color.h:44
The base class for all resources.
Definition Resource.h:10
Interface for binary in (read) streams.
Definition Stream.h:22
Interface for binary out (write) streams.
Definition Stream.h:107
Definition ColorGradientResource.h:7
Describes in which loading state a resource currently is, and how many different quality levels there...
Definition Declarations.h:102