[]
Requests pixel data as it is natively stored within the DDS file.
public void CopyBlocks(RectL? boundsInBlocks, int stride, DataStream destination)
| Type | Name | Description |
|---|---|---|
| RectL? | boundsInBlocks | The rectangle to copy from the source. A |
| int | stride | The stride, in bytes, of the destination buffer. This represents the number of bytes from the buffer reference to the next row of data. If the texture uses a block-compressed Format, a "row of data" is defined as a row of blocks which contains multiple pixel scanlines. |
| DataStream | destination | A reference to the destination buffer. |
HRESULT IWICDdsFrameDecode::CopyBlocks([In, Optional] const WICRect* prcBoundsInBlocks,[In] unsigned int cbStride,[In] unsigned int cbBufferSize,[In] void* pbBuffer)
public void CopyBlocks(RectL? rcBoundsInBlocksRef, int stride, int bufferSize, IntPtr bufferRef)
| Type | Name | Description |
|---|---|---|
| RectL? | rcBoundsInBlocksRef | |
| int | stride | |
| int | bufferSize | |
| IntPtr | bufferRef |