OpenSiv3D  v0.6.5
C++20 framework for creative coding
s3d::Mesh Class Reference

#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
 
- Public Member Functions inherited from s3d::AssetHandle< Mesh >
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

- Public Types inherited from s3d::AssetHandle< Mesh >
using AssetIDWrapperType = AssetIDWrapper< AssetHandle >
 アセット ID ラッパー型 More...
 
using IDType = typename AssetIDWrapperType::IDType
 アセット ID 型 More...
 
- Protected Attributes inherited from s3d::AssetHandle< Mesh >
std::shared_ptr< AssetIDWrapperTypem_handle
 

Constructor & Destructor Documentation

◆ Mesh() [1/4]

SIV3D_NODISCARD_CXX20 s3d::Mesh::Mesh ( )

◆ Mesh() [2/4]

SIV3D_NODISCARD_CXX20 s3d::Mesh::Mesh ( const MeshData meshData)
explicit

◆ ~Mesh()

virtual s3d::Mesh::~Mesh ( )
virtual

◆ Mesh() [3/4]

SIV3D_NODISCARD_CXX20 s3d::Mesh::Mesh ( Dynamic  ,
size_t  vertexCount,
size_t  triangleCount 
)
protected

◆ Mesh() [4/4]

SIV3D_NODISCARD_CXX20 s3d::Mesh::Mesh ( Dynamic  ,
const MeshData meshData 
)
protected

Member Function Documentation

◆ boundingBox()

Box s3d::Mesh::boundingBox ( ) const

◆ boundingSphere()

Sphere s3d::Mesh::boundingSphere ( ) const

◆ draw() [1/36]

void s3d::Mesh::draw ( const ColorF color = Palette::White) const

◆ draw() [2/36]

void s3d::Mesh::draw ( const Mat4x4 mat,
const ColorF color = Palette::White 
) const

◆ draw() [3/36]

void s3d::Mesh::draw ( const Mat4x4 mat,
const PhongMaterial material 
) const

◆ draw() [4/36]

void s3d::Mesh::draw ( const Mat4x4 mat,
const Texture texture,
const ColorF color = Palette::White 
) const

◆ draw() [5/36]

void s3d::Mesh::draw ( const Mat4x4 mat,
const Texture texture,
const PhongMaterial material 
) const

◆ draw() [6/36]

void s3d::Mesh::draw ( const Mat4x4 mat,
const TextureRegion textureRegion,
const ColorF color = Palette::White 
) const

◆ draw() [7/36]

void s3d::Mesh::draw ( const Mat4x4 mat,
const TextureRegion textureRegion,
const PhongMaterial material 
) const

◆ draw() [8/36]

void s3d::Mesh::draw ( const PhongMaterial material) const

◆ draw() [9/36]

void s3d::Mesh::draw ( const Texture texture,
const ColorF color = Palette::White 
) const

◆ draw() [10/36]

void s3d::Mesh::draw ( const Texture texture,
const PhongMaterial material 
) const

◆ draw() [11/36]

void s3d::Mesh::draw ( const TextureRegion textureRegion,
const ColorF color = Palette::White 
) const

◆ draw() [12/36]

void s3d::Mesh::draw ( const TextureRegion textureRegion,
const PhongMaterial material 
) const

◆ draw() [13/36]

void s3d::Mesh::draw ( const Vec3 pos,
const ColorF color = Palette::White 
) const

◆ draw() [14/36]

void s3d::Mesh::draw ( const Vec3 pos,
const PhongMaterial material 
) const

◆ draw() [15/36]

void s3d::Mesh::draw ( const Vec3 pos,
const Quaternion rotation,
const ColorF color = Palette::White 
) const

◆ draw() [16/36]

void s3d::Mesh::draw ( const Vec3 pos,
const Quaternion rotation,
const PhongMaterial material 
) const

◆ draw() [17/36]

void s3d::Mesh::draw ( const Vec3 pos,
const Quaternion rotation,
const Texture texture,
const ColorF color = Palette::White 
) const

◆ draw() [18/36]

void s3d::Mesh::draw ( const Vec3 pos,
const Quaternion rotation,
const Texture texture,
const PhongMaterial material 
) const

◆ draw() [19/36]

void s3d::Mesh::draw ( const Vec3 pos,
const Quaternion rotation,
const TextureRegion textureRegion,
const ColorF color = Palette::White 
) const

◆ draw() [20/36]

void s3d::Mesh::draw ( const Vec3 pos,
const Quaternion rotation,
const TextureRegion textureRegion,
const PhongMaterial material 
) const

◆ draw() [21/36]

void s3d::Mesh::draw ( const Vec3 pos,
const Texture texture,
const ColorF color = Palette::White 
) const

◆ draw() [22/36]

void s3d::Mesh::draw ( const Vec3 pos,
const Texture texture,
const PhongMaterial material 
) const

◆ draw() [23/36]

void s3d::Mesh::draw ( const Vec3 pos,
const TextureRegion textureRegion,
const ColorF color = Palette::White 
) const

◆ draw() [24/36]

void s3d::Mesh::draw ( const Vec3 pos,
const TextureRegion textureRegion,
const PhongMaterial material 
) const

◆ draw() [25/36]

void s3d::Mesh::draw ( double  x,
double  y,
double  z,
const ColorF color = Palette::White 
) const

◆ draw() [26/36]

void s3d::Mesh::draw ( double  x,
double  y,
double  z,
const PhongMaterial material 
) const

◆ draw() [27/36]

void s3d::Mesh::draw ( double  x,
double  y,
double  z,
const Quaternion rotation,
const ColorF color = Palette::White 
) const

◆ draw() [28/36]

void s3d::Mesh::draw ( double  x,
double  y,
double  z,
const Quaternion rotation,
const PhongMaterial material 
) const

◆ draw() [29/36]

void s3d::Mesh::draw ( double  x,
double  y,
double  z,
const Quaternion rotation,
const Texture texture,
const ColorF color = Palette::White 
) const

◆ draw() [30/36]

void s3d::Mesh::draw ( double  x,
double  y,
double  z,
const Quaternion rotation,
const Texture texture,
const PhongMaterial material 
) const

◆ draw() [31/36]

void s3d::Mesh::draw ( double  x,
double  y,
double  z,
const Quaternion rotation,
const TextureRegion textureRegion,
const ColorF color = Palette::White 
) const

◆ draw() [32/36]

void s3d::Mesh::draw ( double  x,
double  y,
double  z,
const Quaternion rotation,
const TextureRegion textureRegion,
const PhongMaterial material 
) const

◆ draw() [33/36]

void s3d::Mesh::draw ( double  x,
double  y,
double  z,
const Texture texture,
const ColorF color = Palette::White 
) const

◆ draw() [34/36]

void s3d::Mesh::draw ( double  x,
double  y,
double  z,
const Texture texture,
const PhongMaterial material 
) const

◆ draw() [35/36]

void s3d::Mesh::draw ( double  x,
double  y,
double  z,
const TextureRegion textureRegion,
const ColorF color = Palette::White 
) const

◆ draw() [36/36]

void s3d::Mesh::draw ( double  x,
double  y,
double  z,
const TextureRegion textureRegion,
const PhongMaterial material 
) const

◆ drawSubset() [1/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
const ColorF color = Palette::White 
) const

◆ drawSubset() [2/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
const Mat4x4 mat,
const ColorF color = Palette::White 
) const

◆ drawSubset() [3/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
const Mat4x4 mat,
const PhongMaterial material 
) const

◆ drawSubset() [4/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
const Mat4x4 mat,
const Texture texture,
const ColorF color = Palette::White 
) const

◆ drawSubset() [5/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
const Mat4x4 mat,
const Texture texture,
const PhongMaterial material 
) const

◆ drawSubset() [6/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
const Mat4x4 mat,
const TextureRegion textureRegion,
const ColorF color = Palette::White 
) const

