载入中...
搜索中...
未找到
VrmSurface.cpp 文件参考
#include "avatar/VrmSurface.h"
#include <bit>
#include <cstring>
#include <stdexcept>
#include "common/Module.h"
#include "filesystem/FileData.h"
#include "graphics/Graphics.h"
#include "graphics/Material.h"
#include "graphics/Shader.h"
#include "graphics/Texture.h"
#include "graphics/shaders/mesh3d_mtoon_frag_spv.inc"
#include "graphics/shaders/mesh3d_mtoon_vert_spv.inc"
#include "image/ImageData.h"

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::avatar
 

函数

graphics::Texture & eve::avatar::buildVrmAtlas (graphics::Graphics &graphics, const VrmDocument &document, std::vector< VrmAtlasRect > &rectangles)
 Prepare an atlas using the provider's owning resource factory. @ownership Graphics owns the result; caller releases it through that provider after use. @lifetime Valid until explicit release or provider destruction; observe resourceLifetime(). @thread Render thread, no callbacks. Throws before publication on invalid image data.
 
std::unique_ptr< VrmSurface > eve::avatar::buildVrmSurface (graphics::Graphics &graphics, const VrmMaterial &data, graphics::Texture &atlas, const std::vector< VrmAtlasRect > &rectangles)
 Builds vrm surface.