Пример #1
0
        public DX11NullGeometry(DX11RenderContext context, int VertexCount)
            : base(context)
        {
            DX11NullDrawer d = new DX11NullDrawer();

            d.VertexCount = VertexCount;

            this.drawer = d;
            this.drawer.Assign(this);


            this.InputLayout = new InputElement[0];
            this.Topology    = PrimitiveTopology.PointList;
        }
Пример #2
0
        public DX11NullGeometry(DxDevice device, int VertexCount)
            : base(device)
        {
            DX11NullDrawer d = new DX11NullDrawer();

            d.VertexCount = VertexCount;

            this.drawer = d;
            this.drawer.Assign(this);


            this.InputLayout = new InputElement[0];
            this.Topology    = PrimitiveTopology.PointList;
        }