MCPcopy Create free account
hub / github.com/baldurk/renderdoc / FixedVarTag

Class FixedVarTag

qrenderdoc/Windows/BufferViewer.cpp:49–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47#include "ui_BufferViewer.h"
48
49struct FixedVarTag
50{
51 FixedVarTag() = default;
52 FixedVarTag(uint32_t size) : valid(true), padding(true), byteSize(size) {}
53 FixedVarTag(rdcstr varName, uint32_t offset)
54 : valid(true), padding(false), name(varName), byteOffset(offset)
55 {
56 }
57 bool valid = false;
58 bool padding = false;
59 bool matrix = false;
60 bool rowmajor = false;
61 rdcstr name;
62 union
63 {
64 uint32_t byteOffset;
65 uint32_t byteSize;
66 };
67};
68
69Q_DECLARE_METATYPE(FixedVarTag);
70

Callers 2

UI_FixedAddMatrixRowsMethod · 0.85
UI_AddFixedVariablesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected