Provides access to compress and uncompress texture data.
Members
Name | Description | |
---|---|---|
BufferSize | Estimated buffer size of compress/uncompress texture data. | |
Compress | Compress the current the input buffer. Uses best compression. | |
CompressByLevel | Compress the current the input buffer by level. If level less than 0, use default, if greater than best use best. | |
UnCompress | UnCompress the current the input buffer. |
IZlibCompression.BufferSize Property
Estimated buffer size of compress/uncompress texture data.
Public Function get_BufferSize ( _
    ByVal Size As Integer _
) As Integer
public int get_BufferSize (
    int Size
);
IZlibCompression.Compress Method
Compress the current the input buffer. Uses best compression.
Public Sub Compress ( _
    ByVal inSize As Integer, _
    ByRef pInBuff As Byte&, _
    ByRef pOutSize As Integer, _
    ByRef pOutBuff As Byte& _
)
public void Compress (
    int inSize,
    ref Byte& pInBuff,
    ref int pOutSize,
    ref Byte& pOutBuff
);
IZlibCompression.CompressByLevel Method
Compress the current the input buffer by level. If level less than 0, use default, if greater than best use best.
Public Sub CompressByLevel ( _
    ByVal inSize As Integer, _
    ByRef pInBuff As Byte&, _
    ByVal level As Integer, _
    ByRef pOutSize As Integer, _
    ByRef pOutBuff As Byte& _
)
public void CompressByLevel (
    int inSize,
    ref Byte& pInBuff,
    ref int level,
    ref int pOutSize,
    ref Byte& pOutBuff
);
IZlibCompression.UnCompress Method
UnCompress the current the input buffer.
Public Sub UnCompress ( _
    ByVal inSize As Integer, _
    ByRef pInBuff As Byte&, _
    ByRef pOutSize As Integer, _
    ByRef pOutBuff As Byte& _
)
public void UnCompress (
    int inSize,
    ref Byte& pInBuff,
    ref int pOutSize,
    ref Byte& pOutBuff
);
Classes that implement IZlibCompression
Classes | Description |
---|