MCPcopy Create free account
hub / github.com/DiligentGraphics/DiligentFX / HnRenderParam

Method HnRenderParam

Hydrogent/src/HnRenderParam.cpp:35–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33{
34
35HnRenderParam::HnRenderParam(bool UseVertexPool,
36 bool UseIndexPool,
37 bool AsyncShaderCompilation,
38 HN_MATERIAL_TEXTURES_BINDING_MODE TextureBindingMode,
39 float MetersPerUnit) noexcept :
40 m_UseVertexPool{UseVertexPool},
41 m_UseIndexPool{UseIndexPool},
42 m_AsyncShaderCompilation{AsyncShaderCompilation},
43 m_TextureBindingMode{TextureBindingMode},
44 m_MetersPerUnit{MetersPerUnit}
45{
46 for (auto& Version : m_GlobalAttribVersions)
47 Version.store(0);
48}
49
50HnRenderParam::~HnRenderParam()
51{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected