Click or drag to resize

TextureBlitTo Method (Encoder, UInt16, Texture, Int32, Int32, Int32, Int32, Int32, Int32)

Blits the contents of the texture to another texture.

Namespace:  Internal.SharpBgfx
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public void BlitTo(
	Encoder encoder,
	ushort viewId,
	Texture dest,
	int destX,
	int destY,
	int sourceX = 0,
	int sourceY = 0,
	int width = 65535,
	int height = 65535
)

Parameters

encoder
Type: Internal.SharpBgfxEncoder
The encoder used for threaded command submission.
viewId
Type: SystemUInt16
The view in which the blit will be ordered.
dest
Type: Internal.SharpBgfxTexture
The destination texture.
destX
Type: SystemInt32
The destination X position.
destY
Type: SystemInt32
The destination Y position.
sourceX (Optional)
Type: SystemInt32
The source X position.
sourceY (Optional)
Type: SystemInt32
The source Y position.
width (Optional)
Type: SystemInt32
The width of the region to blit.
height (Optional)
Type: SystemInt32
The height of the region to blit.
Remarks
The destination texture must be created with the BlitDestination flag.
See Also