Texture cube.
More...
#include <TextureGL.h>
Inherits TextureCubemapBackend.
|
unsigned int | _ID |
| object id, ScriptSupport need public _ID
|
|
int | _luaID |
| Lua reference id.
|
|
◆ TextureCubeGL()
- Parameters
-
descriptor | Specifies the texture description. |
◆ updateSamplerDescriptor()
Update sampler.
- Parameters
-
sampler | Specifies the sampler descriptor. |
Implements TextureBackend.
◆ updateFaceData()
virtual void updateFaceData |
( |
TextureCubeFace | side, |
|
|
void * | data, |
|
|
int | index = 0 ) |
|
overridevirtual |
Update texutre cube data in give slice side.
- Parameters
-
side | Specifies which slice texture of cube to be update. |
data | Specifies a pointer to the image data in memory. |
Implements TextureCubemapBackend.
◆ updateTextureDescriptor()
virtual void updateTextureDescriptor |
( |
const TextureDescriptor & | descriptor, |
|
|
int | index = 0 ) |
|
overridevirtual |
Update texture description.
- Parameters
-
descriptor | Specifies texture and sampler descriptor. |
Reimplemented from TextureBackend.
◆ getHandler()
uintptr_t getHandler |
( |
int | index = 0 | ) |
const |
|
inlineoverridevirtual |
Get texture object.
- Returns
- Texture object.
Reimplemented from TextureBackend.
◆ apply()
void apply |
( |
int | slot, |
|
|
int | index ) const |
|
inline |
Set texture to pipeline.
- Parameters
-
index | Specifies the texture image unit selector. |
The documentation for this class was generated from the following file: