| 1223 | } |
| 1224 | |
| 1225 | static inline uint32_t GetBufferSize(const TextureParams& params) |
| 1226 | { |
| 1227 | uint32_t bytes_per_pixel = dmGraphics::GetTextureFormatBitsPerPixel(params.m_Format) / 3; |
| 1228 | return sizeof(uint32_t) * params.m_Width * params.m_Height * bytes_per_pixel; |
| 1229 | } |
| 1230 | |
| 1231 | static HRenderTarget NullNewRenderTarget(HContext _context, uint32_t buffer_type_flags, const RenderTargetCreationParams params) |
| 1232 | { |
no test coverage detected