![]() |
Paradox Game Engine
v1.0.0 beta06
|
#include <BCDirectCompute.h>
Public Member Functions | |
GPUCompressBC () | |
HRESULT | Initialize (_In_ ID3D11Device *pDevice) |
HRESULT | Prepare (_In_ size_t width, _In_ size_t height, _In_ DXGI_FORMAT format, _In_ float alphaWeight=1.f) |
HRESULT | Compress (_In_ const Image &srcImage, _In_ const Image &destImage) |
DXGI_FORMAT | GetSourceFormat () const |
Definition at line 21 of file BCDirectCompute.h.
DirectX::GPUCompressBC::GPUCompressBC | ( | ) |
Definition at line 88 of file BCDirectCompute.cpp.
_Use_decl_annotations_ HRESULT DirectX::GPUCompressBC::Compress | ( | _In_ const Image & | srcImage, |
_In_ const Image & | destImage | ||
) |
Definition at line 343 of file BCDirectCompute.cpp.
References DirectX::Image::format, DirectX::Image::height, DirectX::Image::pixels, DirectX::Image::rowPitch, DirectX::Image::slicePitch, and DirectX::Image::width.
DXGI_FORMAT DirectX::GPUCompressBC::GetSourceFormat | ( | ) | const |
Definition at line 32 of file BCDirectCompute.h.
_Use_decl_annotations_ HRESULT DirectX::GPUCompressBC::Initialize | ( | _In_ ID3D11Device * | pDevice | ) |
Definition at line 100 of file BCDirectCompute.cpp.
References DirectX::assert().
_Use_decl_annotations_ HRESULT DirectX::GPUCompressBC::Prepare | ( | _In_ size_t | width, |
_In_ size_t | height, | ||
_In_ DXGI_FORMAT | format, | ||
_In_ float | alphaWeight = 1.f |
||
) |
Definition at line 181 of file BCDirectCompute.cpp.
References DirectX::format.