<commit_before>﻿namespace CSharpGL
{
    /// <summary>
    /// Data for CPU(model) -&gt; Data for GPU(opengl buffer)
    /// <para>从模型的数据格式转换为<see cref="GLBuffer"/></para>，
    /// <see cref="GLBuffer"/>则可用于控制GPU的渲染操作。
    /// </summary>
    public interface IBufferSource
    {
        /// <summary>
        /// 获取顶点某种属性的<see cref="VertexBuffer"/>。
        /// </summary>
        /// <param name="bufferName">CPU代码指定的buffer名字，用以区分各个用途的buffer。</param>
        /// <returns></returns>
        VertexBuffer GetVertexAttributeBuffer(string bufferName);

        /// <summary>
        /// </summary>
        /// <returns></returns>
        IDrawCommand GetDrawCommand();

    }
}<commit_msg>IBufferSource<commit_after>﻿using System.Collections.Generic;
namespace CSharpGL
{
    /// <summary>
    /// Data for CPU(model) -&gt; Data for GPU(opengl buffer)
    /// <para>从模型的数据格式转换为<see cref="GLBuffer"/></para>，
    /// <see cref="GLBuffer"/>则可用于控制GPU的渲染操作。
    /// </summary>
    public interface IBufferSource
    {
        /// <summary>
        /// 获取顶点某种属性的<see cref="VertexBuffer"/>。
        /// </summary>
        /// <param name="bufferName">CPU代码指定的buffer名字，用以区分各个用途的buffer。</param>
        /// <returns></returns>
        IEnumerable<VertexBuffer> GetVertexAttributeBuffer(string bufferName);

        /// <summary>
        /// </summary>
        /// <returns></returns>
        IEnumerable<IDrawCommand> GetDrawCommand();

    }
}
{'fraction_non_alphanumeric': 0.17364016736401675, 'fraction_numerical': 0.0, 'mean_word_length': 2.3140877598152425, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '368528', 'n_tokens_mistral': 486, 'n_tokens_neox': 509, 'n_words': 70}