Lines Matching refs:byteCount
641 u32 byteCount = 0; in Create() local
649 byteCount += static_cast<u32>(bytesizePerPixel * h * w); in Create()
672 NW_ASSERT(byteCount != 0); in Create()
673 void* bufferMemory = allocator->Alloc(byteCount, ALIGNMENT); in Create()
678 std::fill_n(NW_CHECKED_ARRAY_ITERATOR(buffer, byteCount), byteCount, 0); in Create()
681 imageData->m_ImageDataTableCount = byteCount; in Create()
756 u32 byteCount = 0; in Create() local
762 byteCount += static_cast<u32>(bytesizePerPixel * h * w); in Create()
769 NW_ASSERT(byteCount); in Create()
770 void* bufferMemory = allocator->Alloc(byteCount, ALIGNMENT); in Create()
775 std::fill_n(NW_CHECKED_ARRAY_ITERATOR(buffer, byteCount), byteCount, 0); in Create()
778 imageData->m_ImageDataTableCount = byteCount; in Create()