mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Replace FormatElement with ShaderConstant/ShaderVariableType
* FormatElement is now a static BufferFormatter class to help generate and parse buffer formatting strings
This commit is contained in:
@@ -3622,7 +3622,7 @@ void TextureViewer::on_viewTexBuffer_clicked()
|
||||
{
|
||||
IBufferViewer *viewer =
|
||||
m_Ctx.ViewTextureAsBuffer(texptr->resourceId, m_TexDisplay.subresource,
|
||||
FormatElement::GenerateTextureBufferFormat(*texptr));
|
||||
BufferFormatter::GetTextureFormatString(*texptr));
|
||||
|
||||
m_Ctx.AddDockWindow(viewer->Widget(), DockReference::AddTo, this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user