Exemplo n.º 1
0
        public static IndexStream Create(GeometryManager manager, int size, bool isLarge, bool dynamic )
        {
            IndexStream newStream = new IndexStream();
            if ( newStream.Initialize( manager,size,isLarge,dynamic ) )
                return newStream;

            return null;
        }
Exemplo n.º 2
0
        public static IndexStream Create(GeometryManager manager, int size, bool isLarge, bool dynamic)
        {
            IndexStream newStream = new IndexStream();

            if (newStream.Initialize(manager, size, isLarge, dynamic))
            {
                return(newStream);
            }

            return(null);
        }
        public IndexStream CreateIndexStream(int size, bool isLarge, bool dynamic)
        {
            IndexStream newStream = IndexStream.Create(this, size, isLarge, dynamic);

            if (newStream != null)
            {
                geometryIndexStreams.Add(newStream);
                return(newStream);
            }
            return(null);
        }
 public bool SetAsStream(IndexStream stream, int channel)
 {
     geometryDevice.D3dDevice.Indices = stream.IndexBuffer;
     return(true);
 }