Returns a pointer to the alpha channel data of the pixel located at \a offset. Result is a uint8_t* for Surface8u and a float* for Surface32f. Undefined for Surfaces without an alpha channel.
| 196 | const T* getDataBlue( const ivec2 &offset ) const { return getData( offset ) + getBlueOffset(); } |
| 197 | //! Returns a pointer to the alpha channel data of the pixel located at \a offset. Result is a uint8_t* for Surface8u and a float* for Surface32f. Undefined for Surfaces without an alpha channel. |
| 198 | T* getDataAlpha( const ivec2 &offset ) { return getData( offset ) + getAlphaOffset(); } |
| 199 | const T* getDataAlpha( const ivec2 &offset ) const { return getData( offset ) + getAlphaOffset(); } |
| 200 | |
| 201 | //! Returns the shared_ptr to the underlying pixel data. Maybe be nullptr if the Surface does not own its data |
nothing calls this directly
no test coverage detected