Click or drag to resize

FrameBuffer(IntPtr, Int32, Int32, TextureFormat, TextureFormat) Constructor

Initializes a new instance of the FrameBuffer struct.

Namespace: Internal.SharpBgfx
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public FrameBuffer(
	IntPtr windowHandle,
	int width,
	int height,
	TextureFormat format = TextureFormat.Count,
	TextureFormat depthFormat = TextureFormat.Count
)

Parameters

windowHandle  IntPtr
The OS window handle to which the frame buffer is attached.
width  Int32
The width of the render target.
height  Int32
The height of the render target.
format  TextureFormat  (Optional)
Window back buffer color format.
depthFormat  TextureFormat  (Optional)
A desired format for a depth buffer, if applicable.
See Also