Remove Interior Object format (DIF)

This commit is contained in:
thecelloman 2013-04-05 12:39:26 -04:00
parent a868b649ad
commit b4ea1123dc
99 changed files with 76 additions and 17318 deletions

View file

@ -159,7 +159,6 @@ inline bool RenderBinManager::newPassNeeded( MeshRenderInst *ri, MeshRenderInst*
inline BaseMatInstance* RenderBinManager::getMaterial( RenderInst *inst ) const
{
if ( inst->type == RenderPassManager::RIT_Mesh ||
inst->type == RenderPassManager::RIT_Interior ||
inst->type == RenderPassManager::RIT_Decal ||
inst->type == RenderPassManager::RIT_Translucent )
return static_cast<MeshRenderInst*>(inst)->matInst;

View file

@ -86,7 +86,6 @@ RenderGlowMgr::RenderGlowMgr()
GFXFormatR8G8B8A8,
Point2I( 512, 512 ) )
{
notifyType( RenderPassManager::RIT_Interior );
notifyType( RenderPassManager::RIT_Decal );
notifyType( RenderPassManager::RIT_Translucent );

View file

@ -44,7 +44,6 @@
const RenderInstType RenderInstType::Invalid( "" );
const RenderInstType RenderPassManager::RIT_Interior("Interior");
const RenderInstType RenderPassManager::RIT_Mesh("Mesh");
const RenderInstType RenderPassManager::RIT_Shadow("Shadow");
const RenderInstType RenderPassManager::RIT_Sky("Sky");

View file

@ -96,7 +96,6 @@ public:
// Default bin types. Not necessarily the only bin types in the system.
// RIT = "R"ender "I"nstance "T"ype
static const RenderInstType RIT_Interior;
static const RenderInstType RIT_Mesh;
static const RenderInstType RIT_Shadow;
static const RenderInstType RIT_Sky;

View file

@ -80,7 +80,6 @@ RenderPrePassMgr::RenderPrePassMgr( bool gatherDepth,
{
notifyType( RenderPassManager::RIT_Decal );
notifyType( RenderPassManager::RIT_Mesh );
notifyType( RenderPassManager::RIT_Interior );
notifyType( RenderPassManager::RIT_Terrain );
notifyType( RenderPassManager::RIT_Object );
@ -194,8 +193,7 @@ void RenderPrePassMgr::addElement( RenderInst *inst )
// First what type of render instance is it?
const bool isDecalMeshInst = inst->type == RenderPassManager::RIT_Decal;
const bool isMeshInst = inst->type == RenderPassManager::RIT_Mesh ||
inst->type == RenderPassManager::RIT_Interior;
const bool isMeshInst = inst->type == RenderPassManager::RIT_Mesh;
const bool isTerrainInst = inst->type == RenderPassManager::RIT_Terrain;