mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-28 17:36:36 +00:00
Add support for raw buffer views (not mesh output)
This commit is contained in:
@@ -472,7 +472,7 @@ BufferViewer *CaptureContext::meshPreview()
|
||||
if(m_MeshPreview)
|
||||
return m_MeshPreview;
|
||||
|
||||
m_MeshPreview = new BufferViewer(this, m_MainWindow);
|
||||
m_MeshPreview = new BufferViewer(this, true, m_MainWindow);
|
||||
m_MeshPreview->setObjectName("meshPreview");
|
||||
setupDockWindow(m_MeshPreview);
|
||||
|
||||
|
||||
@@ -759,7 +759,7 @@ ShaderVariable FormatElement::GetShaderVar(const byte *&data, const byte *end) c
|
||||
return ret;
|
||||
}
|
||||
|
||||
uint32_t FormatElement::byteSize()
|
||||
uint32_t FormatElement::byteSize() const
|
||||
{
|
||||
uint32_t vecSize = format.compByteWidth * format.compCount;
|
||||
|
||||
|
||||
@@ -373,7 +373,7 @@ struct FormatElement
|
||||
|
||||
QString ElementString(const QVariant &var);
|
||||
|
||||
uint32_t byteSize();
|
||||
uint32_t byteSize() const;
|
||||
|
||||
QString name;
|
||||
int buffer;
|
||||
|
||||
Reference in New Issue
Block a user