28 #ifndef __PatchMesh_H__ 29 #define __PatchMesh_H__ 59 void update(
void* controlPointBuffer,
size_t width,
size_t height,
60 size_t uMaxSubdivisionLevel,
size_t vMaxSubdivisionLevel,
63 void define(
void* controlPointBuffer,
70 bool vbUseShadow =
false,
bool ibUseShadow =
false);
75 void setSubdivision(
Real factor);
Patch specialisation of Mesh.
Combination of HBU_STATIC and HBU_WRITE_ONLY.
The side from which u goes right and v goes up (as in texture coords)
float Real
Software floating point type.
PatchSurface mSurface
Internal surface definition.
VertexDeclaration * mDeclaration
Vertex declaration, cloned from the input.
unsigned long long int ResourceHandle
This class declares the format of a set of vertex inputs, which can be issued to the rendering API th...
Combination of HBU_DYNAMIC and HBU_WRITE_ONLY.
void prepareImpl(void)
Overridden from Resource - do nothing (no disk caching)
Resource holding data about 3D mesh.
Usage
Enums describing buffer usage; not mutually exclusive.
Defines a generic resource handler.
This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info...
A surface which is defined by curves of some kind to form a patch, e.g.