ScummVM API documentation
Stark::Gfx::TinyGLPropRenderer Class Reference
Inheritance diagram for Stark::Gfx::TinyGLPropRenderer:
Stark::VisualProp Stark::Visual

Public Member Functions

 TinyGLPropRenderer (TinyGLDriver *gfx)
 
void render (const Math::Vector3d &position, float direction, const LightEntryArray &lights) override
 
- Public Member Functions inherited from Stark::VisualProp
void setModel (Formats::BiffMesh *model)
 
void setTexture (Gfx::TextureSet *texture)
 
bool intersectRay (const Math::Ray &ray, const Math::Vector3d &position, float direction)
 
- Public Member Functions inherited from Stark::Visual
 Visual (VisualType type)
 
template<class T >
T * get ()
 

Protected Types

typedef Common::HashMap< const Face *, uint32 * > FaceBufferMap
 

Protected Member Functions

void clearVertices ()
 
void uploadVertices ()
 
PropVertexcreateFaceVBO ()
 
uint32 * createFaceEBO (const Face *face)
 
- Protected Member Functions inherited from Stark::VisualProp
Math::Matrix4 getModelMatrix (const Math::Vector3d &position, float direction)
 

Protected Attributes

TinyGLDriver_gfx
 
bool _modelIsDirty
 
PropVertex_faceVBO
 
FaceBufferMap _faceEBO
 
- Protected Attributes inherited from Stark::VisualProp
Formats::BiffMesh_model
 
Gfx::TextureSet_texture
 
Math::AABB _boundingBox
 

Additional Inherited Members

- Public Types inherited from Stark::Visual
enum  VisualType {
  kImageXMG = 2, kRendered = 3, kImageText = 4, kSmackerStream = 5,
  kActor = 6, kSmackerFMV = 7, kEffectFish = 8, kEffectBubbles = 9,
  kEffectFirefly = 10, kExplodingImage = 100, kFlashingImage = 101
}
 
- Static Public Attributes inherited from Stark::VisualProp
static const VisualType TYPE = Visual::kRendered
 

The documentation for this class was generated from the following file: