struct CCL::IGradient
Overview
Basic interface for gradients. More…
#include <igradient.h> struct IGradient: public CCL::IUnknown { // enums enum TypeHint; // structs struct Stop; // fields static constexpr int kMaxStopCount = 10; // methods static IGradient Color interpolateStops ( const Stop stops [], int stopCount, float t ); };
Inherited Members
public: // methods virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0; virtual unsigned int CCL_API retain () = 0; virtual unsigned int CCL_API release () = 0;
Detailed Documentation
Basic interface for gradients.
Fields
static constexpr int kMaxStopCount = 10
internal maximum stop count
Methods
static IGradient Color interpolateStops ( const Stop stops [], int stopCount, float t )
Interpolate color from stops at position t (0..1).