Definition TPixelTexture2D.h:16
pixel_buffer::TPixel< float64 > samplePixelBufferNearest(const math::Vector2D &sampleUV) const
Definition TPixelTexture2D.ipp:107
pixel_texture::EWrapMode getWrapModeT() const
Definition TPixelTexture2D.ipp:72
pixel_buffer::TPixel< float64 > samplePixelBuffer(const math::Vector2D &sampleUV) const
Definition TPixelTexture2D.ipp:91
const PixelBuffer2D * getPixelBuffer() const
Definition TPixelTexture2D.ipp:78
pixel_texture::ESampleMode getSampleMode() const
Definition TPixelTexture2D.ipp:60
TPixelTexture2D(const std::shared_ptr< PixelBuffer2D > &pixelBuffer)
Definition TPixelTexture2D.ipp:15
math::Vector2D sampleUVToST(const math::Vector2D &sampleUV) const
Definition TPixelTexture2D.ipp:85
pixel_texture::EWrapMode getWrapModeS() const
Definition TPixelTexture2D.ipp:66
pixel_buffer::TPixel< float64 > samplePixelBufferBilinear(const math::Vector2D &sampleUV) const
Definition TPixelTexture2D.ipp:124
math::TVector2< uint32 > getSizePx() const
Definition TPixelTexture2D.ipp:47
math::Vector2D getTexelSize() const
Definition TPixelTexture2D.ipp:54
math::Vector2D uv_to_st(const math::Vector2D &inputUV, const EWrapMode wrapModeS, const EWrapMode wrapModeT)
Transform (u, v) coordinates to (s, t) in [0, 1] according to wrap mode. The transformation will pres...
Definition pixel_texture_basics.h:95
EWrapMode
Definition pixel_texture_basics.h:21
ESampleMode
Definition pixel_texture_basics.h:28