MCPcopy Create free account
hub / github.com/beefytech/Beef / GetBits

Method GetBits

BeefySysLib/gfx/Texture.cpp:43–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void TextureSegment::GetBits(int srcX, int srcY, int srcWidth, int srcHeight, int destPitch, uint32* bits)
44{
45 int x1 = (int)(mU1 * mTexture->mWidth + 0.5f);
46 int y1 = (int)(mV1 * mTexture->mHeight + 0.5f);
47 mTexture->GetBits(srcX + x1, srcY + y1, srcWidth, srcHeight, destPitch, bits);
48}
49
50void TextureSegment::GetImageData(ImageData& imageData)
51{

Callers 2

Gfx_Texture_GetBitsFunction · 0.45
GetImageDataMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected