Split Enums, Structs & Classes into own files
This commit is contained in:
parent
882b42f47d
commit
7f531ff27a
50 changed files with 1956 additions and 1783 deletions
26
Raylib-cs/RenderTexture2D.cs
Normal file
26
Raylib-cs/RenderTexture2D.cs
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
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;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue