Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
bgfx::Context Struct Reference

Classes

struct  DynamicVertexAllocation
struct  ShaderRef
struct  ProgramRef
struct  UniformRef
struct  TextureRef
struct  ShaderBufferRef
struct  FrameBufferRef

Public Types

using UniformHashMap = ::bx::HandleHashMapT<1024, uint>
using ShaderHashMap = ::bx::HandleHashMapT<8192, uint>
using ProgramHashMap = ::bx::HandleHashMapT<4096, uint>
using TextureUpdateBatch = ::bgfx::UpdateBatchT<256>

Public Member Functions

MCAPI Context ()
MCAPI void _initBegin ()
MCAPI bool _initFinalize ()
MCAPI void _initPending (bool async)
MCAPI void _shutdownBegin ()
MCAPI void _shutdownFinalize ()
MCAPI uint64 allocDynamicIndexBuffer (uint _size, ushort _flags)
MCAPI::bgfx::Context::DynamicVertexAllocation allocDynamicVertexBuffer (uint _size, ushort _flags, ushort _aligment)
MCAPI::bgfx::Encoder * begin ()
MCAPI::bgfx::InitResult continueInit (bool async)
MCAPI::bgfx::AccelerationStructureHandle createBottomLevelAccelerationStructure (::bgfx::AccelerationStructureHandle _handle, ::bgfx::DynamicVertexBufferHandle _vertexBufferHandle, ::bgfx::VertexDeclHandle _vertexDeclHandle, uint _vertexCount, uint _vertexOffset, ::bgfx::IndexBufferHandle _indexBufferHandle, uint _indexCount, uint _indexOffset, ::bgfx::AccelerationStructureBuildFlags::Enum _flags)
MCAPI::bgfx::AccelerationStructureHandle createBottomLevelAccelerationStructure (::bgfx::AccelerationStructureHandle _handle, ::bgfx::VertexBufferHandle _vertexBufferHandle, ::bgfx::VertexDeclHandle _vertexDeclHandle, uint _vertexCount, uint _vertexOffset, ::bgfx::IndexBufferHandle _indexBufferHandle, uint _indexCount, uint _indexOffset, ::bgfx::AccelerationStructureBuildFlags::Enum _flags)
MCAPI::bgfx::DynamicIndexBufferHandle createDynamicIndexBuffer (::bgfx::Memory const *_mem, ushort _flags)
MCAPI::bgfx::DynamicIndexBufferHandle createDynamicIndexBuffer (uint _num, ushort _flags)
MCAPI::bgfx::DynamicVertexBufferHandle createDynamicVertexBuffer (::bgfx::Memory const *_mem, ::bgfx::VertexDecl const &_decl, ushort _flags)
MCAPI::bgfx::DynamicVertexBufferHandle createDynamicVertexBuffer (uint _num, ::bgfx::VertexDecl const &_decl, ushort _flags)
MCAPI::bgfx::FrameBufferHandle createFrameBuffer (uchar _num, ::bgfx::Attachment const *_attachment, bool _destroyTextures)
MCAPI::bgfx::FrameBufferHandle createFrameBuffer (void *_nwh, ushort _width, ushort _height, ::bgfx::TextureFormat::Enum _depthFormat)
MCAPI::bgfx::IndexBufferHandle createIndexBuffer (::bgfx::Memory const *_mem, ushort _flags)
MCAPI::bgfx::ProgramHandle createProgram (::bgfx::ShaderHandle _vsh, bool _destroyShader)
MCAPI::bgfx::ProgramHandle createProgram (::bgfx::ShaderHandle _vsh, ::bgfx::ShaderHandle _fsh, bool _destroyShaders)
MCAPI::bgfx::ShaderHandle createShader (::bgfx::Memory const *_mem)
MCAPI::bgfx::ShaderBufferHandle createShaderBuffer (::bgfx::Memory const *_mem, uint _stride, ushort _flags)
MCAPI::bgfx::ShaderBufferHandle createShaderBuffer (uint _num, uint _stride, ushort _flags)
MCAPI::bgfx::TextureHandle createTexture (::bgfx::Memory const *_mem, uint _flags, uchar _skip, ::bgfx::TextureInfo *_info, ::bgfx::BackbufferRatio::Enum _ratio, bool _immutable)
MCAPI::bgfx::AccelerationStructureHandle createTopLevelAccelerationStructure (::bgfx::AccelerationStructureHandle _handle, uint numInstances, ::bgfx::TopLevelInstanceDesc *instanceDescs)
MCAPI::bgfx::TransientIndexBuffer * createTransientIndexBuffer (uint _size)
MCAPI::bgfx::TransientVertexBuffer * createTransientVertexBuffer (uint _size, ::bgfx::VertexDecl const *_decl)
MCAPI::bgfx::UniformHandle createUniform (char const *_name, ::bgfx::UniformType::Enum _type, ushort _num)
MCAPI::bgfx::VertexBufferHandle createVertexBuffer (::bgfx::Memory const *_mem, ::bgfx::VertexDecl const &_decl, ushort _flags)
MCAPI::bgfx::VertexDeclHandle createVertexDecl (::bgfx::VertexDecl const &_decl)
MCAPI void destroyAccelerationStructure (::bgfx::AccelerationStructureHandle _handle)
MCAPI void destroyFrameBuffer (::bgfx::FrameBufferHandle _handle)
MCAPI void destroyIndexBuffer (::bgfx::IndexBufferHandle _handle)
MCAPI void destroyProgram (::bgfx::ProgramHandle _handle)
MCAPI void destroyUniform (::bgfx::UniformHandle _handle)
MCAPI void destroyVertexBuffer (::bgfx::VertexBufferHandle _handle)
MCAPI::bgfx::VertexDeclHandle findVertexDecl (::bgfx::VertexDecl const &_decl)
MCAPI void flushTextureUpdateBatch (::bgfx::CommandBuffer &_cmdbuf)
MCAPI uint frame (uint _flags)
MCAPI::bgfx::Stats const getPerfStats ()
MCAPI ushort getPerfViewStats (ushort _numViewStats, ::bgfx::ViewStats *_viewStats)
MCAPI void getUniformInfo (::bgfx::UniformHandle _handle, ::bgfx::UniformInfo &_info)
MCAPI uint readTexture (::bgfx::TextureHandle _handle, void *_data, uchar _mip)
MCAPI::bgfx::RenderFrame::Enum renderFrame (int _msecs)
MCAPI void rendererExecCommands (::bgfx::CommandBuffer &_cmdbuf)
MCAPI void reset (uint _width, uint _height, uint _flags)
MCAPI void setName (::bgfx::ShaderHandle _handle, ::bx::StringView const &_name)
MCAPI void setName (::bgfx::ShaderBufferHandle _handle, ::bx::StringView const &_name)
MCAPI void setViewName (ushort _id, char const *_name)
MCAPI void shaderBufferDecRef (::bgfx::ShaderBufferHandle _handle)
MCAPI void shaderDecRef (::bgfx::ShaderHandle _handle)
MCAPI void swap ()
MCAPI void textureDecRef (::bgfx::TextureHandle _handle)
MCAPI void update (::bgfx::ShaderBufferHandle _handle, uint _offset, ::bgfx::Memory const *_mem)
MCAPI void update (::bgfx::DynamicIndexBufferHandle _handle, uint _startIndex, ::bgfx::Memory const *_mem)
MCAPI void update (::bgfx::DynamicVertexBufferHandle _handle, uint _startVertex, ::bgfx::Memory const *_mem)
MCAPI void updateOffset (::bgfx::DynamicIndexBufferHandle _handle, uint _offset, uint _declStride, ::bgfx::Memory const *_mem)
MCAPI void updateOffset (::bgfx::DynamicVertexBufferHandle _handle, uint _offset, uint _declStride, ::bgfx::Memory const *_mem)
MCAPI void updateTexture (::bgfx::TextureHandle _handle, uchar _side, uchar _mip, ushort _x, ushort _y, ushort _z, ushort _width, ushort _height, ushort _depth, ushort _pitch, ::bgfx::Memory const *_mem)
MCAPI::bgfx::TextureHandle wrapExternalTexture (::bgfx::RendererType::Enum _type, void *_texturePtr)
MCAPI ~Context ()
MCAPI void * $ctor ()
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI int renderThread (::bx::Thread *, void *)

Public Attributes

::ll::TypedStorage< 1, 128, ::bx::Semaphore > m_renderSem
::ll::TypedStorage< 1, 128, ::bx::Semaphore > m_apiSem
::ll::TypedStorage< 1, 128, ::bx::Semaphore > m_encoderEndSem
::ll::TypedStorage< 1, 64, ::bx::Mutex > m_encoderApiLock
::ll::TypedStorage< 1, 64, ::bx::Mutex > m_resourceApiLock
::ll::TypedStorage< 8, 464, ::bx::Thread > m_thread
::ll::TypedStorage< 1, 64, ::bx::Mutex > m_perfStatsApiLock
::ll::TypedStorage< 8, 216, ::bgfx::Stats > m_lastPerfStats
::ll::TypedStorage< 2, 2, ushort > m_lastNumViewStats
::ll::TypedStorage< 8, 79872, ::bgfx::ViewStats[256]> m_lastViewStats
::ll::TypedStorage< 2, 2, ushort > m_lastNumEncoderStats
::ll::TypedStorage< 8, 8, ::bgfx::EncoderStats * > m_lastEncoderStats
::ll::TypedStorage< 2, 2, ushort > m_numEncoderStats
::ll::TypedStorage< 8, 8, ::bgfx::EncoderStats * > m_encoderStats
::ll::TypedStorage< 8, 8, ::bgfx::Encoder * > m_encoder0
::ll::TypedStorage< 8, 8, ::bgfx::EncoderImpl * > m_encoder
::ll::TypedStorage< 8, 32, ::bx::HandleAlloc * > m_encoderHandle
::ll::TypedStorage< 8, 30315392, ::bgfx::Frame[2]> m_frame
::ll::TypedStorage< 8, 8, ::bgfx::Frame * > m_render
::ll::TypedStorage< 8, 8, ::bgfx::Frame * > m_submit
::ll::TypedStorage< 8, 524280, uint64[65535]> m_tempKeys
::ll::TypedStorage< 2, 131070, ushort[65535]> m_tempValues
::ll::TypedStorage< 4, 16384, ::bgfx::IndexBuffer[4096]> m_indexBuffers
::ll::TypedStorage< 4, 32768, ::bgfx::VertexBuffer[4096]> m_vertexBuffers
::ll::TypedStorage< 4, 81920, ::bgfx::DynamicIndexBuffer[4096]> m_dynamicIndexBuffers
::ll::TypedStorage< 4, 114688, ::bgfx::DynamicVertexBuffer[4096]> m_dynamicVertexBuffers
::ll::TypedStorage< 2, 2, ushort > m_numFreeDynamicIndexBufferHandles
::ll::TypedStorage< 2, 2, ushort > m_numFreeDynamicVertexBufferHandles
::ll::TypedStorage< 2, 2, ushort > m_numFreeOcclusionQueryHandles
::ll::TypedStorage< 2, 8192, ::bgfx::DynamicIndexBufferHandle[4096]> m_freeDynamicIndexBufferHandle
::ll::TypedStorage< 2, 8192, ::bgfx::DynamicVertexBufferHandle[4096]> m_freeDynamicVertexBufferHandle
::ll::TypedStorage< 2, 512, ::bgfx::OcclusionQueryHandle[256]> m_freeOcclusionQueryHandle
::ll::TypedStorage< 8, 56, ::bgfx::NonLocalAllocator > m_dynIndexBufferAllocator
::ll::TypedStorage< 2, 16388, ::bx::HandleAllocT< 4096 > > m_dynamicIndexBufferHandle
::ll::TypedStorage< 8, 56, ::bgfx::NonLocalAllocator > m_dynVertexBufferAllocator
::ll::TypedStorage< 2, 16388, ::bx::HandleAllocT< 4096 > > m_dynamicVertexBufferHandle
::ll::TypedStorage< 2, 16388, ::bx::HandleAllocT< 4096 > > m_indexBufferHandle
::ll::TypedStorage< 2, 260, ::bx::HandleAllocT< 64 > > m_vertexDeclHandle
::ll::TypedStorage< 2, 16388, ::bx::HandleAllocT< 4096 > > m_vertexBufferHandle
::ll::TypedStorage< 2, 16388, ::bx::HandleAllocT< 4096 > > m_shaderHandle
::ll::TypedStorage< 2, 8196, ::bx::HandleAllocT< 2048 > > m_programHandle
::ll::TypedStorage< 8, 16424, ::bgfx::GuardedHandleAllocPagedT< 4096, 4096, ushort, ::bgfx::AllocationContext > > m_textureHandle
::ll::TypedStorage< 2, 16388, ::bx::HandleAllocT< 4096 > > m_shaderBufferHandle
::ll::TypedStorage< 2, 516, ::bx::HandleAllocT< 128 > > m_frameBufferHandle
::ll::TypedStorage< 2, 2052, ::bx::HandleAllocT< 512 > > m_uniformHandle
::ll::TypedStorage< 2, 1028, ::bx::HandleAllocT< 256 > > m_occlusionQueryHandle
::ll::TypedStorage< 2, 131076, ::bx::HandleAllocT< 32768 > > m_accelerationStructureBufferHandle
::ll::TypedStorage< 4, 6152, ::bx::HandleHashMapT< 1024, uint > > m_uniformHashMap
::ll::TypedStorage< 8, 12288, ::bgfx::Context::UniformRef[512]> m_uniformRef
::ll::TypedStorage< 4, 49160, ::bx::HandleHashMapT< 8192, uint > > m_shaderHashMap
::ll::TypedStorage< 8, 131072, ::bgfx::Context::ShaderRef[4096]> m_shaderRef
::ll::TypedStorage< 4, 24584, ::bx::HandleHashMapT< 4096, uint > > m_programHashMap
::ll::TypedStorage< 2, 12288, ::bgfx::Context::ProgramRef[2048]> m_programRef
::ll::TypedStorage< 8, 163872, ::bgfx::GuardedPagedHeapBackedArray<::bgfx::Context::TextureRef, 4096 > > m_textureRef
::ll::TypedStorage< 8, 163840, ::bgfx::Context::ShaderBufferRef[4096]> m_shaderBufferRef
::ll::TypedStorage< 8, 3072, ::bgfx::Context::FrameBufferRef[128]> m_frameBufferRef
::ll::TypedStorage< 4, 17288, ::bgfx::VertexDeclRef > m_declRef
::ll::TypedStorage< 2, 512, ushort[256]> m_viewRemap
::ll::TypedStorage< 4, 1056, uint[256]> m_seq
::ll::TypedStorage< 4, 81920, ::bgfx::View[256]> m_view
::ll::TypedStorage< 4, 256, float[16][4]> m_clearColor
::ll::TypedStorage< 1, 1, uchar > m_colorPaletteDirty
::ll::TypedStorage< 8, 64, ::bgfx::Init > m_init
::ll::TypedStorage< 8, 8, int64 > m_frameTimeLast
::ll::TypedStorage< 4, 4, uint > m_debug
::ll::TypedStorage< 8, 8, int64 > m_rtMemoryUsed
::ll::TypedStorage< 8, 8, int64 > m_textureMemoryUsed
::ll::TypedStorage< 8, 8, int64 > m_shaderBufferMemoryUsed
::ll::TypedStorage< 8, 112, ::bgfx::TextVideoMemBlitter > m_textVideoMemBlitter
::ll::TypedStorage< 8, 112, ::bgfx::ClearQuad > m_clearQuad
::ll::TypedStorage< 8, 8, ::bgfx::RendererContextI * > m_renderCtx
::ll::TypedStorage< 8, 8, ::bgfx::RendererContextI * > m_renderMain
::ll::TypedStorage< 8, 8, ::bgfx::RendererContextI * > m_renderNoop
::ll::TypedStorage< 4, 4, ::bgfx::InitState > m_initState
::ll::TypedStorage< 1, 1, bool > m_rendererInitialized
::ll::TypedStorage< 1, 1, bool > m_skipFlip
::ll::TypedStorage< 1, 1, bool > m_suspended
::ll::TypedStorage< 1, 1, bool > m_exit
::ll::TypedStorage< 1, 1, bool > m_flipAfterRender
::ll::TypedStorage< 1, 1, bool > m_singleThreaded
::ll::TypedStorage< 1, 1, bool > m_initSyncOptional
::ll::TypedStorage< 1, 13, bool > m_texturesGuarded
::ll::TypedStorage< 4, 2112, ::bgfx::UpdateBatchT< 256 > > m_textureUpdateBatch

