A base texture.
More...
#include <Texture.h>
Inherits Object.
Inherited by Texture2DBackend, and TextureCubemapBackend.
|
unsigned int | _ID |
| object id, ScriptSupport need public _ID
|
|
int | _luaID |
| Lua reference id.
|
|
◆ updateSamplerDescriptor()
◆ updateTextureDescriptor()
virtual void updateTextureDescriptor |
( |
const TextureDescriptor & | descriptor, |
|
|
int | index = 0 ) |
|
virtual |
◆ getTextureFormat()
Get texture format.
- Returns
- Texture format.
◆ getTextureUsage()
TextureUsage getTextureUsage |
( |
| ) |
const |
|
inline |
Get texture usage.
Symbolic constant can be READ, WRITE or RENDER_TARGET.
- Returns
- Texture usage.
◆ getTextureType()
TextureType getTextureType |
( |
| ) |
const |
|
inline |
Get texture type.
Symbolic constant value can be either TEXTURE_2D or TEXTURE_CUBE.
- Returns
- Texture type.
◆ hasMipmaps()
bool hasMipmaps |
( |
| ) |
const |
|
inline |
Check if mipmap had generated before.
- Returns
- true if the mipmap has always generated before, otherwise false.
The documentation for this class was generated from the following file: