15 lines
528 B
Haxe
Raw Normal View History

2025-01-22 16:18:30 +01:00
package kha.graphics5_;
interface Graphics {
function begin(target: RenderTarget): Void;
function end(): Void;
function swapBuffers(): Void;
#if kha_dxr
function setAccelerationStructure(accel: AccelerationStructure): Void;
function setRayTracePipeline(pipe: RayTracePipeline): Void;
function setRayTraceTarget(target: RayTraceTarget): Void;
function dispatchRays(commandList: CommandList): Void;
function copyRayTraceTarget(commandList: CommandList, renderTarget: RenderTarget, output: RayTraceTarget): Void;
#end
}