RenderImage.CreateTexture C# (CSharp) Method

CreateTexture() private method

private CreateTexture ( ) : void
return void
    void CreateTexture()
    {
        if (_renderTexture != null)
            return;

        _renderTexture = new RenderTexture(_width, _height, 24, RenderTextureFormat.ARGB32)
        {
            antiAliasing = 1,
            filterMode = FilterMode.Bilinear,
            anisoLevel = 0,
            useMipMap = false
        };
        this._image.texture = new NTexture(_renderTexture);
        this._image.blendMode = BlendMode.Off;
    }