![]() |
OpenSiv3D
v0.6.5
C++20 framework for creative coding
|
#include <Mesh.hpp>
Inherits s3d::AssetHandle< Mesh >.
Inherited by s3d::DynamicMesh.
Classes | |
struct | Dynamic |
Public Member Functions | |
SIV3D_NODISCARD_CXX20 | Mesh () |
SIV3D_NODISCARD_CXX20 | Mesh (const MeshData &meshData) |
virtual | ~Mesh () |
size_t | num_vertices () const |
size_t | num_triangles () const |
Sphere | boundingSphere () const |
Box | boundingBox () const |
void | draw (const ColorF &color=Palette::White) const |
void | draw (double x, double y, double z, const ColorF &color=Palette::White) const |
void | draw (const Vec3 &pos, const ColorF &color=Palette::White) const |
void | draw (double x, double y, double z, const Quaternion &rotation, const ColorF &color=Palette::White) const |
void | draw (const Vec3 &pos, const Quaternion &rotation, const ColorF &color=Palette::White) const |
void | draw (const Mat4x4 &mat, const ColorF &color=Palette::White) const |
void | draw (const PhongMaterial &material) const |
void | draw (double x, double y, double z, const PhongMaterial &material) const |
void | draw (const Vec3 &pos, const PhongMaterial &material) const |
void | draw (double x, double y, double z, const Quaternion &rotation, const PhongMaterial &material) const |
void | draw (const Vec3 &pos, const Quaternion &rotation, const PhongMaterial &material) const |
void | draw (const Mat4x4 &mat, const PhongMaterial &material) const |
void | draw (const Texture &texture, const ColorF &color=Palette::White) const |
void | draw (double x, double y, double z, const Texture &texture, const ColorF &color=Palette::White) const |
void | draw (const Vec3 &pos, const Texture &texture, const ColorF &color=Palette::White) const |
void | draw (double x, double y, double z, const Quaternion &rotation, const Texture &texture, const ColorF &color=Palette::White) const |
void | draw (const Vec3 &pos, const Quaternion &rotation, const Texture &texture, const ColorF &color=Palette::White) const |
void | draw (const Mat4x4 &mat, const Texture &texture, const ColorF &color=Palette::White) const |
void | draw (const Texture &texture, const PhongMaterial &material) const |
void | draw (double x, double y, double z, const Texture &texture, const PhongMaterial &material) const |
void | draw (const Vec3 &pos, const Texture &texture, const PhongMaterial &material) const |
void | draw (double x, double y, double z, const Quaternion &rotation, const Texture &texture, const PhongMaterial &material) const |
void | draw (const Vec3 &pos, const Quaternion &rotation, const Texture &texture, const PhongMaterial &material) const |
void | draw (const Mat4x4 &mat, const Texture &texture, const PhongMaterial &material) const |
void | draw (const TextureRegion &textureRegion, const ColorF &color=Palette::White) const |
void | draw (double x, double y, double z, const TextureRegion &textureRegion, const ColorF &color=Palette::White) const |
void | draw (const Vec3 &pos, const TextureRegion &textureRegion, const ColorF &color=Palette::White) const |
void | draw (double x, double y, double z, const Quaternion &rotation, const TextureRegion &textureRegion, const ColorF &color=Palette::White) const |
void | draw (const Vec3 &pos, const Quaternion &rotation, const TextureRegion &textureRegion, const ColorF &color=Palette::White) const |
void | draw (const Mat4x4 &mat, const TextureRegion &textureRegion, const ColorF &color=Palette::White) const |
void | draw (const TextureRegion &textureRegion, const PhongMaterial &material) const |
void | draw (double x, double y, double z, const TextureRegion &textureRegion, const PhongMaterial &material) const |
void | draw (const Vec3 &pos, const TextureRegion &textureRegion, const PhongMaterial &material) const |
void | draw (double x, double y, double z, const Quaternion &rotation, const TextureRegion &textureRegion, const PhongMaterial &material) const |
void | draw (const Vec3 &pos, const Quaternion &rotation, const TextureRegion &textureRegion, const PhongMaterial &material) const |
void | draw (const Mat4x4 &mat, const TextureRegion &textureRegion, const PhongMaterial &material) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, const ColorF &color=Palette::White) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, double x, double y, double z, const ColorF &color=Palette::White) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, const Vec3 &pos, const ColorF &color=Palette::White) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, double x, double y, double z, const Quaternion &rotation, const ColorF &color=Palette::White) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, const Vec3 &pos, const Quaternion &rotation, const ColorF &color=Palette::White) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, const Mat4x4 &mat, const ColorF &color=Palette::White) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, const PhongMaterial &material) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, double x, double y, double z, const PhongMaterial &material) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, const Vec3 &pos, const PhongMaterial &material) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, double x, double y, double z, const Quaternion &rotation, const PhongMaterial &material) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, const Vec3 &pos, const Quaternion &rotation, const PhongMaterial &material) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, const Mat4x4 &mat, const PhongMaterial &material) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, const Texture &texture, const ColorF &color=Palette::White) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, double x, double y, double z, const Texture &texture, const ColorF &color=Palette::White) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, const Vec3 &pos, const Texture &texture, const ColorF &color=Palette::White) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, double x, double y, double z, const Quaternion &rotation, const Texture &texture, const ColorF &color=Palette::White) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, const Vec3 &pos, const Quaternion &rotation, const Texture &texture, const ColorF &color=Palette::White) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, const Mat4x4 &mat, const Texture &texture, const ColorF &color=Palette::White) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, const Texture &texture, const PhongMaterial &material) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, double x, double y, double z, const Texture &texture, const PhongMaterial &material) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, const Vec3 &pos, const Texture &texture, const PhongMaterial &material) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, double x, double y, double z, const Quaternion &rotation, const Texture &texture, const PhongMaterial &material) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, const Vec3 &pos, const Quaternion &rotation, const Texture &texture, const PhongMaterial &material) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, const Mat4x4 &mat, const Texture &texture, const PhongMaterial &material) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, const TextureRegion &textureRegion, const ColorF &color=Palette::White) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, double x, double y, double z, const TextureRegion &textureRegion, const ColorF &color=Palette::White) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, const Vec3 &pos, const TextureRegion &textureRegion, const ColorF &color=Palette::White) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, double x, double y, double z, const Quaternion &rotation, const TextureRegion &textureRegion, const ColorF &color=Palette::White) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, const Vec3 &pos, const Quaternion &rotation, const TextureRegion &textureRegion, const ColorF &color=Palette::White) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, const Mat4x4 &mat, const TextureRegion &textureRegion, const ColorF &color=Palette::White) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, const TextureRegion &textureRegion, const PhongMaterial &material) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, double x, double y, double z, const TextureRegion &textureRegion, const PhongMaterial &material) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, const Vec3 &pos, const TextureRegion &textureRegion, const PhongMaterial &material) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, double x, double y, double z, const Quaternion &rotation, const TextureRegion &textureRegion, const PhongMaterial &material) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, const Vec3 &pos, const Quaternion &rotation, const TextureRegion &textureRegion, const PhongMaterial &material) const |
void | drawSubset (uint32 startTriangle, uint32 triangleCount, const Mat4x4 &mat, const TextureRegion &textureRegion, const PhongMaterial &material) const |
void | swap (Mesh &other) noexcept |
![]() | |
SIV3D_NODISCARD_CXX20 | AssetHandle () |
SIV3D_NODISCARD_CXX20 | AssetHandle (std::shared_ptr< AssetIDWrapperType > &&id) |
IDType | id () const noexcept |
アセットの内部管理 ID を返します。 More... | |
bool | isEmpty () const noexcept |
アセットが空であるかを返します。 More... | |
operator bool () const noexcept | |
アセットが空でないかを返します。 More... | |
bool | operator== (const AssetHandle &other) const noexcept |
2 つのアセットが同じオブジェクトであるかを返します。 More... | |
bool | operator!= (const AssetHandle &other) const noexcept |
2 つのアセットが異なるオブジェクトであるかを返します。 More... | |
void | release () |
このハンドルが管理するアセットを解放します。 More... | |
Protected Member Functions | |
SIV3D_NODISCARD_CXX20 | Mesh (Dynamic, size_t vertexCount, size_t triangleCount) |
SIV3D_NODISCARD_CXX20 | Mesh (Dynamic, const MeshData &meshData) |
Additional Inherited Members | |
![]() | |
using | AssetIDWrapperType = AssetIDWrapper< AssetHandle > |
アセット ID ラッパー型 More... | |
using | IDType = typename AssetIDWrapperType::IDType |
アセット ID 型 More... | |
![]() | |
std::shared_ptr< AssetIDWrapperType > | m_handle |
SIV3D_NODISCARD_CXX20 s3d::Mesh::Mesh | ( | ) |
|
explicit |
|
virtual |
|
protected |
Box s3d::Mesh::boundingBox | ( | ) | const |
Sphere s3d::Mesh::boundingSphere | ( | ) | const |
void s3d::Mesh::draw | ( | const ColorF & | color = Palette::White | ) | const |
void s3d::Mesh::draw | ( | const Mat4x4 & | mat, |
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::draw | ( | const Mat4x4 & | mat, |
const Texture & | texture, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::draw | ( | const Mat4x4 & | mat, |
const Texture & | texture, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::draw | ( | const Mat4x4 & | mat, |
const TextureRegion & | textureRegion, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::draw | ( | const Mat4x4 & | mat, |
const TextureRegion & | textureRegion, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::draw | ( | const PhongMaterial & | material | ) | const |
void s3d::Mesh::draw | ( | const Texture & | texture, |
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::draw | ( | const TextureRegion & | textureRegion, |
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::draw | ( | const TextureRegion & | textureRegion, |
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::draw | ( | const Vec3 & | pos, |
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::draw | ( | const Vec3 & | pos, |
const Quaternion & | rotation, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::draw | ( | const Vec3 & | pos, |
const Quaternion & | rotation, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::draw | ( | const Vec3 & | pos, |
const Quaternion & | rotation, | ||
const Texture & | texture, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::draw | ( | const Vec3 & | pos, |
const Quaternion & | rotation, | ||
const Texture & | texture, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::draw | ( | const Vec3 & | pos, |
const Quaternion & | rotation, | ||
const TextureRegion & | textureRegion, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::draw | ( | const Vec3 & | pos, |
const Quaternion & | rotation, | ||
const TextureRegion & | textureRegion, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::draw | ( | const Vec3 & | pos, |
const Texture & | texture, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::draw | ( | const Vec3 & | pos, |
const Texture & | texture, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::draw | ( | const Vec3 & | pos, |
const TextureRegion & | textureRegion, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::draw | ( | const Vec3 & | pos, |
const TextureRegion & | textureRegion, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::draw | ( | double | x, |
double | y, | ||
double | z, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::draw | ( | double | x, |
double | y, | ||
double | z, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::draw | ( | double | x, |
double | y, | ||
double | z, | ||
const Quaternion & | rotation, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::draw | ( | double | x, |
double | y, | ||
double | z, | ||
const Quaternion & | rotation, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::draw | ( | double | x, |
double | y, | ||
double | z, | ||
const Quaternion & | rotation, | ||
const Texture & | texture, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::draw | ( | double | x, |
double | y, | ||
double | z, | ||
const Quaternion & | rotation, | ||
const Texture & | texture, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::draw | ( | double | x, |
double | y, | ||
double | z, | ||
const Quaternion & | rotation, | ||
const TextureRegion & | textureRegion, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::draw | ( | double | x, |
double | y, | ||
double | z, | ||
const Quaternion & | rotation, | ||
const TextureRegion & | textureRegion, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::draw | ( | double | x, |
double | y, | ||
double | z, | ||
const Texture & | texture, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::draw | ( | double | x, |
double | y, | ||
double | z, | ||
const Texture & | texture, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::draw | ( | double | x, |
double | y, | ||
double | z, | ||
const TextureRegion & | textureRegion, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::draw | ( | double | x, |
double | y, | ||
double | z, | ||
const TextureRegion & | textureRegion, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
const Mat4x4 & | mat, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
const Mat4x4 & | mat, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
const Mat4x4 & | mat, | ||
const Texture & | texture, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
const Mat4x4 & | mat, | ||
const Texture & | texture, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
const Mat4x4 & | mat, | ||
const TextureRegion & | textureRegion, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
const Mat4x4 & | mat, | ||
const TextureRegion & | textureRegion, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
const Texture & | texture, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
const Texture & | texture, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
const TextureRegion & | textureRegion, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
const TextureRegion & | textureRegion, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
const Vec3 & | pos, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
const Vec3 & | pos, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
const Vec3 & | pos, | ||
const Quaternion & | rotation, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
const Vec3 & | pos, | ||
const Quaternion & | rotation, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
const Vec3 & | pos, | ||
const Quaternion & | rotation, | ||
const Texture & | texture, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
const Vec3 & | pos, | ||
const Quaternion & | rotation, | ||
const Texture & | texture, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
const Vec3 & | pos, | ||
const Quaternion & | rotation, | ||
const TextureRegion & | textureRegion, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
const Vec3 & | pos, | ||
const Quaternion & | rotation, | ||
const TextureRegion & | textureRegion, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
const Vec3 & | pos, | ||
const Texture & | texture, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
const Vec3 & | pos, | ||
const Texture & | texture, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
const Vec3 & | pos, | ||
const TextureRegion & | textureRegion, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
const Vec3 & | pos, | ||
const TextureRegion & | textureRegion, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
double | x, | ||
double | y, | ||
double | z, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
double | x, | ||
double | y, | ||
double | z, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
double | x, | ||
double | y, | ||
double | z, | ||
const Quaternion & | rotation, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
double | x, | ||
double | y, | ||
double | z, | ||
const Quaternion & | rotation, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
double | x, | ||
double | y, | ||
double | z, | ||
const Quaternion & | rotation, | ||
const Texture & | texture, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
double | x, | ||
double | y, | ||
double | z, | ||
const Quaternion & | rotation, | ||
const Texture & | texture, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
double | x, | ||
double | y, | ||
double | z, | ||
const Quaternion & | rotation, | ||
const TextureRegion & | textureRegion, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
double | x, | ||
double | y, | ||
double | z, | ||
const Quaternion & | rotation, | ||
const TextureRegion & | textureRegion, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
double | x, | ||
double | y, | ||
double | z, | ||
const Texture & | texture, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
double | x, | ||
double | y, | ||
double | z, | ||
const Texture & | texture, | ||
const PhongMaterial & | material | ||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
double | x, | ||
double | y, | ||
double | z, | ||
const TextureRegion & | textureRegion, | ||
const ColorF & | color = Palette::White |
||
) | const |
void s3d::Mesh::drawSubset | ( | uint32 | startTriangle, |
uint32 | triangleCount, | ||
double | x, | ||
double | y, | ||
double | z, | ||
const TextureRegion & | textureRegion, | ||
const PhongMaterial & | material | ||
) | const |
size_t s3d::Mesh::num_triangles | ( | ) | const |
size_t s3d::Mesh::num_vertices | ( | ) | const |
|
noexcept |