MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / UploadMipMapAsync

Method UploadMipMapAsync

Source/Engine/Graphics/Textures/GPUTexture.cpp:645–650  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

643}
644
645GPUTask* GPUTexture::UploadMipMapAsync(const BytesContainer& data, int32 mipIndex, bool copyData)
646{
647 uint32 rowPitch, slicePitch;
648 ComputePitch(mipIndex, rowPitch, slicePitch);
649 return UploadMipMapAsync(data, mipIndex, rowPitch, slicePitch, copyData);
650}
651
652GPUTask* GPUTexture::UploadMipMapAsync(const BytesContainer& data, int32 mipIndex, int32 rowPitch, int32 slicePitch, bool copyData)
653{

Callers 4

FlushMethod · 0.80
ModifySplatMapMethod · 0.80
UpdateHeightDataMethod · 0.80
GenerateModelSDFMethod · 0.80

Calls 12

MipLevelsFunction · 0.85
IsInMainThreadFunction · 0.85
HighestResidentMipIndexFunction · 0.85
ResidentMipLevelsFunction · 0.85
IsRenderingMethod · 0.80
IsAllocatedFunction · 0.70
IsValidMethod · 0.45
LengthMethod · 0.45
GetMethod · 0.45
UpdateTextureMethod · 0.45
GetMainContextMethod · 0.45
HasReferenceMethod · 0.45

Tested by

no test coverage detected