| 127 | } |
| 128 | |
| 129 | MaterialShader::MaterialShader(const StringView& name) |
| 130 | : _isLoaded(false) |
| 131 | , _shader(nullptr) |
| 132 | { |
| 133 | ASSERT(GPUDevice::Instance); |
| 134 | _shader = GPUDevice::Instance->CreateShader(name); |
| 135 | } |
| 136 | |
| 137 | MaterialShader::~MaterialShader() |
| 138 | { |
nothing calls this directly
no test coverage detected