Constructor & Destructor Documentation

◆ Context()

MCAPI bgfx::Context::Context ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ ~Context()

MCAPI bgfx::Context::~Context ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ _initBegin()

MCAPI void bgfx::Context::_initBegin ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _initFinalize()

MCAPI bool bgfx::Context::_initFinalize ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _initPending()

MCAPI void bgfx::Context::_initPending ( bool async)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _shutdownBegin()

MCAPI void bgfx::Context::_shutdownBegin ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _shutdownFinalize()

MCAPI void bgfx::Context::_shutdownFinalize ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ allocDynamicIndexBuffer()

MCAPI uint64 bgfx::Context::allocDynamicIndexBuffer ( uint _size,
ushort _flags )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ allocDynamicVertexBuffer()

MCAPI::bgfx::Context::DynamicVertexAllocation bgfx::Context::allocDynamicVertexBuffer ( uint _size,
ushort _flags,
ushort _aligment )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ begin()

MCAPI::bgfx::Encoder * bgfx::Context::begin ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ continueInit()

MCAPI::bgfx::InitResult bgfx::Context::continueInit ( bool async)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createBottomLevelAccelerationStructure() [1/2]

MCAPI::bgfx::AccelerationStructureHandle bgfx::Context::createBottomLevelAccelerationStructure ( ::bgfx::AccelerationStructureHandle _handle,
::bgfx::DynamicVertexBufferHandle _vertexBufferHandle,
::bgfx::VertexDeclHandle _vertexDeclHandle,
uint _vertexCount,
uint _vertexOffset,
::bgfx::IndexBufferHandle _indexBufferHandle,
uint _indexCount,
uint _indexOffset,
::bgfx::AccelerationStructureBuildFlags::Enum _flags )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createBottomLevelAccelerationStructure() [2/2]

