/// <summary>
        ///
        /// </summary>
        /// <param name="buildIn"></param>
        /// <returns></returns>
        public static SceneObject GetBuildInSceneObject(BuildInSceneObject buildIn)
        {
            var shaderCodes = new ShaderCode[2];
            shaderCodes[0] = new ShaderCode(File.ReadAllText(@"shaders\BuildInSceneObject.vert"), ShaderType.VertexShader);
            shaderCodes[1] = new ShaderCode(File.ReadAllText(@"shaders\BuildInSceneObject.frag"), ShaderType.FragmentShader);
            IBufferable model = GetModel(buildIn);
            AttributeMap map = GetMap(buildIn);
            vec3 lengths = GetLengths(buildIn);
            var renderer = new BuildInRenderer(lengths, model, shaderCodes, map);
            //renderer.Initialize();

            SceneObject obj = renderer.WrapToSceneObject();

            return obj;
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="buildIn"></param>
        /// <returns></returns>
        public static SceneObject GetBuildInSceneObject(BuildInSceneObject buildIn)
        {
            var shaderCodes = new ShaderCode[2];

            shaderCodes[0] = new ShaderCode(File.ReadAllText(@"shaders\BuildInSceneObject.vert"), ShaderType.VertexShader);
            shaderCodes[1] = new ShaderCode(File.ReadAllText(@"shaders\BuildInSceneObject.frag"), ShaderType.FragmentShader);
            IBufferable     bufferable = GetModel(buildIn);
            PropertyNameMap map        = GetMap(buildIn);
            var             renderer   = new BuildInRenderer(bufferable, shaderCodes, map);

            renderer.Initialize();

            SceneObject obj = renderer.WrapToSceneObject();

            return(obj);
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="buildIn"></param>
        /// <returns></returns>
        public static SceneObject GetBuildInSceneObject(BuildInSceneObject buildIn)
        {
            var shaderCodes = new ShaderCode[2];

            shaderCodes[0] = new ShaderCode(File.ReadAllText(@"shaders\BuildInSceneObject.vert"), ShaderType.VertexShader);
            shaderCodes[1] = new ShaderCode(File.ReadAllText(@"shaders\BuildInSceneObject.frag"), ShaderType.FragmentShader);
            IBufferable  model    = GetModel(buildIn);
            AttributeMap map      = GetMap(buildIn);
            vec3         lengths  = GetLengths(buildIn);
            var          renderer = new BuildInRenderer(lengths, model, shaderCodes, map);
            //renderer.Initialize();

            SceneObject obj = renderer.WrapToSceneObject();

            return(obj);
        }