Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
Encoder.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/bgfx/access/Enum.h"
7#include "mc/external/bgfx/texture_format/Enum.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace bgfx { struct TextureHandle; }
12// clang-format on
13
14namespace bgfx {
15
16struct Encoder {
17public:
18 // member functions
19 // NOLINTBEGIN
20 MCNAPI void blit(
21 ushort _id,
23 uchar _dstMip,
24 ushort _dstX,
25 ushort _dstY,
26 ushort _dstZ,
28 uchar _srcMip,
29 ushort _srcX,
30 ushort _srcY,
31 ushort _srcZ,
32 ushort _width,
33 ushort _height,
34 ushort _depth
35 );
36
37 MCNAPI void setImagesAsRanged(
38 uchar _stage,
39 ::bgfx::TextureHandle const* _textureHandles,
40 uint64 _textureHandleStride,
41 uchar const* _mips,
42 uint64 _mipsStride,
43 ::bgfx::Access::Enum const* _access,
44 uint64 _accessStride,
45 ::bgfx::TextureFormat::Enum const* _format,
46 uint64 _formatStride,
47 uint64 _count,
48 uint _offset
49 );
50 // NOLINTEND
51};
52
53} // namespace bgfx
Definition Encoder.h:7
MCAPI void setImagesAsRanged(uchar _stage, ::bgfx::TextureHandle const *_textureHandles, uint64 _textureHandleStride, uchar const *_mips, uint64 _mipsStride, ::bgfx::Access::Enum const *_access, uint64 _accessStride, ::bgfx::TextureFormat::Enum const *_format, uint64 _formatStride, uint64 _count, uint _offset)
MCAPI void blit(ushort _id, ::bgfx::TextureHandle _dst, uchar _dstMip, ushort _dstX, ushort _dstY, ushort _dstZ, ::bgfx::TextureHandle _src, uchar _srcMip, ushort _srcX, ushort _srcY, ushort _srcZ, ushort _width, ushort _height, ushort _depth)
Definition TextureHandle.h:7