MCPcopy Create free account
hub / github.com/crossuo/crossuo / Init

Method Init

src/Sprite.cpp:50–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48
49template <typename T>
50void CSprite::Init(int width, int height, T *pixels, bool skipHitMask)
51{
52 Width = width;
53 Height = height;
54 if (!skipHitMask)
55 {
56 BuildHitMask(width, height, pixels);
57 }
58}
59
60void CSprite::Clear()
61{

Callers 4

mainFunction · 0.45
SDL_SensorInitFunction · 0.45
SDL_JoystickInitFunction · 0.45
HIDAPI_JoystickOpenFunction · 0.45

Calls 3

Render_CreateTexture2DFunction · 0.85
InitFunction · 0.85
BindTexture32Method · 0.80

Tested by

no test coverage detected