3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/bgfx/RenderBind.h"
7#include "mc/external/bgfx/RenderCompute.h"
8#include "mc/external/bgfx/RenderDraw.h"
9#include "mc/external/bgfx/RenderNative.h"
10#include "mc/external/bgfx/SortKey.h"
11#include "mc/external/bgfx/access/Enum.h"
12#include "mc/external/bgfx/texture_format/Enum.h"
13#include "mc/external/bgfx/tinystl/unordered_set.h"
14#include "mc/external/bgfx/uniform_type/Enum.h"
18namespace bgfx {
struct Frame; }
36 using HandleSet = ::tinystl::unordered_set<ushort, ::bgfx::TinyStlAllocator>;
41 ::ll::TypedStorage<8, 8, ::bgfx::Frame*> m_frame;
42 ::ll::TypedStorage<4, 56, ::bgfx::SortKey> m_key;
43 ::ll::TypedStorage<8, 128, ::bgfx::RenderDraw> m_draw;
44 ::ll::TypedStorage<4, 64, ::bgfx::RenderCompute> m_compute;
45 ::ll::TypedStorage<8, 64, ::bgfx::RenderNative> m_native;
46 ::ll::TypedStorage<4, 1344, ::bgfx::RenderBind> m_bind;
47 ::ll::TypedStorage<8, 8, ::bgfx::RangedBindings*> m_rangedBindings;
48 ::ll::TypedStorage<1, 1, bool> m_isDirty;
49 ::ll::TypedStorage<4, 4, uint> m_numSubmitted;
50 ::ll::TypedStorage<4, 4, uint> m_numDropped;
51 ::ll::TypedStorage<4, 4, uint> m_uniformBegin;
52 ::ll::TypedStorage<4, 4, uint> m_uniformEnd;
53 ::ll::TypedStorage<4, 16, uint[4]> m_numVertices;
54 ::ll::TypedStorage<1, 1, uchar> m_uniformIdx;
55 ::ll::TypedStorage<1, 1, bool> m_discard;
56 ::ll::TypedStorage<8, 32, ::tinystl::unordered_set<ushort, ::bgfx::TinyStlAllocator>> m_uniformSet;
57 ::ll::TypedStorage<8, 32, ::tinystl::unordered_set<ushort, ::bgfx::TinyStlAllocator>> m_occlusionQuerySet;
58 ::ll::TypedStorage<8, 8, int64> m_cpuTimeBegin;
59 ::ll::TypedStorage<8, 8, int64> m_cpuTimeEnd;
82 uint64 _shaderBufferHandleStride,
83 ::bgfx::Access::Enum
const* _access,
85 uint
const* _bufferOffset,
86 uint64 _bufferOffsetStride,
88 uint _arrayIndexOffset
94 uint64 _textureHandleStride,
97 ::bgfx::Access::Enum
const* _access,
99 ::bgfx::TextureFormat::Enum
const* _format,
100 uint64 _formatStride,
108 uint64 _textureHandleStride,
Definition EncoderImpl.h:7
MCAPI void setBuffersAsRanged(uchar _stage, ::bgfx::ShaderBufferHandle const *_shaderBufferHandles, uint64 _shaderBufferHandleStride, ::bgfx::Access::Enum const *_access, uint64 _accessStride, uint const *_bufferOffset, uint64 _bufferOffsetStride, uint64 _count, uint _arrayIndexOffset)
MCAPI void setTexturesAsRanged(uchar _stage, ::bgfx::TextureHandle const *_textureHandles, uint64 _textureHandleStride, uint const *_flags, uint64 _flagStride, uint64 _count, uint _offset)
MCAPI void dispatch(ushort _id, ::bgfx::ProgramHandle _handle, uint _numX, uint _numY, uint _numZ)
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 submit(ushort _id, ::bgfx::ProgramHandle _program, ::bgfx::OcclusionQueryHandle _occlusionQuery, int _depth, bool _preserveState)
MCAPI void native(ushort _id, void(*_callback)(void *, ::bgfx::NativeCommandListScope *), void *_userData)
MCAPI void doAllRayTracing(ushort _id, ::bgfx::RayTracingConfiguration const &rtConfig, ::bgfx::RayTracingResources const &rtResources, uint _width, uint _height)
MCAPI void setUniform(::bgfx::UniformType::Enum _type, ::bgfx::UniformHandle _handle, void const *_value, ushort _num)
Definition NativeCommandListScope.h:7
Definition OcclusionQueryHandle.h:7
Definition ProgramHandle.h:7
Definition RangedBindings.h:7
Definition RayTracingConfiguration.h:7
Definition RayTracingResources.h:7
Definition ShaderBufferHandle.h:7
Definition TextureHandle.h:7
Definition TinyStlAllocator.h:7