|
| TextureImage (Context const &context) |
| TextureImage (TextureImage const &r) |
| TextureImage (TextureImage &&r) noexcept |
TextureImage & | operator= (TextureImage const &r)=delete |
TextureImage & | operator= (TextureImage &&r) noexcept |
bool | create (glm::vec< 2, int > const &size, uint32_t levels=1) |
bool | create (SDL_Surface *surface, uint32_t levels=1) |
bool | create (TextureImage const &texture, uint32_t levels=0) |
void | destroy () final |
bool | isCreated () const |
SDL_Surface * | copyToSurface () const |
void | update (SDL_Surface *surface, glm::vec< 2, int > const &offset) |
void | update (TextureImage const &textureImage, glm::vec< 2, int > const &offset) |
void | update (void *buffer, std::size_t bufferSize, glm::vec< 2, int > const &size, glm::vec< 2, int > const &offset) |
void | generateMipmaps (uint32_t levels=0) |
uint32_t | getMipLevels () const |
void | forceMipLod (float mipLodBias, float mipLodMin, float mipLodMax) |
glm::vec< 2, int > const & | getSize () const |
VkExtent2D | getExtent () const |
int | getBytesPerPixel () const |
VkImage | getTextureImage () const |
VmaAllocation | getTextureImageAllocation () const |
VkImageView | getTextureImageView () const |
VkSampler | getTextureSampler () const |
void | setNormalizedCoordinates (bool normalized) |
bool | getNormalizedCoordinates () const |
void | setFilter (VkFilter filter) |
VkFilter | getFilter () const |
fge::vulkan::DescriptorSet const & | getDescriptorSet () const |
fge::Vector2f | normalizeTextureCoords (fge::Vector2i const &coords) const |
fge::RectFloat | normalizeTextureRect (fge::RectInt const &rect) const |
uint32_t | getModificationCount () const |
constexpr Context const & | getContext () const |
void | swapContext (Context const &context) |