MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Generate

Function Generate

Source/Engine/Renderer/ReflectionsPass.cpp:133–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131 }
132
133 void Generate()
134 {
135 Guid id = Guid::Empty;
136 ImportTexture::Options options;
137 options.Type = TextureFormatType::HdrRGB;
138 options.InternalFormat = PixelFormat::R16G16_UNorm;
139 options.IndependentChannels = true;
140 options.IsAtlas = false;
141 options.sRGB = false;
142 options.NeverStream = true;
143 options.GenerateMipMaps = false;
144 options.Compress = false;
145 options.InternalLoad.Bind(&OnGenerate);
146 const String path = Globals::EngineContentFolder / PRE_INTEGRATED_GF_ASSET_NAME + ASSET_FILES_EXTENSION_WITH_DOT;
147 AssetsImportingManager::Create(AssetsImportingManager::CreateTextureTag, path, id, &options);
148 }
149};
150
151#endif

Callers 1

InitMethod · 0.85

Calls 2

CreateFunction · 0.50
BindMethod · 0.45

Tested by

no test coverage detected