Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Buffer"/> class.
 /// </summary>
 /// <param name="parentContext">The <see cref="RenderContext"/> the Buffer will be using.</param>
 protected Buffer(RenderContext parentContext)
     : base(parentContext)
 {
     Handle = GLHelper.CreateBuffer();
 }