Exemplo n.º 1
0
 internal VulkanGraphicsPrimitive(VulkanGraphicsDevice graphicsDevice, VulkanGraphicsPipeline graphicsPipeline, VulkanGraphicsBuffer vertexBuffer, VulkanGraphicsBuffer?indexBuffer, ReadOnlySpan <GraphicsBuffer> inputBuffers = default)
     : base(graphicsDevice, graphicsPipeline, vertexBuffer, indexBuffer, inputBuffers)
 {
     _ = _state.Transition(to: Initialized);
 }
Exemplo n.º 2
0
 internal VulkanGraphicsPrimitive(VulkanGraphicsDevice device, VulkanGraphicsPipeline pipeline, in GraphicsBufferView vertexBufferView, in GraphicsBufferView indexBufferView, ReadOnlySpan <GraphicsResource> inputResources = default)