Nez.Portable/Graphics/Renderers/Renderer.cs
/// <summary>
/// called when the default scene RenderTarget is resized and when adding a Renderer if the scene has already began. default implementation
/// calls through to RenderTexture.onSceneBackBufferSizeChanged
/// so that it can size itself appropriately if necessary.
/// </summary>
/// <param name="newWidth">New width.</param>
/// <param name="newHeight">New height.</param>
called when the default scene RenderTarget is resized and when adding a Renderer if the scene has already began. default implementation
calls through to RenderTexture.onSceneBackBufferSizeChanged
so that it can size itself appropriately if necessary.
called when the default scene RenderTarget is resized and when adding a Renderer if the scene has already began . default implementation calls through to RenderTexture . onSceneBackBufferSizeChanged so that it can size itself appropriately if necessary .
public virtual void onSceneBackBufferSizeChanged(int newWidth, int newHeight)
        {
            if (renderTexture != null)
                renderTexture.onSceneBackBufferSizeChanged(newWidth, newHeight);
        }
public virtual void onSceneBackBufferSizeChanged ( int newWidth , int newHeight ) { if ( renderTexture != null ) renderTexture . onSceneBackBufferSizeChanged ( newWidth , newHeight ) ; }
called when the default scene RenderTarget is resized and when adding a Renderer if the scene has already began.
called when the default scene RenderTarget is resized and when adding a Renderer if the scene has already began .
newWidth
int
None
newHeight
int
None