MCAPI::bgfx::AccelerationStructureHandle bgfx::Context::createBottomLevelAccelerationStructure ( ::bgfx::AccelerationStructureHandle _handle,
::bgfx::VertexBufferHandle _vertexBufferHandle,
::bgfx::VertexDeclHandle _vertexDeclHandle,
uint _vertexCount,
uint _vertexOffset,
::bgfx::IndexBufferHandle _indexBufferHandle,
uint _indexCount,
uint _indexOffset,
::bgfx::AccelerationStructureBuildFlags::Enum _flags )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createDynamicIndexBuffer() [1/2]

MCAPI::bgfx::DynamicIndexBufferHandle bgfx::Context::createDynamicIndexBuffer ( ::bgfx::Memory const * _mem,
ushort _flags )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createDynamicIndexBuffer() [2/2]

MCAPI::bgfx::DynamicIndexBufferHandle bgfx::Context::createDynamicIndexBuffer ( uint _num,
ushort _flags )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createDynamicVertexBuffer() [1/2]

MCAPI::bgfx::DynamicVertexBufferHandle bgfx::Context::createDynamicVertexBuffer ( ::bgfx::Memory const * _mem,
::bgfx::VertexDecl const & _decl,
ushort _flags )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createDynamicVertexBuffer() [2/2]

