Class Framebuffer
Represents a framebuffer object in graphics rendering.
Inherited Members
Namespace: Genesis.Graphics
Assembly: Genesis.dll
Syntax
public class Framebuffer
Constructors
Framebuffer()
Declaration
public Framebuffer()
Properties
FramebufferID
Gets or sets the ID of the framebuffer.
Declaration
public int FramebufferID { get; set; }
Property Value
Type | Description |
---|---|
int |
RenderBuffer
Gets or sets the ID of the render buffer associated with the framebuffer.
Declaration
public int RenderBuffer { get; set; }
Property Value
Type | Description |
---|---|
int |
Texture
Gets or sets the ID of the texture associated with the framebuffer.
Declaration
public int Texture { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
ToTexture()
Converts the framebuffer to a texture.
Declaration
public Texture ToTexture()
Returns
Type | Description |
---|---|
Texture | The converted texture. |