Project

General

Profile

« Previous | Next » 

Revision 2bb06993

Added by skyjake almost 9 years ago

Refactor|Model Renderer|libgui: Added ModelDrawable::Appearance

Added a new object that contains parameters that affect how a model
gets drawn. ModelDrawable::Appearance contains the rendering passes,
mask for active passes, material to use for each pass, and callbacks
for changing the program and pass.

This allows StateAnimator to maintain this information internally for
each animated object, rather than having to pass it to the model
renderer that does the draw calls.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences