public override object this[ string attribute ]
{
get
{
if ( attribute == "DDBACKBUFFER" )
{
var surfaces = new D3D.Surface[ Config.MaxMultipleRenderTargets ];
// Transfer surfaces
for ( var x = 0; x < Config.MaxMultipleRenderTargets; x++ )
{
if ( this._targets[ x ] != null )
surfaces[ x ] = this._targets[ x ].Surface;
}
return surfaces;
}
return null;
}
}