/// <param name="setDefaultRenderInfo">PatchMeshRenderer.RenderInfoをSharpDXHelperがデフォルトで使用するrendering infoとして設定するか</param> public PatchMeshRenderer(IntPtr handle, Size size, bool setDefaultRenderInfo) { RenderInfo = SharpDXHelper.Initialize(handle, size, rawVertices, rawIndices, new Matrix(), "whitePixel.png"); whitePixel = SharpDXHelper.LoadTexture(RenderInfo, "whitePixel.png"); if (setDefaultRenderInfo) { SharpDXHelper.SetDefaultRenderInfo(RenderInfo); } }