Click or drag to resize

FrameBuffer Constructor (Int32, Int32, TextureFormat, TextureFlags)

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(
	int width,
	int height,
	TextureFormat format,
	TextureFlags flags = TextureFlags.ClampU|TextureFlags.ClampV
)

Parameters

width
Type: SystemInt32
The width of the render target.
height
Type: SystemInt32
The height of the render target.
format
Type: Internal.SharpBgfxTextureFormat
The format of the new surface.
flags (Optional)
Type: Internal.SharpBgfxTextureFlags
Texture sampling flags.
See Also