mirror of
https://github.com/microsoft/DirectXTex
synced 2024-11-08 14:00:05 +00:00
Updated Compress (markdown)
parent
0231d09d66
commit
cd31eb89a8
@ -54,7 +54,9 @@ _alphaWeight_: Used to weight the error metric's alpha computation for the BC7 G
|
||||
...
|
||||
|
||||
ScratchImage bcImage;
|
||||
hr = Compress( srcImage.GetImages(), srcImage.GetImageCount(), srcImage.GetMetadata(), DXGI_FORMAT_BC3_UNORM, TEX_COMPRESS_DEFAULT, 0.5f, bcImage );
|
||||
hr = Compress( srcImage.GetImages(), srcImage.GetImageCount(),
|
||||
srcImage.GetMetadata(), DXGI_FORMAT_BC3_UNORM,
|
||||
TEX_COMPRESS_DEFAULT, 0.5f, bcImage );
|
||||
if ( FAILED(hr) )
|
||||
...
|
||||
|
||||
@ -83,6 +85,6 @@ The DirectCompute GPU-based compressor makes use of the device's immediate conte
|
||||
[Compressed Texture Resources (Direct3D 9)](http://msdn.microsoft.com/en-us/library/bb204843.aspx)
|
||||
[Block Compression (Direct3D 10)](http://msdn.microsoft.com/en-us/library/bb694531.aspx])
|
||||
[Texture Block Compression in Direct3D 11](http://msdn.microsoft.com/en-us/library/windows/desktop/hh308955.aspx)
|
||||
[S3 Texture Compress](url:http://en.wikipedia.org/wiki/S3_Texture_Compression)
|
||||
[3Dc](url:http://en.wikipedia.org/wiki/3Dc)
|
||||
[S3 Texture Compress](http://en.wikipedia.org/wiki/S3_Texture_Compression)
|
||||
[3Dc](http://en.wikipedia.org/wiki/3Dc)
|
||||
[OpenGL ARB BPTC](http://developer.download.nvidia.com/opengl/specs/GL_ARB_texture_compression_bptc.txt)
|
||||
|
Loading…
Reference in New Issue
Block a user