Click or drag to resize
Ab4d.SharpEngine logo

MemoryUtilsAlignPtrTo32 Method

Aligns the specified pointer to 32 bytes (if not already aligned then the ptr address is increased to the next aligned address). The method returns the addressOffset (if more than 0 then the ptr address is increased that offset).

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public static byte* AlignPtrTo32(
	byte* ptr,
	out int addressOffset
)

Parameters

ptr  Byte*
pointer
addressOffset  Int32
out parameter that is added to the addressOffset (if more than 0 then the ptr address was increased by that offset)

Return Value

Byte*

[Missing <returns> documentation for "M:Ab4d.SharpEngine.Utilities.MemoryUtils.AlignPtrTo32(System.Byte*,System.Int32@)"]

See Also