runtime pipeline
This commit is contained in:
parent
75c9ae5087
commit
415e523a45
20 changed files with 480 additions and 45 deletions
|
|
@ -322,6 +322,15 @@ export namespace Crafter {
|
|||
hitRegion = Pipeline::hitRegion;
|
||||
callableRegion = Pipeline::callableRegion;
|
||||
}
|
||||
|
||||
void SetPipelineRT(PipelineRTVulkan& pipeline) {
|
||||
rtPipeline = pipeline.pipeline;
|
||||
rtPipelineLayout = pipeline.pipelineLayout;
|
||||
raygenRegion = pipeline.raygenRegion;
|
||||
missRegion = pipeline.missRegion;
|
||||
hitRegion = pipeline.hitRegion;
|
||||
callableRegion = pipeline.callableRegion;
|
||||
}
|
||||
inline static wl_compositor* compositor = nullptr;
|
||||
static void wl_surface_frame_done(void *data, wl_callback *cb, uint32_t time);
|
||||
static void PointerListenerHandleMotion(void* data, wl_pointer* wl_pointer, uint time, wl_fixed_t surface_x, wl_fixed_t surface_y);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue