public H1InputLayout(H1VertexStream[] streams)
        {
            foreach (H1VertexStream stream in streams)
            {
                H1InputElementDescription inputElement = new H1InputElementDescription();
                inputElement.SemanticName  = stream.SemanticName;
                inputElement.SemanticIndex = stream.SemanticIndex;
                inputElement.Format        = H1RHIDefinitionHelper.ConvertToPixelFormat(stream.VertexElementType);
                inputElement.InputSlot     = Convert.ToInt32(stream.Offset);

                m_InputElements.Add(inputElement);
            }

            // create platform-dependent input-layout
            CreateInputLayout();
        }