Updated ModelMeshPart (markdown)

Chuck Walbourn 2015-06-28 16:47:51 -07:00
Родитель 0fa149eb26
Коммит 4ba12ae1e3
1 изменённых файлов: 4 добавлений и 2 удалений

@ -98,10 +98,12 @@ If the effect instance is changed, the _inputLayout_ must be updated as well. Fu
ModelMeshPart* part = ...
// This will regenerate the inputLayout and needs to indicate if newEffect is alpha-blended or not
// This will regenerate the inputLayout and needs to indicate
// if newEffect is alpha-blended or not
part->ModifyEffect( device.Get(), newEffect, false );
// part comes from a Model instance 'model' and we assume it's not shared by another Model instance here
// part comes from a Model instance 'model' and we assume it's
// not shared by another Model instance here
model->Modified();
# Optimization