MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / setHasTransparency

Method setHasTransparency

Engine/source/gfx/bitmap/gBitmap.h:206–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204 /// an alpha value less than 255 (used by the auto-Material mapper)
205 bool getHasTransparency() const { return mHasTransparency; }
206 void setHasTransparency(bool hasTransparency) { mHasTransparency = hasTransparency; }
207
208 /// In general you will want to use this function if there is not a
209 /// good spot in the bitmap loader(s) to check the alpha value of

Callers 4

copyToBmpMethod · 0.80
sReadTGAFunction · 0.80
sReadBMPFunction · 0.80
sReadJPGFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected