Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
monopoly::data::MeshXRuntime Class Referencefinal

#include <MeshRuntime.hpp>

Public Member Functions

std::shared_ptr< const LegacyMeshData > source () const noexcept
 
const std::vector< MeshVertex > & vertices () const noexcept
 
const std::vector< MeshGroupRuntime > & groups () const noexcept
 
const MeshBounds & bounds () const noexcept
 
std::size_t poseCount () const noexcept
 
std::expected< MeshPoseData, MeshRuntimeError > evaluatePose (std::int32_t poseA, std::int32_t poseB, float proportion) const
 
std::expected< MeshXRuntime, MeshRuntimeError > withTextureImages (std::span< const std::shared_ptr< const HmdTextureImage > > images) const
 

Static Public Member Functions

static std::expected< MeshXRuntime, MeshRuntimeError > build (std::shared_ptr< const LegacyMeshData > source, MeshTextureResolver textureResolver={}, MeshRuntimeLimits limits={})
 

Detailed Description

Definition at line 170 of file MeshRuntime.hpp.

Member Function Documentation

◆ bounds()

const MeshBounds & monopoly::data::MeshXRuntime::bounds ( ) const
noexcept

Definition at line 298 of file MeshRuntime.cpp.

◆ build()

std::expected< MeshXRuntime, MeshRuntimeError > monopoly::data::MeshXRuntime::build ( std::shared_ptr< const LegacyMeshData >  source,
MeshTextureResolver  textureResolver = {},
MeshRuntimeLimits  limits = {} 
)
static

Definition at line 82 of file MeshRuntime.cpp.

◆ evaluatePose()

std::expected< MeshPoseData, MeshRuntimeError > monopoly::data::MeshXRuntime::evaluatePose ( std::int32_t  poseA,
std::int32_t  poseB,
float  proportion 
) const

Definition at line 304 of file MeshRuntime.cpp.

◆ groups()

const std::vector< MeshGroupRuntime > & monopoly::data::MeshXRuntime::groups ( ) const
noexcept

Definition at line 296 of file MeshRuntime.cpp.

◆ poseCount()

std::size_t monopoly::data::MeshXRuntime::poseCount ( ) const
noexcept

Definition at line 301 of file MeshRuntime.cpp.

◆ source()

std::shared_ptr< const LegacyMeshData > monopoly::data::MeshXRuntime::source ( ) const
noexcept

Definition at line 292 of file MeshRuntime.cpp.

◆ vertices()

const std::vector< MeshVertex > & monopoly::data::MeshXRuntime::vertices ( ) const
noexcept

Definition at line 294 of file MeshRuntime.cpp.

◆ withTextureImages()

std::expected< MeshXRuntime, MeshRuntimeError > monopoly::data::MeshXRuntime::withTextureImages ( std::span< const std::shared_ptr< const HmdTextureImage > >  images) const

Definition at line 455 of file MeshRuntime.cpp.


The documentation for this class was generated from the following files: