|
| LayerRAMPrecision (size2_t dimensions=size2_t(8, 8), LayerType type=LayerType::Color, const SwizzleMask &swizzleMask=swizzlemasks::rgba) |
|
| LayerRAMPrecision (T *data, size2_t dimensions, LayerType type=LayerType::Color, const SwizzleMask &swizzleMask=swizzlemasks::rgba) |
|
| LayerRAMPrecision (const LayerRAMPrecision< T > &rhs) |
|
LayerRAMPrecision< T > & | operator= (const LayerRAMPrecision< T > &that) |
|
virtual LayerRAMPrecision< T > * | clone () const override |
|
T * | getDataTyped () |
|
const T * | getDataTyped () 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 the layer Needs to be overloaded by child classes. More...
|
|
virtual SwizzleMask | getSwizzleMask () 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 |
|
| LayerRAM (LayerType type=LayerType::Color, const DataFormatBase *format=DataVec4UInt8::get()) |
|
| LayerRAM (const LayerRAM &rhs)=default |
|
LayerRAM & | operator= (const LayerRAM &that)=default |
|
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 |
|
const DataFormatBase * | getDataFormat () const |
|
std::string | getDataFormatString () const |
|
DataFormatId | getDataFormatId () const |
|
void | setOwner (Layer *owner) |
|
Layer * | getOwner () |
|
const Layer * | getOwner () const |
|
bool | isValid () const |
|
void | setValid (bool valid) |
|