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: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
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@)"]

Remarks

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

See Also