MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / load_scene

Method load_scene

samples/extensions/ray_queries/ray_queries.cpp:339–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337}
338
339void RayQueries::load_scene()
340{
341 model = {};
342
343 vkb::GLTFLoader loader{get_device()};
344 auto scene = loader.read_scene_from_file("scenes/sponza/Sponza01.gltf");
345
346 load_node(scene->get_root_node());
347}
348
349void RayQueries::create_descriptor_pool()
350{

Callers

nothing calls this directly

Calls 1

read_scene_from_fileMethod · 0.45

Tested by

no test coverage detected