Class Bc5Sharp
Assembly: JeremyAnsel.BcnSharp.dll
Syntax
public static class Bc5Sharp
Methods
|
Edit this page
View Source
CreateDecodedArray(int, int)
Declaration
public static byte[] CreateDecodedArray(int width, int height)
Parameters
Type |
Name |
Description |
int |
width |
|
int |
height |
|
Returns
|
Edit this page
View Source
CreateEncodedArray(int, int)
Declaration
public static byte[] CreateEncodedArray(int width, int height)
Parameters
Type |
Name |
Description |
int |
width |
|
int |
height |
|
Returns
|
Edit this page
View Source
Decode(byte[], byte[], int, int)
Declaration
public static void Decode(byte[] pBlock, byte[] pPixelsRGBA, int width, int height)
Parameters
Type |
Name |
Description |
byte[] |
pBlock |
|
byte[] |
pPixelsRGBA |
|
int |
width |
|
int |
height |
|
|
Edit this page
View Source
Decode(byte[], int, int)
Declaration
public static byte[] Decode(byte[] pBlock, int width, int height)
Parameters
Type |
Name |
Description |
byte[] |
pBlock |
|
int |
width |
|
int |
height |
|
Returns
|
Edit this page
View Source
Decode(nint, nint, int, int)
Declaration
public static void Decode(nint pBlock, nint pPixelsRGBA, int width, int height)
Parameters
Type |
Name |
Description |
nint |
pBlock |
|
nint |
pPixelsRGBA |
|
int |
width |
|
int |
height |
|
|
Edit this page
View Source
Encode(byte[], byte[], int, int)
Declaration
public static void Encode(byte[] pBlock, byte[] pPixelsRGBA, int width, int height)
Parameters
Type |
Name |
Description |
byte[] |
pBlock |
|
byte[] |
pPixelsRGBA |
|
int |
width |
|
int |
height |
|
|
Edit this page
View Source
Encode(byte[], int, int)
Declaration
public static byte[] Encode(byte[] pPixelsRGBA, int width, int height)
Parameters
Type |
Name |
Description |
byte[] |
pPixelsRGBA |
|
int |
width |
|
int |
height |
|
Returns
|
Edit this page
View Source
Encode(nint, nint, int, int)
Declaration
public static void Encode(nint pBlock, nint pPixelsRGBA, int width, int height)
Parameters
Type |
Name |
Description |
nint |
pBlock |
|
nint |
pPixelsRGBA |
|
int |
width |
|
int |
height |
|
|
Edit this page
View Source
GetDecodedArrayLength(int, int)
Declaration
public static int GetDecodedArrayLength(int width, int height)
Parameters
Type |
Name |
Description |
int |
width |
|
int |
height |
|
Returns
|
Edit this page
View Source
GetEncodedArrayLength(int, int)
Declaration
public static int GetEncodedArrayLength(int width, int height)
Parameters
Type |
Name |
Description |
int |
width |
|
int |
height |
|
Returns