コード例 #1
0
        public XftSprite AddSprite(float width, float height, STYPE type, ORIPOINT ori, float maxFps, bool simple)
        {
            VertexSegment segment = GetVertices(4, 6);
            XftSprite     s       = new XftSprite(segment, width, height, type, ori, maxFps, simple);

            return(s);
        }
コード例 #2
0
ファイル: VertexPool.cs プロジェクト: linxiubao/UniShader
 public XftSprite AddSprite(float width, float height, STYPE type, ORIPOINT ori, float maxFps, bool simple)
 {
     VertexSegment segment = GetVertices(4, 6);
     XftSprite s = new XftSprite(segment, width, height, type, ori, maxFps, simple);
     return s;
 }