Back to class index
Mesh[Class Summary]
vb
boundingAABB
boundingSphere
ib
material
vsInput
psInput
texture
textureSampler
RenderOrderID()[const]
Deinit()
LoadFromFile(...)
LoadFromMSHFile(...) (+1 overload)
SaveToMSHFile(mshFilename) (+1 overload)
LoadFromOBJFile(...)
DeserializeFromXml(...)

Mesh::LoadFromMSHFile

Syntax

bool Mesh::LoadFromMSHFile(const char *mshFilename, bool hasCpuMemory=false, bool hasGpuMemory=true, ResourceUsage usage=UsageImmutable, bool cpuReadAccess=false, bool cpuWriteAccess=false);
bool Mesh::LoadFromMSHFile(FILE *handle, bool hasCpuMemory=false, bool hasGpuMemory=true, ResourceUsage usage=UsageImmutable, bool cpuReadAccess=false, bool cpuWriteAccess=false); [26 lines of code]

Returns true on success.

Work in progress:

Todo: in bool Mesh::LoadFromMSHFile(const char *mshFilename, bool hasCpuMemory=false, bool hasGpuMemory=true, ResourceUsage usage=UsageImmutable, bool cpuReadAccess=false, bool cpuWriteAccess=false):
Remove this.

Leave a Comment

Name:
Comments:
Captcha:captcha image Type in the black symbols:
Back to class index