CreateRenderTexture

RenderFactory.CreateRenderTexture method (1 of 2)

Create a render target that renders to the texture

public abstract IRenderTexture CreateRenderTexture(RenderParameters parameters, int targets, 
    int width, int height)
Parameter Type Description
parameters RenderParameters Render parameters to create the render texture
targets Int32 How many color output targets
width Int32 The width of the render texture
height Int32 The height of the render texture

See Also


RenderFactory.CreateRenderTexture method (2 of 2)

Create a render target contains 1 targets that renders to the texture

public abstract IRenderTexture CreateRenderTexture(RenderParameters parameters, int width, 
    int height)
Parameter Type Description
parameters RenderParameters Render parameters to create the render texture
width Int32 The width of the render texture
height Int32 The height of the render texture

See Also