Click or drag to resize

TextureBlitTo Method (Encoder, UInt16, Texture, Int32, Int32, Int32, Int32, Int32, 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 destMip,
	int destX,
	int destY,
	int destZ,
	int sourceMip = 0,
	int sourceX = 0,
	int sourceY = 0,
	int sourceZ = 0,
	int width = 65535,
	int height = 65535,
	int depth = 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.
destMip
Type: SystemInt32
The destination mip level.
destX
Type: SystemInt32
The destination X position.
destY
Type: SystemInt32
The destination Y position.
destZ
Type: SystemInt32
The destination Z position.
sourceMip (Optional)
Type: SystemInt32
The source mip level.
sourceX (Optional)
Type: SystemInt32
The source X position.
sourceY (Optional)
Type: SystemInt32
The source Y position.
sourceZ (Optional)
Type: SystemInt32
The source Z position.
width (Optional)
Type: SystemInt32
The width of the region to blit.
height (Optional)
Type: SystemInt32
The height of the region to blit.
depth (Optional)
Type: SystemInt32
The depth of the region to blit.
Remarks
The destination texture must be created with the BlitDestination flag.
See Also