Watch
2
0
Fork
You've already forked raylib-cs
0
raylib-cs/Raylib-cs/types/RenderTexture2D.cs

25 lines
525 B
C#

using System.Runtime.InteropServices;
namespace Raylib_cs;
/// <summary>
/// RenderTexture2D type, for texture rendering
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct RenderTexture2D
{
/// <summary>
/// OpenGL Framebuffer Object (FBO) id
/// </summary>
public uint Id;
/// <summary>
/// Color buffer attachment texture
/// </summary>
public Texture2D Texture;
/// <summary>
/// Depth buffer attachment texture
/// </summary>
public Texture2D Depth;
}