MCAPI::bgfx::DynamicVertexBufferHandle bgfx::Context::createDynamicVertexBuffer ( uint _num,
::bgfx::VertexDecl const & _decl,
ushort _flags )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createFrameBuffer() [1/2]

MCAPI::bgfx::FrameBufferHandle bgfx::Context::createFrameBuffer ( uchar _num,
::bgfx::Attachment const * _attachment,
bool _destroyTextures )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createFrameBuffer() [2/2]

MCAPI::bgfx::FrameBufferHandle bgfx::Context::createFrameBuffer ( void * _nwh,
ushort _width,
ushort _height,
::bgfx::TextureFormat::Enum _depthFormat )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createIndexBuffer()

MCAPI::bgfx::IndexBufferHandle bgfx::Context::createIndexBuffer ( ::bgfx::Memory const * _mem,
ushort _flags )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createProgram() [1/2]

MCAPI::bgfx::ProgramHandle bgfx::Context::createProgram ( ::bgfx::ShaderHandle _vsh,
bool _destroyShader )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createProgram() [2/2]

MCAPI::bgfx::ProgramHandle bgfx::Context::createProgram ( ::bgfx::ShaderHandle _vsh,
::bgfx::ShaderHandle _fsh,
bool _destroyShaders )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createShader()

MCAPI::bgfx::ShaderHandle bgfx::Context::createShader ( ::bgfx::Memory const * _mem)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createShaderBuffer() [1/2]

