Engine.Objects.HWSurfaceInstance.HWSurfaceInstance C# (CSharp) Method

HWSurfaceInstance() static private method

static private HWSurfaceInstance ( ) : System
return System
        static HWSurfaceInstance()
        {
            _atlas = new RenderTexture(_aw, _ah);
            _atlastex = _atlas.Texture;
            _batch = new SpriteBatch(_atlas);
            _batch.SetBlendMode(BlendMode.None);
        }

Same methods

HWSurfaceInstance::HWSurfaceInstance ( ScriptEngine parent, Image image ) : System
HWSurfaceInstance::HWSurfaceInstance ( ScriptEngine parent, Texture texture ) : System
HWSurfaceInstance::HWSurfaceInstance ( ScriptEngine parent, int width, int height, System.Color bg_color ) : System
HWSurfaceInstance::HWSurfaceInstance ( ScriptEngine parent, string filename ) : System