| 77 | } |
| 78 | |
| 79 | uint32_t Shader::GetStructuredBufferSize(int32_t handle) const |
| 80 | { |
| 81 | auto const& data = mData[StructuredBuffer::shaderDataLookup]; |
| 82 | LogAssert(0 <= handle && handle < static_cast<int32_t>(data.size()), |
| 83 | "Invalid handle for object."); |
| 84 | return data[handle].numBytes; |
| 85 | } |
| 86 | |
| 87 | uint32_t Shader::GetStructuredBufferSize(std::string const& name) const |
| 88 | { |
no outgoing calls
no test coverage detected