Engine.Objects.HWSurfaceInstance.Init C# (CSharp) Méthode

Init() private méthode

private Init ( ) : void
Résultat void
        private void Init()
        {
            PopulateFunctions();
            if (_myBatch == null) _myBatch = new SpriteBatch(_tex);
            SetBlendMode((int)BlendModes.Blend);
            DefineProperty("width", new PropertyDescriptor((int)_width, PropertyAttributes.Sealed), true);
            DefineProperty("height", new PropertyDescriptor((int)_height, PropertyAttributes.Sealed), true);
        }