![]() |
• Graphics Manager | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
API Links
Developer Links
|
class RenderableDefined in:
The C4Renderable.hRenderable class stores general rendering information for a renderable object.
Definition
Member Functions
Constructor
Parameters
Description
The Renderable class stores general rendering information about a single renderable object. The use of the Renderable class is the sole means by which an object can be rendered by the Graphics Manager. Objects are rendered by storing their associated Renderable objects (which may be base classes of more specialized structures) in a list and passing the list to the GraphicsMgr::DrawRenderList function.The type parameter passed to the constructor specifies the rendering primitive used by the object and may be any one of the following values, where n represents the number of vertices.
GraphicsMgr::SetLight function) determines how the object is shaded. The state parameter specifies light-independent rendering state and may be any combination of the following bit flags.
Base Classes
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||