Isle
|
[AI] Represents a renderable 3D mesh. More...
#include <tgl.h>
Public Member Functions | |
virtual Result | SetColor (float r, float g, float b, float a)=0 |
[AI] Sets the color and transparency for the mesh. More... | |
virtual Result | SetTexture (const Texture *)=0 |
[AI] Sets the texture to use. More... | |
virtual Result | GetTexture (Texture *&)=0 |
[AI] Retrieves the currently set texture. More... | |
virtual Result | SetTextureMappingMode (TextureMappingMode)=0 |
[AI] Sets how texture coordinates are mapped (linear or perspective correct). More... | |
virtual Result | SetShadingModel (ShadingModel)=0 |
[AI] Sets the mesh's shading model (e.g., Gouraud, Phong). More... | |
virtual Mesh * | DeepClone (MeshBuilder *)=0 |
[AI] Performs a deep clone—copying all mesh and group data. More... | |
virtual Mesh * | ShallowClone (MeshBuilder *)=0 |
[AI] Performs a shallow clone—new wrapper, same mesh data. More... | |
![]() | |
virtual | ~Object () |
[AI] Destructor; releases resources. More... | |
virtual void * | ImplementationDataPtr ()=0 |
[AI] Returns a pointer to internal/implementation data, if any. More... | |
[AI] Represents a renderable 3D mesh.
[AI]
[AI] Allows setting color, texture, shading and provides clone operations. [AI]
|
pure virtual |
[AI] Performs a deep clone—copying all mesh and group data.
[AI]
builder | Mesh builder to use. [AI] |
Implemented in TglImpl::MeshImpl.
[AI] Retrieves the currently set texture.
[AI]
pTexture | Reference to pointer to texture (output). [AI] |
Implemented in TglImpl::MeshImpl.
|
pure virtual |
[AI] Sets the color and transparency for the mesh.
[AI]
r | Red. [AI] |
g | Green. [AI] |
b | Blue. [AI] |
a | Alpha (opacity). [AI] |
Implemented in TglImpl::MeshImpl.
|
pure virtual |
[AI] Sets the mesh's shading model (e.g., Gouraud, Phong).
[AI]
m | Shading model. [AI] |
Implemented in TglImpl::MeshImpl.
[AI] Sets the texture to use.
[AI]
pTexture | Texture object. [AI] |
Implemented in TglImpl::MeshImpl.
|
pure virtual |
[AI] Sets how texture coordinates are mapped (linear or perspective correct).
[AI]
mode | Mapping mode. [AI] |
Implemented in TglImpl::MeshImpl.
|
pure virtual |
[AI] Performs a shallow clone—new wrapper, same mesh data.
[AI]
builder | Mesh builder to use. [AI] |
Implemented in TglImpl::MeshImpl.