Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
DirectX::GPUCompressBC Class Reference

#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
 

Detailed Description

Definition at line 21 of file BCDirectCompute.h.

Constructor & Destructor Documentation

DirectX::GPUCompressBC::GPUCompressBC ( )

Definition at line 88 of file BCDirectCompute.cpp.

Member Function Documentation

_Use_decl_annotations_ HRESULT DirectX::GPUCompressBC::Compress ( _In_ const Image srcImage,
_In_ const Image destImage 
)
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.


The documentation for this class was generated from the following files: