mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-19 04:04:54 +02:00
Added screensapce decal system and stamp placement system in Radiant.
This commit is contained in:
@@ -1728,6 +1728,21 @@ typedef struct glRaytracingLightingPassDesc_s
|
||||
uint32_t height;
|
||||
} glRaytracingLightingPassDesc_t;
|
||||
|
||||
typedef struct glScreenSpaceDecal_s
|
||||
{
|
||||
glRaytracingVec3_t origin;
|
||||
float halfSize;
|
||||
glRaytracingVec3_t normal;
|
||||
float depth;
|
||||
glRaytracingVec3_t axisU;
|
||||
float opacity;
|
||||
glRaytracingVec3_t axisV;
|
||||
float pad0;
|
||||
float color[4];
|
||||
uint32_t textureId;
|
||||
float pad1[3];
|
||||
} glScreenSpaceDecal_t;
|
||||
|
||||
int glRaytracingInit(void);
|
||||
void glRaytracingShutdown(void);
|
||||
void glRaytracingClear(void);
|
||||
@@ -1821,6 +1836,8 @@ glRaytracingLight_t glRaytracingLightingMakeRectLight(
|
||||
uint32_t glRaytracingLightingGetLightCount(void);
|
||||
|
||||
void glLightScene(glRaytracingSceneHandle_t sceneHandle);
|
||||
void glSetScreenSpaceDecalsQD3D12(const glScreenSpaceDecal_t* decals, uint32_t decalCount);
|
||||
void glDrawScreenSpaceDecalsQD3D12(void);
|
||||
|
||||
ID3D12Device* QD3D12_GetDevice(void);
|
||||
ID3D12CommandQueue* QD3D12_GetQueue(void);
|
||||
|
||||
Reference in New Issue
Block a user