Watch
2
0
Fork
You've already forked raylib-cs
0
raylib-cs/Raylib-cs/types/RenderTexture2D.cs
2023-07-15 13:01:55 +02:00

26 lines
611 B
C#

using System.Runtime.InteropServices;
namespace Raylib_cs
{
/// <summary>
/// RenderTexture2D type, for texture rendering
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public partial 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;
}
}