diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-04-20 02:27:05 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-04-20 02:27:05 +0000 |
| commit | edea627f08044a35e6226523354eda5831e3ec69 (patch) | |
| tree | 7f8628e030631c6eec7aacd859420f34f039e5b4 /Graphics/GraphicsTools | |
| parent | Updated texture uploader to support multi-mip resources (diff) | |
| download | DiligentCore-edea627f08044a35e6226523354eda5831e3ec69.tar.gz DiligentCore-edea627f08044a35e6226523354eda5831e3ec69.zip | |
Cosmetic updates in GraphicsUtilities.h
Diffstat (limited to 'Graphics/GraphicsTools')
| -rw-r--r-- | Graphics/GraphicsTools/include/GraphicsUtilities.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/Graphics/GraphicsTools/include/GraphicsUtilities.h b/Graphics/GraphicsTools/include/GraphicsUtilities.h index 1d7fe5e9..544a4c45 100644 --- a/Graphics/GraphicsTools/include/GraphicsUtilities.h +++ b/Graphics/GraphicsTools/include/GraphicsUtilities.h @@ -32,6 +32,19 @@ namespace Diligent { -void CreateUniformBuffer( IRenderDevice *pDevice, Uint32 Size, const Char *Name, IBuffer **ppBuffer, USAGE Usage = USAGE_DYNAMIC, BIND_FLAGS BindFlag = BIND_UNIFORM_BUFFER, CPU_ACCESS_FLAGS CPUAccessFlags = CPU_ACCESS_WRITE ); -void GenerateCheckerBoardPattern(Uint32 Width, Uint32 Height, TEXTURE_FORMAT Fmt, Uint32 HorzCells, Uint32 VertCells, Uint8 *pData, Uint32 StrideInBytes ); +void CreateUniformBuffer(IRenderDevice* pDevice, + Uint32 Size, + const Char* Name, + IBuffer** ppBuffer, + USAGE Usage = USAGE_DYNAMIC, + BIND_FLAGS BindFlag = BIND_UNIFORM_BUFFER, + CPU_ACCESS_FLAGS CPUAccessFlags = CPU_ACCESS_WRITE); + +void GenerateCheckerBoardPattern(Uint32 Width, + Uint32 Height, + TEXTURE_FORMAT Fmt, + Uint32 HorzCells, + Uint32 VertCells, + Uint8* pData, + Uint32 StrideInBytes); } |
