Inheritance: IDisposable
Exemplo n.º 1
0
 public void SetTexture(RTexture texture, int TextureID)
 {
     _instance._textureList[TextureID] = (Texture)texture._Texture;
 }
Exemplo n.º 2
0
 public void SetParam(string ParamName, RTexture value)
 {
     effect.Parameters[ParamName].SetValue(value._Texture);
 }
Exemplo n.º 3
0
        public RTexture GetTexture(int TextureID)
        {
            RTexture texture = new RTexture();
            texture._Texture = (Texture)_instance._textureList[TextureID];
            texture.Filename = REngine.Instance._content.RootDirectory+"\\"+(string)texture._Texture.Tag+".xnb";

            return texture;
        }