MCPcopy Create free account
hub / github.com/carbonengine/trinity / EnableTextureLoding

Method EnableTextureLoding

trinity/Shader/Parameter/TriTextureParameter.cpp:129–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129void TriTextureParameter::EnableTextureLoding( const std::array<float, UV_SET_MAX_COUNT>& uvDensityScale )
130{
131 m_textureLodEnabled = true;
132 std::copy( begin( uvDensityScale ), end( uvDensityScale ), begin( m_uvDensityScale ) );
133}
134
135void TriTextureParameter::DisableTextureLoding()
136{

Callers 1

AddLoddableMethod · 0.80

Calls 2

beginFunction · 0.50
endFunction · 0.50

Tested by

no test coverage detected