forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
@ -0,0 +1,17 @@
|
||||
package kha.graphics5;
|
||||
|
||||
#if kha_dxr
|
||||
@:headerCode('
|
||||
#include <Kore/Graphics5/RayTrace.h>
|
||||
')
|
||||
@:headerClassCode("Kore::Graphics5::AccelerationStructure* accel;")
|
||||
class AccelerationStructure {
|
||||
public function new(commandList: CommandList, vb: VertexBuffer, ib: IndexBuffer) {
|
||||
init(commandList, vb, ib);
|
||||
}
|
||||
|
||||
function init(commandList: CommandList, vb: VertexBuffer, ib: IndexBuffer) {
|
||||
untyped __cpp__("accel = new Kore::Graphics5::AccelerationStructure(commandList->commandList, vb->buffer, ib->buffer);");
|
||||
}
|
||||
}
|
||||
#end
|
Reference in New Issue
Block a user