MCPcopy Create free account
hub / github.com/RenderKit/embree / getTexel_SRGBA

Function getTexel_SRGBA

tutorials/common/texture/texture2d.cpp:45–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45inline Vec4f getTexel_SRGBA(const Texture2D *self, const Vec2i i)
46{
47 return srgba_to_linear(getTexel_RGBA8(self, i));
48}
49
50inline Vec4f getTexel_SRGB(const Texture2D *self, const Vec2i i)
51{

Callers

nothing calls this directly

Calls 2

srgba_to_linearFunction · 0.85
getTexel_RGBA8Function · 0.85

Tested by

no test coverage detected