Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blender/cycles
/ convert
Method
convert
src/hydra/render_buffer.cpp:136–139 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
134
};
135
struct IdConversion {
136
static int32_t convert(const float value)
137
{
138
return static_cast<int32_t>(value) - 1;
139
}
140
};
141
struct UInt8Conversion {
142
static uint8_t convert(const float value)
Callers
1
writePixels
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected