MCPcopy Create free account
hub / github.com/Illation/ETEngine / Build

Method Build

Engine/source/EtRendering/GraphicsTypes/TextureData.cpp:73–78  ·  view source on GitHub ↗

--------------------------------- TextureData::Build send the data to the GPU location. Can be initialized without any image data

Source from the content-addressed store, hash-verified

71// send the data to the GPU location. Can be initialized without any image data
72//
73void TextureData::Build(void* data)
74{
75 ET_ASSERT(m_Handle == 0u, "Shouldn't build after a handle was created!");
76
77 Viewport::GetCurrentApiContext()->SetTextureData(*this, data);
78}
79
80//---------------------------------
81// TextureData::SetParameters

Callers 15

CreateRenderTargetMethod · 0.80
CreateRenderTargetMethod · 0.80
InitMethod · 0.80
PrecalculateMethod · 0.80
PrecomputeMethod · 0.80
PrefilterCubeMethod · 0.80
GenerateFramebuffersMethod · 0.80
InitializeMethod · 0.80
InitializeMethod · 0.80
LoadFromMemoryMethod · 0.80
EquirectangularToCubeMapFunction · 0.80
InitMethod · 0.80

Calls 1

SetTextureDataMethod · 0.80

Tested by

no test coverage detected