Lines Matching refs:byteCount
649 u32 byteCount = 0; in Create() local
657 byteCount += static_cast<u32>(bytesizePerPixel * h * w); in Create()
680 NW_ASSERT(byteCount != 0); in Create()
681 void* bufferMemory = allocator->Alloc(byteCount, ALIGNMENT); in Create()
686 std::fill_n(NW_CHECKED_ARRAY_ITERATOR(buffer, byteCount), byteCount, 0); in Create()
689 imageData->m_ImageDataTableCount = byteCount; in Create()
761 u32 byteCount = 0; in Create() local
769 byteCount += static_cast<u32>(bytesizePerPixel * h * w); in Create()
793 u32 totalByteCount = byteCount * MAX_CUBE_FACE; in Create()
817 imageData[i].m_ImageDataTableCount = byteCount; in Create()
818 … imageData[i].toImageDataTable.set_ptr(reinterpret_cast<void*>(bufferMemory + byteCount * i)); in Create()
892 u32 byteCount = 0; in Create() local
898 byteCount += static_cast<u32>(bytesizePerPixel * h * w); in Create()
905 NW_ASSERT(byteCount); in Create()
906 void* bufferMemory = allocator->Alloc(byteCount, ALIGNMENT); in Create()
911 std::fill_n(NW_CHECKED_ARRAY_ITERATOR(buffer, byteCount), byteCount, 0); in Create()
914 imageData->m_ImageDataTableCount = byteCount; in Create()