Checks if texture is normal texture asset (not render target or unordered access or depth buffer or sth else).
| 278 | /// Checks if texture is normal texture asset (not render target or unordered access or depth buffer or sth else). |
| 279 | /// </summary> |
| 280 | FORCE_INLINE bool IsRegularTexture() const |
| 281 | { |
| 282 | return _desc.Flags == GPUTextureFlags::ShaderResource; |
| 283 | } |
| 284 | |
| 285 | /// <summary> |
| 286 | /// Checks if texture is a staging buffer (supports direct CPU access). |
no outgoing calls
no test coverage detected