Exemplo n.º 1
0
        private void BuildVertexLayout()
        {
            var vertexDesc = VertexPN.GetVertexDescription();
            var passDesc   = _tech.GetPassByIndex(0).Description;

            _inputLayout = new D3D11.InputLayout(Device, passDesc.Signature, vertexDesc);
        }