Пример #1
0
 public void AttachDepth(Texture2D texture)
 {
     AttachDepth(texture, 0);
 }
Пример #2
0
 public void AttachDepth(Texture2D texture, uint level)
 {
     AttachDepth(new TextureAttachment(texture, level));
 }
Пример #3
0
 /// <summary>
 /// Attach a 2D texture image to color buffer.
 /// </summary>
 /// <param name="texture">
 /// A <see cref="Texture"/> which will be used for read/write operation on this RenderFrambuffer.
 /// </param>
 /// <param name="level">
 /// A <see cref="UInt32"/> that specify the texture level to bind.
 /// </param>
 /// <param name="attachment">
 /// A <see cref="UInt32"/> that specify the framebuffer color attachment index.
 /// </param>
 public void AttachColor(uint attachmentIndex, Texture2D texture, uint level)
 {
     AttachColor(attachmentIndex, new TextureAttachment(texture, level));
 }