Added Ink and ncore to modules
This commit is contained in:
11
test/buffers.ink
Normal file
11
test/buffers.ink
Normal file
@@ -0,0 +1,11 @@
|
||||
property_buffer :: Buffer {
|
||||
color : float4;
|
||||
}
|
||||
|
||||
const_buffer :: Constant_Buffer {
|
||||
color : float4;
|
||||
}
|
||||
|
||||
pixel main :: (index : int) {
|
||||
return property_buffer[index].color;
|
||||
}
|
||||
Reference in New Issue
Block a user