#include <OGLMachine.h>
Definition at line 404 of file OGLMachine.h.
Public Member Functions | |
| OGLInternalTexture (void) | |
| Constructor. | |
| virtual void | SetRenderFlags (unsigned int _flags) |
| Set or change the render flags for a texture. | |
| virtual void | SetBaseColor (float _rgba[4]) |
| Set base color, default to 1.0f,1.0f,1.0f,1.0f. | |
| virtual unsigned int | GetRenderFlags () |
| Get the render flags for a texture. | |
| virtual void | SetImageBitmap (TextureImageLayerEnum _layerToSet, const unsigned char *_pByteChunk, unsigned int _pixelByteDepth, unsigned int _pixelWidth, unsigned int _pixelHeight) |
| set an image layer for a texture. see layers with itile_... enums. | |
Public Attributes | |
| Layer | m_Layer [m_MaxNumberOfLayer] |
| OGL texture handlers: simple map+env. | |
| unsigned int | m_flags |
| current flags set | |
| float | m_BaseColorRGBA [4] |
| the base color, which is modulated on mapping layer. | |
| unsigned int | m_ActiveLayerFlag |
| tell which layer is active: | |
| GLuint | m_frameBuffer |
| in case of render to texture with render extension: | |
| GLuint | m_depthRenderBuffer |
| in case of render to texture with render extension: | |
Static Public Attributes | |
| static const int | m_MaxNumberOfLayer = 2 |
Classes | |
| class | Layer |
| nested class for private use. More... | |
|
|
Constructor.
|
|
|
Get the render flags for a texture.
|
|
|
Set base color, default to 1.0f,1.0f,1.0f,1.0f.
|
|
||||||||||||||||||||||||
|
set an image layer for a texture. see layers with itile_... enums.
|
|
|
Set or change the render flags for a texture.
|
|
|
tell which layer is active:
Definition at line 454 of file OGLMachine.h. |
|
|
the base color, which is modulated on mapping layer.
Definition at line 452 of file OGLMachine.h. |
|
|
in case of render to texture with render extension:
Definition at line 458 of file OGLMachine.h. |
|
|
current flags set
Definition at line 450 of file OGLMachine.h. |
|
|
in case of render to texture with render extension:
Definition at line 456 of file OGLMachine.h. |
|
|
OGL texture handlers: simple map+env.
Definition at line 448 of file OGLMachine.h. |
/\/\ 4 N k ! N D
_______ _ __ ___ _____ ___ _ _ ____
___________ __//___ /________ |/ / ___________\_______/ \
/ _ _ \/ _ / _ / _/_/____/ _ __ /
/ / / / / / \ \/ / / \ \ /
\\___/___/___/ ¯ _____/_____/ ______\___/_____/\________\\
\________/_ ___ __ l____\ /elD!
http://www.m4nkind.com \____/