Source

Ogre NULL RenderSystem / NullHardwarePixelBuffer.cpp

Full commit
#include "NULLHardwarePixelBuffer.h"

void NULLHardwarePixelBuffer::updateRenderTexture( bool writeGamma, uint fsaa, const String& srcName )
{
	if (mRenderTexture == NULL)
	{
		String name;
		name = "rtt/" +Ogre::StringConverter::toString((size_t)this) + "/" + srcName;

		mRenderTexture = new D3D9RenderTexture(name, this, writeGamma, fsaa);		
		Root::getSingleton().getRenderSystem()->attachRenderTarget(*mRenderTexture);
	}
}

Ogre::PixelBox NULLHardwarePixelBuffer::lockImpl( const Image::Box lockBox, LockOptions options )
{

}

void NULLHardwarePixelBuffer::unlockImpl( void )
{

}