Click or drag to resize

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

Initializes a new instance of the FrameBuffer struct.

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

Parameters

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