Returns a pointer to the blue channel data of the pixel located at \a offset. Result is a uint8_t* for Surface8u and a float* for Surface32f.
| 193 | const T* getDataGreen( const ivec2 &offset ) const { return getData( offset ) + getGreenOffset(); } |
| 194 | //! Returns a pointer to the blue channel data of the pixel located at \a offset. Result is a uint8_t* for Surface8u and a float* for Surface32f. |
| 195 | T* getDataBlue( const ivec2 &offset ) { return getData( offset ) + getBlueOffset(); } |
| 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(); } |
nothing calls this directly
no test coverage detected