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

Method Store

Source/Engine/Graphics/PixelFormatExtensions.cpp:1508–1511  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1506};
1507
1508void PixelFormatSampler::Store(void* data, int32 x, int32 y, int32 rowPitch, const Color& color) const
1509{
1510 Write((byte*)data + rowPitch * y + PixelSize * x, (Float4&)color);
1511}
1512
1513Float4 PixelFormatSampler::Sample(const void* data, int32 x) const
1514{

Callers 2

SetPixelsMethod · 0.45
BindDrawDataMethod · 0.45

Calls 1

WriteFunction · 0.70

Tested by

no test coverage detected