| 137 | } |
| 138 | |
| 139 | bool GenericConstBufferLayout::getDesc(const String& name, ParamDesc& param) const |
| 140 | { |
| 141 | for (U32 i = 0; i < mParams.size(); i++) |
| 142 | { |
| 143 | if (mParams[i].name.equal(name)) |
| 144 | { |
| 145 | param = mParams[i]; |
| 146 | return true; |
| 147 | } |
| 148 | } |
| 149 | return false; |
| 150 | } |
| 151 | |
| 152 | bool GenericConstBufferLayout::getDesc(const U32 index, ParamDesc& param) const |
| 153 | { |
no test coverage detected