Esempio n. 1
0
 public void DynamicScissors(uint firstScissor, Span <VkRect2D> scissors)
 {
     unsafe
     {
         fixed(VkRect2D *scissor = &scissors.DangerousGetPinnableReference())
         VkCommandBuffer.vkCmdSetScissor(Handle, firstScissor, (uint)scissors.Length,
                                         scissor);
     }
 }