1 module evael.renderer.vk.vk_command;
2 
3 import evael.renderer.graphics_command;
4 
5 public 
6 {
7     import evael.utils.color;
8     import evael.renderer.texture;
9 }
10 
11 class VulkanCommand : GraphicsCommand
12 {
13     /**
14      * VkCommand constructor.
15      */
16     @nogc
17     public this(Pipeline pipeline)
18     {
19         super(pipeline);
20     }
21 
22     /**
23      * VkCommand destructor.
24      */
25     @nogc
26     public ~this()
27     {
28 
29     }
30 
31     /**
32      * Specifies clear values for the color buffers.
33      * Params:
34      *		color : clear color
35      */
36     @nogc
37     public override void clearColor(in Color color = Color.Black) const nothrow
38     {
39         auto colorf = color.asFloat();
40 
41 
42     }
43 
44     /**
45      * Renders primitives.
46      * Params:
47      * 		first : starting index in the enabled arrays
48      * 		count : number of indices to be rendered
49      */
50     @nogc
51     public void draw(T)(in int first, in int count) nothrow
52     {
53     }
54     
55     /**
56      * Renders indexed primitives.
57      * Params:
58      * 		count : number of elements to be rendered
59      * 		type : the type of the values in indices
60      *      indices : pointer to the location where the indices are stored
61      */
62     @nogc
63     public void drawIndexed(T)(in int count, in IndexBufferType type, in void* indices) const nothrow
64     {
65     }
66 }