|
kick
|
Public Member Functions | |
| Texture2D (const Texture2D &) | |
| Texture2D (Texture2D &&m) | |
| void | setEmptyColorTexture (int width=512, int height=512, int colorChannels=4, bool fpTexture=false) |
| void | setEmptyDepthTexture (int width=512, int height=512, int bits=32, bool fpTexture=false) |
| void | setData (const Texture2DData &data, const ImageFormat &imageFormat={}) |
| void | setData (int width, int height, const char *data, const ImageFormat &imageFormat={}) |
| Texture2DData | data () |
| int | dataSize () |
| void | bind (int textureSlot) |
| int | width () |
| int | height () |
| glm::vec2 | size () |
| void | setTextureSampler (const TextureSampler &textureSampler) |
| TextureSampler | textureSampler () const |
| ImageFormat | imageFormat () const |
| void | saveBMPImage (std::string filename) |
Friends | |
| class | TextureRenderTarget |
Definition at line 23 of file texture2d.h.
1.7.4