forked from LeenkxTeam/LNXSDK
Update
This commit is contained in:
24
Kha/Backends/Kore-HL/kha/graphics4/ShaderStorageBuffer.hx
Normal file
24
Kha/Backends/Kore-HL/kha/graphics4/ShaderStorageBuffer.hx
Normal file
@ -0,0 +1,24 @@
|
||||
package kha.graphics4;
|
||||
|
||||
class ShaderStorageBuffer {
|
||||
public var _buffer: Pointer;
|
||||
|
||||
var data: Array<Int>;
|
||||
var myCount: Int;
|
||||
|
||||
public function new(indexCount: Int, type: VertexData) {}
|
||||
|
||||
function init(indexCount: Int, type: VertexData) {}
|
||||
|
||||
public function delete(): Void {}
|
||||
|
||||
public function lock(): Array<Int> {
|
||||
return data;
|
||||
}
|
||||
|
||||
public function unlock(): Void {}
|
||||
|
||||
public function count(): Int {
|
||||
return myCount;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user