mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 00:41:24 +00:00
- backend update from GZDoom.
This commit is contained in:
parent
b15810e173
commit
ba5ede65b8
20 changed files with 345 additions and 165 deletions
|
@ -50,7 +50,7 @@ public:
|
|||
|
||||
void SetViewport(int x, int y, int width, int height, DCanvas *canvas, PolyDepthStencil *depthStencil, bool topdown);
|
||||
void SetInputAssembly(PolyInputAssembly *input);
|
||||
void SetVertexBuffer(const void *vertices);
|
||||
void SetVertexBuffer(const void *vertices, int offset0, int offset1); // [GEC] Add offset params
|
||||
void SetIndexBuffer(const void *elements);
|
||||
void SetLightBuffer(const void *lights);
|
||||
void SetViewpointUniforms(const HWViewpointUniforms *uniforms);
|
||||
|
@ -111,10 +111,11 @@ struct PolyPushConstants
|
|||
|
||||
// dynamic lights
|
||||
int uLightIndex;
|
||||
FVector4 uDynLightColor; // [GEC]
|
||||
};
|
||||
|
||||
class PolyInputAssembly
|
||||
{
|
||||
public:
|
||||
virtual void Load(PolyTriangleThreadData *thread, const void *vertices, int index) = 0;
|
||||
virtual void Load(PolyTriangleThreadData *thread, const void *vertices, int frame0, int frame1, int index) = 0; // [GEC] Add frame params
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue