Click or drag to resize

FrameBuffer Constructor (BackbufferRatio, 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(
	BackbufferRatio ratio,
	TextureFormat format,
	TextureFlags flags = TextureFlags.ClampU|TextureFlags.ClampV
)

Parameters

ratio
Type: Internal.SharpBgfxBackbufferRatio
The amount to scale when the backbuffer resizes.
format
Type: Internal.SharpBgfxTextureFormat
The format of the new surface.
flags (Optional)
Type: Internal.SharpBgfxTextureFlags
Texture sampling flags.
See Also