|
| LayerRAMPrecision (size2_t dimensions=LayerConfig::defaultDimensions, LayerType type=LayerConfig::defaultType, const SwizzleMask &swizzleMask=LayerConfig::defaultSwizzleMask, InterpolationType interpolation=LayerConfig::defaultInterpolation, const Wrapping2D &wrap=LayerConfig::defaultWrapping) |
|
| LayerRAMPrecision (T *data, size2_t dimensions, LayerType type=LayerConfig::defaultType, const SwizzleMask &swizzleMask=LayerConfig::defaultSwizzleMask, InterpolationType interpolation=LayerConfig::defaultInterpolation, const Wrapping2D &wrap=LayerConfig::defaultWrapping) |
|
| LayerRAMPrecision (const LayerReprConfig &config) |
|
| LayerRAMPrecision (const LayerRAMPrecision< T > &rhs) |
|
LayerRAMPrecision< T > & | operator= (const LayerRAMPrecision< T > &that) |
|
virtual LayerRAMPrecision< T > * | clone () const override |
|
virtual const DataFormatBase * | getDataFormat () const override |
|
T * | getDataTyped () |
|
const T * | getDataTyped () const |
|
std::span< T > | getView () |
|
std::span< const T > | getView () const |
|
virtual void * | getData () override |
|
virtual const void * | getData () const override |
|
virtual void | setData (void *data, size2_t dimensions) override |
|
virtual void | setDimensions (size2_t dimensions) override |
|
const size2_t & | getDimensions () const override |
|
virtual void | setSwizzleMask (const SwizzleMask &mask) override |
| update the swizzle mask of the channels for sampling color layers Needs to be overloaded by child classes.
|
|
virtual SwizzleMask | getSwizzleMask () const override |
|
virtual void | setInterpolation (InterpolationType interpolation) override |
| update the interpolation for sampling layer Needs to be overloaded by child classes.
|
|
virtual InterpolationType | getInterpolation () const override |
|
virtual void | setWrapping (const Wrapping2D &wrapping) override |
| Update the wrapping type of the layer Needs to be overloaded by child classes.
|
|
virtual Wrapping2D | getWrapping () const override |
|
virtual double | getAsDouble (const size2_t &pos) const override |
|
virtual dvec2 | getAsDVec2 (const size2_t &pos) const override |
|
virtual dvec3 | getAsDVec3 (const size2_t &pos) const override |
|
virtual dvec4 | getAsDVec4 (const size2_t &pos) const override |
|
virtual void | setFromDouble (const size2_t &pos, double val) override |
|
virtual void | setFromDVec2 (const size2_t &pos, dvec2 val) override |
|
virtual void | setFromDVec3 (const size2_t &pos, dvec3 val) override |
|
virtual void | setFromDVec4 (const size2_t &pos, dvec4 val) override |
|
virtual double | getAsNormalizedDouble (const size2_t &pos) const override |
|
virtual dvec2 | getAsNormalizedDVec2 (const size2_t &pos) const override |
|
virtual dvec3 | getAsNormalizedDVec3 (const size2_t &pos) const override |
|
virtual dvec4 | getAsNormalizedDVec4 (const size2_t &pos) const override |
|
virtual void | setFromNormalizedDouble (const size2_t &pos, double val) override |
|
virtual void | setFromNormalizedDVec2 (const size2_t &pos, dvec2 val) override |
|
virtual void | setFromNormalizedDVec3 (const size2_t &pos, dvec3 val) override |
|
virtual void | setFromNormalizedDVec4 (const size2_t &pos, dvec4 val) override |
|
virtual void | updateResource (const ResourceMeta &meta) const override |
|
virtual bool | copyRepresentationsTo (LayerRepresentation *) const override |
|
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 |
|
std::string_view | getDataFormatString () const |
|
DataFormatId | getDataFormatId () const |
|
LayerReprConfig | config () const |
|
void | setOwner (const Layer *owner) |
|
const Layer * | getOwner () const |
|
bool | isValid () const |
|
void | setValid (bool valid) |
|