Go to the documentation of this file.
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);
unsigned long long int ResourceHandle
A surface which is defined by curves of some kind to form a patch, e.g.
@ HBU_DYNAMIC_WRITE_ONLY
Combination of HBU_DYNAMIC and HBU_WRITE_ONLY.
@ VS_FRONT
The side from which u goes right and v goes up (as in texture coords)
void prepareImpl(void)
Overridden from Resource - do nothing (no disk caching)
@ HBU_STATIC_WRITE_ONLY
Combination of HBU_STATIC and HBU_WRITE_ONLY.
This class declares the format of a set of vertex inputs, which can be issued to the rendering API th...
PatchSurface mSurface
Internal surface definition.
VertexDeclaration * mDeclaration
Vertex declaration, cloned from the input.
Defines a generic resource handler.
Patch specialisation of Mesh.
Usage
Enums describing buffer usage; not mutually exclusive.
Resource holding data about 3D mesh.
float Real
Software floating point type.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15