forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
18
Kha/Backends/Kinc-hxcpp/kha/graphics5_/RayTracePipeline.hx
Normal file
18
Kha/Backends/Kinc-hxcpp/kha/graphics5_/RayTracePipeline.hx
Normal file
@ -0,0 +1,18 @@
|
||||
package kha.graphics5;
|
||||
|
||||
#if kha_dxr
|
||||
@:headerCode('
|
||||
#include <Kore/Graphics5/RayTrace.h>
|
||||
')
|
||||
@:headerClassCode("Kore::Graphics5::RayTracePipeline* pipeline;")
|
||||
class RayTracePipeline {
|
||||
public function new(commandList: CommandList, rayTraceShader: kha.Blob, constantBuffer: ConstantBuffer) {
|
||||
untyped __cpp__("pipeline = new Kore::Graphics5::RayTracePipeline(commandList->commandList, rayTraceShader->bytes->b->Pointer(), rayTraceShader->get_length(), constantBuffer->buffer);");
|
||||
}
|
||||
|
||||
@:keep
|
||||
function _forceInclude(): Void {
|
||||
haxe.io.Bytes.alloc(0);
|
||||
}
|
||||
}
|
||||
#end
|
Reference in New Issue
Block a user