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

Function getTexel_SRGB

tutorials/common/texture/texture2d.cpp:50–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50inline Vec4f getTexel_SRGB(const Texture2D *self, const Vec2i i)
51{
52 return srgba_to_linear(getTexel_RGB8(self, i));
53}
54
55inline Vec4f getTexel_RGBA32F(const Texture2D *self, const Vec2i i)
56{

Callers

nothing calls this directly

Calls 2

srgba_to_linearFunction · 0.85
getTexel_RGB8Function · 0.85

Tested by

no test coverage detected