편집

다음을 통해 공유


SKSwizzle Class

Definition

Various utility methods for when swizzling pixels.

public static class SKSwizzle
Inheritance
SKSwizzle

Methods

SwapRedBlue(IntPtr, Int32)

Swizzles the byte order of 32-bit pixels, swapping R and B. (RGBA <-> BGRA)

SwapRedBlue(IntPtr, IntPtr, Int32)

Swizzles the byte order of 32-bit pixels, swapping R and B. (RGBA <-> BGRA)

SwapRedBlue(ReadOnlySpan<Byte>, Int32)

Swizzles the byte order of 32-bit pixels, swapping R and B. (RGBA <-> BGRA)

SwapRedBlue(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, Int32)

Swizzles the byte order of 32-bit pixels, swapping R and B. (RGBA <-> BGRA)

SwapRedBlue(Span<Byte>)

Swizzles the byte order of 32-bit pixels, swapping R and B. (RGBA <-> BGRA)

Applies to