MCAPI::bgfx::ShaderBufferHandle bgfx::Context::createShaderBuffer ( ::bgfx::Memory const * _mem,
uint _stride,
ushort _flags )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createShaderBuffer() [2/2]

MCAPI::bgfx::ShaderBufferHandle bgfx::Context::createShaderBuffer ( uint _num,
uint _stride,
ushort _flags )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createTexture()

MCAPI::bgfx::TextureHandle bgfx::Context::createTexture ( ::bgfx::Memory const * _mem,
uint _flags,
uchar _skip,
::bgfx::TextureInfo * _info,
::bgfx::BackbufferRatio::Enum _ratio,
bool _immutable )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createTopLevelAccelerationStructure()

MCAPI::bgfx::AccelerationStructureHandle bgfx::Context::createTopLevelAccelerationStructure ( ::bgfx::AccelerationStructureHandle _handle,
uint numInstances,
::bgfx::TopLevelInstanceDesc * instanceDescs )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createTransientIndexBuffer()

MCAPI::bgfx::TransientIndexBuffer * bgfx::Context::createTransientIndexBuffer ( uint _size)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createTransientVertexBuffer()

MCAPI::bgfx::TransientVertexBuffer * bgfx::Context::createTransientVertexBuffer ( uint _size,
::bgfx::VertexDecl const * _decl )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createUniform()

MCAPI::bgfx::UniformHandle bgfx::Context::createUniform ( char const * _name,
::bgfx::UniformType::Enum _type,
ushort _num )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createVertexBuffer()

MCAPI::bgfx::VertexBufferHandle bgfx::Context::createVertexBuffer ( ::bgfx::Memory const * _mem,
::bgfx::VertexDecl const & _decl,
ushort _flags )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createVertexDecl()

MCAPI::bgfx::VertexDeclHandle bgfx::Context::createVertexDecl ( ::bgfx::VertexDecl const & _decl)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ destroyAccelerationStructure()

MCAPI void bgfx::Context::destroyAccelerationStructure ( ::bgfx::AccelerationStructureHandle _handle)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ destroyFrameBuffer()

MCAPI void bgfx::Context::destroyFrameBuffer ( ::bgfx::FrameBufferHandle _handle)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ destroyIndexBuffer()

MCAPI void bgfx::Context::destroyIndexBuffer ( ::bgfx::IndexBufferHandle _handle)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ destroyProgram()

MCAPI void bgfx::Context::destroyProgram ( ::bgfx::ProgramHandle _handle)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ destroyUniform()

MCAPI void bgfx::Context::destroyUniform ( ::bgfx::UniformHandle _handle)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ destroyVertexBuffer()

