|
LayerRAM * | clone () const override=0 |
|
virtual bool | copyRepresentationsTo (LayerRepresentation *) const override |
|
virtual void * | getData ()=0 |
|
virtual const void * | getData () const =0 |
|
virtual void | setData (void *data, size2_t dimensions)=0 |
|
virtual double | getAsDouble (const size2_t &pos) const =0 |
|
virtual dvec2 | getAsDVec2 (const size2_t &pos) const =0 |
|
virtual dvec3 | getAsDVec3 (const size2_t &pos) const =0 |
|
virtual dvec4 | getAsDVec4 (const size2_t &pos) const =0 |
|
virtual void | setFromDouble (const size2_t &pos, double val)=0 |
|
virtual void | setFromDVec2 (const size2_t &pos, dvec2 val)=0 |
|
virtual void | setFromDVec3 (const size2_t &pos, dvec3 val)=0 |
|
virtual void | setFromDVec4 (const size2_t &pos, dvec4 val)=0 |
|
virtual double | getAsNormalizedDouble (const size2_t &pos) const =0 |
|
virtual dvec2 | getAsNormalizedDVec2 (const size2_t &pos) const =0 |
|
virtual dvec3 | getAsNormalizedDVec3 (const size2_t &pos) const =0 |
|
virtual dvec4 | getAsNormalizedDVec4 (const size2_t &pos) const =0 |
|
virtual void | setFromNormalizedDouble (const size2_t &pos, double val)=0 |
|
virtual void | setFromNormalizedDVec2 (const size2_t &pos, dvec2 val)=0 |
|
virtual void | setFromNormalizedDVec3 (const size2_t &pos, dvec3 val)=0 |
|
virtual void | setFromNormalizedDVec4 (const size2_t &pos, dvec4 val)=0 |
|
virtual std::type_index | getTypeIndex () const override final |
|
template<typename Result, template< class > class Predicate = dispatching::filter::All, typename Callable, typename... Args> |
auto | dispatch (Callable &&callable, Args &&... args) -> Result |
|
template<typename Result, template< class > class Predicate = dispatching::filter::All, typename Callable, typename... Args> |
auto | dispatch (Callable &&callable, Args &&... args) const -> Result |
|
LayerType | getLayerType () const |
|
virtual const DataFormatBase * | getDataFormat () const =0 |
|
std::string_view | getDataFormatString () const |
|
DataFormatId | getDataFormatId () const |
|
virtual void | setDimensions (size2_t dimensions)=0 |
|
virtual const size2_t & | getDimensions () const =0 |
|
virtual void | setSwizzleMask (const SwizzleMask &mask)=0 |
| update the swizzle mask of the channels for sampling color layers Needs to be overloaded by child classes.
|
|
virtual SwizzleMask | getSwizzleMask () const =0 |
|
virtual void | setInterpolation (InterpolationType interpolation)=0 |
| update the interpolation for sampling layer Needs to be overloaded by child classes.
|
|
virtual InterpolationType | getInterpolation () const =0 |
|
virtual void | setWrapping (const Wrapping2D &wrapping)=0 |
| Update the wrapping type of the layer Needs to be overloaded by child classes.
|
|
virtual Wrapping2D | getWrapping () const =0 |
|
LayerReprConfig | config () const |
|
void | setOwner (const Layer *owner) |
|
const Layer * | getOwner () const |
|
bool | isValid () const |
|
void | setValid (bool valid) |
|
virtual void | updateResource (const ResourceMeta &) const |
|