Files
Ink-Shader-Language/test/buffers.ink

12 lines
172 B
Plaintext

property_buffer :: Buffer {
color : float4;
}
const_buffer :: Constant_Buffer {
color : float4;
}
pixel main :: (index : int) {
return property_buffer[index].color;
}