mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 07:04:36 +00:00
Direct3D11 Engine/source changes
This commit is contained in:
parent
3a9b50f702
commit
41e5caf22b
81 changed files with 1291 additions and 617 deletions
|
|
@ -188,7 +188,7 @@ void CameraSpline::renderTimeMap()
|
|||
gBuilding = true;
|
||||
|
||||
// Build vertex buffer
|
||||
GFXVertexBufferHandle<GFXVertexPC> vb;
|
||||
GFXVertexBufferHandle<GFXVertexPCT> vb;
|
||||
vb.set(GFX, mTimeMap.size(), GFXBufferTypeVolatile);
|
||||
void *ptr = vb.lock();
|
||||
if(!ptr) return;
|
||||
|
|
|
|||
|
|
@ -1557,7 +1557,7 @@ void Precipitation::renderObject(ObjectRenderInst *ri, SceneRenderState *state,
|
|||
Point3F pos;
|
||||
VectorF orthoDir, velocity, right, up, rightUp(0.0f, 0.0f, 0.0f), leftUp(0.0f, 0.0f, 0.0f);
|
||||
F32 distance = 0;
|
||||
GFXVertexPT* vertPtr = NULL;
|
||||
GFXVertexPCT* vertPtr = NULL;
|
||||
const Point2F *tc;
|
||||
|
||||
// Do this here and we won't have to in the loop!
|
||||
|
|
|
|||
|
|
@ -239,7 +239,7 @@ class Precipitation : public GameBase
|
|||
void destroySplash(Raindrop *drop); ///< Removes a drop from the splash list
|
||||
|
||||
GFXPrimitiveBufferHandle mRainIB;
|
||||
GFXVertexBufferHandle<GFXVertexPT> mRainVB;
|
||||
GFXVertexBufferHandle<GFXVertexPCT> mRainVB;
|
||||
|
||||
bool onAdd();
|
||||
void onRemove();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue