LeviLamina
Loading...
Searching...
No Matches
RenderUtils.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/gameface/renoir/ColorWriteMask.h"
7#include "mc/external/gameface/renoir/PixelFormat.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace OreUI::RenderUtils { struct TextureData; }
12namespace cg { class ImageBuffer; }
13namespace mce { class TextureContainer; }
14namespace mce { struct BlendStateDescription; }
15namespace mce { struct ClientTexture; }
16namespace mce { struct DepthStencilStateDescription; }
17namespace mce { struct TextureDescription; }
18namespace mce { struct TextureResourceService; }
19namespace renoir { struct BlendingState; }
20namespace renoir { struct DepthStencilState; }
21// clang-format on
22
23namespace OreUI::RenderUtils {
24// functions
25// NOLINTBEGIN
26MCAPI ::std::vector<uchar> convertSingleChannelTextureDataToRGBA(::gsl::span<uchar const> textureData);
27
28MCAPI ::OreUI::RenderUtils::TextureData convertTextureData(::renoir::PixelFormat format, ::gsl::span<uchar const> data);
29
30MCAPI ::mce::BlendStateDescription
31convertToBlendStateDescription(::renoir::BlendingState const& blendingState, ::renoir::ColorWriteMask colorWriteMask);
32
33MCAPI ::mce::DepthStencilStateDescription
34convertToDepthStencilStateDescription(::renoir::DepthStencilState const& depthStencilState);
35
36MCAPI ::std::vector<::cg::ImageBuffer> createZeroedImageBuffers(::mce::TextureDescription const& textureDescription);
37
38MCAPI ::mce::TextureContainer createZeroedTextureContainer(::mce::TextureDescription const& textureDescription);
39
40MCAPI void* prepareRenderDragonTexture(
41 ::mce::TextureResourceService& textureResourceService,
42 ::mce::ClientTexture& targetTexture,
43 ::mce::TextureContainer&& textureContainer
44);
45// NOLINTEND
46
47} // namespace OreUI::RenderUtils
Definition ImageBuffer.h:16
Definition TextureContainer.h:7
Definition TextureData.h:7
Definition BlendStateDescription.h:7
Definition ClientTexture.h:7
Definition DepthStencilStateDescription.h:7
Definition TextureDescription.h:7
Definition TextureResourceService.h:7
Definition BlendingState.h:7
Definition DepthStencilState.h:7