⚠️ This documentation corresponds to the latest development branch of axmol. It might diverge from the official releases.
|
Axmol Engine 3.0.0-dff292a
|
This is the complete list of members for Texture2D, including all inherited members.
| _ID | Object | |
| _luaID | Object | |
| autorelease() | Object | |
| drawAtPoint(const Vec2 &point, float globalZOrder) | Texture2D | |
| drawInRect(const Rect &rect, float globalZOrder) | Texture2D | |
| getBitsPerPixelForFormat() const | Texture2D | |
| getBitsPerPixelForFormat(rhi::PixelFormat format) const | Texture2D | |
| getContentSize() const | Texture2D | |
| getContentSizeInPixels() | Texture2D | |
| getMaxS() const | Texture2D | |
| getMaxT() const | Texture2D | |
| getPixelFormat() const | Texture2D | |
| getPixelsHigh() const | Texture2D | |
| getPixelsWide() const | Texture2D | |
| getReferenceCount() const | Object | |
| getStringForFormat() const | Texture2D | |
| hasMipmaps() const | Texture2D | |
| hasPremultipliedAlpha() const | Texture2D | |
| initWithData(const void *data, ssize_t dataSize, rhi::PixelFormat pixelFormat, int pixelsWide, int pixelsHigh, bool preMultipliedAlpha=false, bool autoGenMipmaps=false) | Texture2D | inline |
| initWithData(const void *data, ssize_t dataSize, rhi::PixelFormat pixelFormat, rhi::PixelFormat renderFormat, int pixelsWide, int pixelsHigh, bool preMultipliedAlpha=false, bool autoGenMipmaps=false) | Texture2D | |
| initWithImage(Image *image, PixelFormat renderFormat=PixelFormat::NONE, bool autoGenMipmaps=false) | Texture2D | |
| initWithMipmaps(std::span< MipmapInfo > mipmaps, rhi::PixelFormat pixelFormat, rhi::PixelFormat renderFormat, int pixelsWide, int pixelsHigh, bool preMultipliedAlpha=false) | Texture2D | |
| initWithString(std::string_view text, std::string_view fontName, float fontSize, const Vec2 &dimensions=Vec2(0, 0), TextHAlignment hAlignment=TextHAlignment::CENTER, TextVAlignment vAlignment=TextVAlignment::TOP, bool enableWrap=true, int overflow=0) | Texture2D | |
| initWithString(std::string_view text, const FontDefinition &textDefinition) | Texture2D | |
| release() | Object | |
| retain() | Object | |
| setAliasTexParameters() | Texture2D | |
| setAntiAliasTexParameters() | Texture2D | |
| setMaxS(float maxS) | Texture2D | |
| setMaxT(float maxT) | Texture2D | |
| TexParams typedef | Texture2D | |
| updateData(Image *image) | Texture2D | |
| updateData(std::span< const TextureSliceData > subDatas) | Texture2D | |
| updateData(const void *data, int width, int height, int level=0, int layerIndex=0) | Texture2D | |
| updateSubData(const void *data, int offsetX, int offsetY, int width, int height, int level=0, int layerIndex=0) | Texture2D | |
| ~Object() | Object | virtual |
| ~Texture2D() | Texture2D | virtual |