MCAPI void bgfx::Context::destroyVertexBuffer ( ::bgfx::VertexBufferHandle _handle)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ findVertexDecl()

MCAPI::bgfx::VertexDeclHandle bgfx::Context::findVertexDecl ( ::bgfx::VertexDecl const & _decl)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ flushTextureUpdateBatch()

MCAPI void bgfx::Context::flushTextureUpdateBatch ( ::bgfx::CommandBuffer & _cmdbuf)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getPerfStats()

MCAPI::bgfx::Stats const bgfx::Context::getPerfStats ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getPerfViewStats()

MCAPI ushort bgfx::Context::getPerfViewStats ( ushort _numViewStats,
::bgfx::ViewStats * _viewStats )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getUniformInfo()

MCAPI void bgfx::Context::getUniformInfo ( ::bgfx::UniformHandle _handle,
::bgfx::UniformInfo & _info )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ readTexture()

MCAPI uint bgfx::Context::readTexture ( ::bgfx::TextureHandle _handle,
void * _data,
uchar _mip )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ renderFrame()

MCAPI::bgfx::RenderFrame::Enum bgfx::Context::renderFrame ( int _msecs)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ rendererExecCommands()

MCAPI void bgfx::Context::rendererExecCommands ( ::bgfx::CommandBuffer & _cmdbuf)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ reset()

MCAPI void bgfx::Context::reset ( uint _width,
uint _height,
uint _flags )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setName() [1/2]

MCAPI void bgfx::Context::setName ( ::bgfx::ShaderHandle _handle,
::bx::StringView const & _name )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setName() [2/2]

MCAPI void bgfx::Context::setName ( ::bgfx::ShaderBufferHandle _handle,
::bx::StringView const & _name )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setViewName()

MCAPI void bgfx::Context::setViewName ( ushort _id,
char const * _name )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ shaderBufferDecRef()

MCAPI void bgfx::Context::shaderBufferDecRef ( ::bgfx::ShaderBufferHandle _handle)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ shaderDecRef()

MCAPI void bgfx::Context::shaderDecRef ( ::bgfx::ShaderHandle _handle)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ swap()

MCAPI void bgfx::Context::swap ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ textureDecRef()

MCAPI void bgfx::Context::textureDecRef ( ::bgfx::TextureHandle _handle)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ update() [1/3]

MCAPI void bgfx::Context::update ( ::bgfx::ShaderBufferHandle _handle,
uint _offset,
::bgfx::Memory const * _mem )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ update() [2/3]

MCAPI void bgfx::Context::update ( ::bgfx::DynamicIndexBufferHandle _handle,
uint _startIndex,
::bgfx::Memory const * _mem )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ update() [3/3]

MCAPI void bgfx::Context::update ( ::bgfx::DynamicVertexBufferHandle _handle,
uint _startVertex,
::bgfx::Memory const * _mem )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ updateOffset() [1/2]

MCAPI void bgfx::Context::updateOffset ( ::bgfx::DynamicIndexBufferHandle _handle,
uint _offset,
uint _declStride,
::bgfx::Memory const * _mem )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ updateOffset() [2/2]

MCAPI void bgfx::Context::updateOffset ( ::bgfx::DynamicVertexBufferHandle _handle,
uint _offset,
uint _declStride,
::bgfx::Memory const * _mem )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ updateTexture()

MCAPI void bgfx::Context::updateTexture ( ::bgfx::TextureHandle _handle,
uchar _side,
uchar _mip,
ushort _x,
ushort _y,
ushort _z,
ushort _width,
ushort _height,
ushort _depth,
ushort _pitch,
::bgfx::Memory const * _mem )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ wrapExternalTexture()

MCAPI::bgfx::TextureHandle bgfx::Context::wrapExternalTexture ( ::bgfx::RendererType::Enum _type,
void * _texturePtr )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ renderThread()

MCAPI int bgfx::Context::renderThread ( ::bx::Thread * ,
void *  )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor()

MCAPI void * bgfx::Context::$ctor ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void bgfx::Context::$dtor ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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