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

12 lines
167 B
Plaintext

property_buffer :: buffer {
color : float4;
}
cbuffer :: constant_buffer {
color : float4;
}
pixel main :: (index : int) {
return property_buffer[index].color;
}