◆ drawSubset() [7/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
const Mat4x4 mat,
const TextureRegion textureRegion,
const PhongMaterial material 
) const

◆ drawSubset() [8/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
const PhongMaterial material 
) const

◆ drawSubset() [9/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
const Texture texture,
const ColorF color = Palette::White 
) const

◆ drawSubset() [10/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
const Texture texture,
const PhongMaterial material 
) const

◆ drawSubset() [11/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
const TextureRegion textureRegion,
const ColorF color = Palette::White 
) const

◆ drawSubset() [12/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
const TextureRegion textureRegion,
const PhongMaterial material 
) const

◆ drawSubset() [13/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
const Vec3 pos,
const ColorF color = Palette::White 
) const

◆ drawSubset() [14/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
const Vec3 pos,
const PhongMaterial material 
) const

◆ drawSubset() [15/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
const Vec3 pos,
const Quaternion rotation,
const ColorF color = Palette::White 
) const

◆ drawSubset() [16/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
const Vec3 pos,
const Quaternion rotation,
const PhongMaterial material 
) const

◆ drawSubset() [17/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
const Vec3 pos,
const Quaternion rotation,
const Texture texture,
const ColorF color = Palette::White 
) const

◆ drawSubset() [18/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
const Vec3 pos,
const Quaternion rotation,
const Texture texture,
const PhongMaterial material 
) const

◆ drawSubset() [19/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
const Vec3 pos,
const Quaternion rotation,
const TextureRegion textureRegion,
const ColorF color = Palette::White 
) const

◆ drawSubset() [20/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
const Vec3 pos,
const Quaternion rotation,
const TextureRegion textureRegion,
const PhongMaterial material 
) const

◆ drawSubset() [21/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
const Vec3 pos,
const Texture texture,
const ColorF color = Palette::White 
) const

◆ drawSubset() [22/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
const Vec3 pos,
const Texture texture,
const PhongMaterial material 
) const

◆ drawSubset() [23/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
const Vec3 pos,
const TextureRegion textureRegion,
const ColorF color = Palette::White 
) const

◆ drawSubset() [24/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
const Vec3 pos,
const TextureRegion textureRegion,
const PhongMaterial material 
) const

◆ drawSubset() [25/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
double  x,
double  y,
double  z,
const ColorF color = Palette::White 
) const

◆ drawSubset() [26/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
double  x,
double  y,
double  z,
const PhongMaterial material 
) const

◆ drawSubset() [27/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
double  x,
double  y,
double  z,
const Quaternion rotation,
const ColorF color = Palette::White 
) const

◆ drawSubset() [28/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
double  x,
double  y,
double  z,
const Quaternion rotation,
const PhongMaterial material 
) const

◆ drawSubset() [29/36]

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

◆ drawSubset() [30/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
double  x,
double  y,
double  z,
const Quaternion rotation,
const Texture texture,
const PhongMaterial material 
) const

◆ drawSubset() [31/36]

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

◆ drawSubset() [32/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
double  x,
double  y,
double  z,
const Quaternion rotation,
const TextureRegion textureRegion,
const PhongMaterial material 
) const

◆ drawSubset() [33/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
double  x,
double  y,
double  z,
const Texture texture,
const ColorF color = Palette::White 
) const

◆ drawSubset() [34/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
double  x,
double  y,
double  z,
const Texture texture,
const PhongMaterial material 
) const

◆ drawSubset() [35/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
double  x,
double  y,
double  z,
const TextureRegion textureRegion,
const ColorF color = Palette::White 
) const

◆ drawSubset() [36/36]

void s3d::Mesh::drawSubset ( uint32  startTriangle,
uint32  triangleCount,
double  x,
double  y,
double  z,
const TextureRegion textureRegion,
const PhongMaterial material 
) const

◆ num_triangles()

size_t s3d::Mesh::num_triangles ( ) const

◆ num_vertices()

size_t s3d::Mesh::num_vertices ( ) const

◆ swap()

void s3d::Mesh::swap ( Mesh other)
noexcept

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