bgfx/scripts/bgfx.natvis

132 lines
5.3 KiB
Plaintext
Raw Normal View History

2018-04-12 19:07:35 +03:00
<?xml version="1.0" encoding="utf-8"?>
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
<Type Name="bgfx::IndexBufferHandle">
<DisplayString Condition="idx == bgfx::kInvalidHandle">{{ idx={idx} (INVALID) }}</DisplayString>
<DisplayString>{{ idx={idx} }}</DisplayString>
<Expand>
<Item Name="idx">idx</Item>
<ExpandedItem>bgfx::s_ctx->m_indexBuffers[idx]</ExpandedItem>
</Expand>
</Type>
<Type Name="bgfx::VertexBufferHandle">
<DisplayString Condition="idx == bgfx::kInvalidHandle">{{ idx={idx} (INVALID) }}</DisplayString>
<DisplayString>{{ idx={idx} }}</DisplayString>
<Expand>
<Item Name="idx">idx</Item>
<ExpandedItem>bgfx::s_ctx->m_vertexBuffers[idx]</ExpandedItem>
</Expand>
</Type>
<Type Name="bgfx::DynamicIndexBufferHandle">
<DisplayString Condition="idx == bgfx::kInvalidHandle">{{ idx={idx} (INVALID) }}</DisplayString>
<DisplayString>{{ idx={idx} }}</DisplayString>
<Expand>
<Item Name="idx">idx</Item>
<ExpandedItem>bgfx::s_ctx->m_dynamicIndexBuffers[idx]</ExpandedItem>
</Expand>
</Type>
<Type Name="bgfx::DynamicVertexBufferHandle">
<DisplayString Condition="idx == bgfx::kInvalidHandle">{{ idx={idx} (INVALID) }}</DisplayString>
<DisplayString>{{ idx={idx} }}</DisplayString>
<Expand>
<Item Name="idx">idx</Item>
<ExpandedItem>bgfx::s_ctx->m_dynamicVertexBuffers[idx]</ExpandedItem>
</Expand>
</Type>
<Type Name="bgfx::UniformHandle">
<DisplayString Condition="idx == bgfx::kInvalidHandle">{{ idx={idx} (INVALID) }}</DisplayString>
<DisplayString>{{ idx={idx}, name={bgfx::s_ctx->m_uniformRef[idx].m_name} }}</DisplayString>
<Expand>
<Item Name="idx">idx</Item>
<ExpandedItem>bgfx::s_ctx->m_uniformRef[idx]</ExpandedItem>
</Expand>
</Type>
<Type Name="bgfx::ShaderHandle">
<DisplayString Condition="idx == bgfx::kInvalidHandle">{{ idx={idx} (INVALID) }}</DisplayString>
<DisplayString>{{ idx={idx}, name={bgfx::s_ctx->m_shaderRef[idx].m_name} }}</DisplayString>
<Expand>
<Item Name="idx">idx</Item>
<ExpandedItem>bgfx::s_ctx->m_shaderRef[idx]</ExpandedItem>
</Expand>
</Type>
2019-01-18 06:59:46 +03:00
<Type Name="bgfx::ShaderRef">
2018-04-12 19:07:35 +03:00
<Expand>
<Item Name="m_uniforms">m_uniforms,[m_num]</Item>
<Item Name="m_name">m_name</Item>
2020-09-30 23:49:34 +03:00
<Item Name="m_hashIn">m_hashIn</Item>
<Item Name="m_hashOut">m_hashOut</Item>
2018-04-12 19:07:35 +03:00
<Item Name="m_num">m_num</Item>
2020-09-30 23:49:34 +03:00
<Item Name="m_refCount">m_refCount</Item>
2018-04-12 19:07:35 +03:00
</Expand>
</Type>
<Type Name="bgfx::ProgramHandle">
<DisplayString Condition="idx == bgfx::kInvalidHandle">{{ idx={idx} (INVALID) }}</DisplayString>
<DisplayString>{{ idx={idx}, vsh={bgfx::s_ctx->m_programRef[idx].m_vsh}, fsh={bgfx::s_ctx->m_programRef[idx].m_fsh} }}</DisplayString>
<Expand>
<Item Name="idx">idx</Item>
<ExpandedItem>bgfx::s_ctx->m_programRef[idx]</ExpandedItem>
</Expand>
</Type>
<Type Name="bgfx::TextureHandle">
<DisplayString Condition="idx == bgfx::kInvalidHandle">{{ idx={idx} (INVALID) }}</DisplayString>
<DisplayString>{{ idx={idx}, name={bgfx::s_ctx->m_textureRef[idx].m_name} }}</DisplayString>
<Expand>
<Item Name="idx">idx</Item>
<ExpandedItem>bgfx::s_ctx->m_textureRef[idx]</ExpandedItem>
</Expand>
</Type>
2019-01-18 06:59:46 +03:00
<Type Name="bgfx::TextureRef">
2018-04-12 19:07:35 +03:00
<Expand>
<Item Name="m_name">m_name</Item>
<Item Name="m_ptr">m_ptr</Item>
2020-09-30 23:49:34 +03:00
<Item Name="m_flags">m_flags</Item>
2018-04-12 19:07:35 +03:00
<Item Name="m_storageSize">m_storageSize</Item>
<Item Name="m_refCount">m_refCount</Item>
<Item Name="m_bbRatio">m_bbRatio</Item>
<Item Name="m_format">(bgfx::TextureFormat::Enum)m_format</Item>
<Item Name="m_numMips">m_numMips</Item>
2020-09-30 23:49:34 +03:00
<Item Name="m_numLayers">m_numLayers</Item>
2018-04-12 19:07:35 +03:00
<Item Name="m_owned">m_owned</Item>
<Item Name="m_immutable">m_immutable</Item>
</Expand>
</Type>
<Type Name="bgfx::FrameBufferHandle">
<DisplayString Condition="idx == bgfx::kInvalidHandle">{{ idx={idx} (INVALID) }}</DisplayString>
<DisplayString>{{ idx={idx} }}</DisplayString>
<Expand>
<Item Name="idx">idx</Item>
<ExpandedItem>bgfx::s_ctx->m_frameBufferRef[idx]</ExpandedItem>
</Expand>
</Type>
2019-08-13 12:04:51 +03:00
<Type Name="bgfx::VertexLayoutHandle">
2018-04-12 19:07:35 +03:00
<DisplayString Condition="idx == bgfx::kInvalidHandle">{{ idx={idx} (INVALID) }}</DisplayString>
<DisplayString>{{ idx={idx} }}</DisplayString>
<Expand>
<ExpandedItem>this,!</ExpandedItem>
2019-08-17 20:35:21 +03:00
<ExpandedItem>bgfx::s_ctx->m_vertexLayoutRef[idx]</ExpandedItem>
2018-04-12 19:07:35 +03:00
</Expand>
</Type>
2018-08-21 03:06:13 +03:00
<Type Name="bgfx::Encoder">
<Expand>
<ExpandedItem>(bgfx::EncoderImpl *)this</ExpandedItem>
</Expand>
</Type>
2018-08-30 04:12:21 +03:00
<Type Name="DebugDrawEncoder">
<Expand>
<ExpandedItem>(DebugDrawEncoderImpl *)this</ExpandedItem>
</Expand>
</Type>
2018-04-12 19:07:35 +03:00
</AutoVisualizer>