Example #1
0
 /// <summary>
 /// Attach a rectangle texture image to color buffer.
 /// </summary>
 /// <param name="attachmentIndex">
 /// A <see cref="UInt32"/> that specify the framebuffer color attachment index.
 /// </param>
 /// <param name="texture">
 /// A <see cref="Texture"/> which will be used for read/write operation on this RenderFrambuffer.
 /// </param>
 public void AttachColor(uint attachmentIndex, TextureRectangle texture)
 {
     AttachColor(attachmentIndex, new TextureAttachment(texture));
 }
Example #2
0
 public void AttachDepth(TextureRectangle texture)
 {
     AttachDepth(new TextureRectangleAttachment(texture));
 }
Example #3
0
		public void AttachDepth(TextureRectangle texture)
		{
			AttachDepth(new RenderTextureRectangleAttachment(texture));
		}
Example #4
0
 /// <summary>
 /// Construct a TextureRectangleAttachment specifing the texture.
 /// </summary>
 /// <param name="texture">
 /// The <see cref="TextureRectangle"/> to be attached to a Framebuffer.
 /// </param>
 /// <exception cref="ArgumentNullException">
 /// Exception thrown if <paramref name="texture"/> is null.
 /// </exception>
 public TextureRectangleAttachment(TextureRectangle texture)
     : base(texture, 0)
 {
 }
Example #5
0
		/// <summary>
		/// Attach a rectangle 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="attachmentIndex">
		/// A <see cref="UInt32"/> that specify the framebuffer color attachment index.
		/// </param>
		public void AttachColor(TextureRectangle texture, uint attachmentIndex)
		{
			AttachColor(new RenderTextureAttachment(texture), attachmentIndex);
		}
Example #6
0
		/// <summary>
		/// Attach a rectangle 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>
		public void AttachColor(TextureRectangle texture)
		{
			AttachColor(texture, 0);
		}
Example #7
0
			public RenderTextureRectangleAttachment(TextureRectangle texture)
				: base(texture, 0)
			{

			}
Example #8
0
 /// <summary>
 /// Attach a rectangle 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="attachmentIndex">
 /// A <see cref="UInt32"/> that specify the framebuffer color attachment index.
 /// </param>
 public void AttachColor(TextureRectangle texture, uint attachmentIndex)
 {
     AttachColor(new RenderTextureAttachment(texture), attachmentIndex);
 }
Example #9
0
 /// <summary>
 /// Attach a rectangle 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>
 public void AttachColor(TextureRectangle texture)
 {
     AttachColor(texture, 0);
 }