@@ -47,7 +47,7 @@ def __init__(
47
47
self ,
48
48
ctx : Context ,
49
49
program : Program ,
50
- content : Sequence , # TODO: typing, this should be Sequence[BufferDescription] need generic BufferDescription though
50
+ content : Sequence , # TODO: typing, this should be Sequence[BufferDescription]
51
51
index_buffer : Buffer | None = None ,
52
52
index_element_size : int = 4 ,
53
53
) -> None :
@@ -96,7 +96,7 @@ def render(
96
96
mode : int ,
97
97
first : int = 0 ,
98
98
vertices : int = 0 ,
99
- instances : int = 1 , # TODO: typing, technically mode can also be a ctypes uint in GL backend
99
+ instances : int = 1 , # TODO: typing, mode can also be a ctypes uint in GL backend
100
100
) -> None :
101
101
"""
102
102
Render the VertexArray to the currently active framebuffer.
@@ -116,7 +116,7 @@ def render(
116
116
@abstractmethod
117
117
def render_indirect (
118
118
self , buffer : Buffer , mode : int , count , first , stride
119
- ) -> None : # TODO: typing, technically mode can also be a ctypes uint in GL backend
119
+ ) -> None : # TODO: typing, mode can also be a ctypes uint in GL backend
120
120
"""
121
121
Render the VertexArray to the framebuffer using indirect rendering.
122
122
@@ -141,8 +141,8 @@ def render_indirect(
141
141
def transform_interleaved (
142
142
self ,
143
143
buffer : Buffer ,
144
- mode , # TODO, typing. This should be GLenumLike type but idk how to handle that generically yet
145
- output_mode , # TODO, typing. This should be GLenumLike type but idk how to handle that generically yet
144
+ mode , # TODO, typing. This should be GLenumLike type
145
+ output_mode , # TODO, typing. This should be GLenumLike type
146
146
first : int = 0 ,
147
147
vertices : int = 0 ,
148
148
instances : int = 1 ,
@@ -172,8 +172,8 @@ def transform_interleaved(
172
172
def transform_separate (
173
173
self ,
174
174
buffers : list [Buffer ],
175
- mode , # TODO, typing. This should be GLenumLike type but idk how to handle that generically yet
176
- output_mode , # TODO, typing. This should be GLenumLike type but idk how to handle that generically yet
175
+ mode , # TODO, typing. This should be GLenumLike type
176
+ output_mode , # TODO, typing. This should be GLenumLike type
177
177
first : int = 0 ,
178
178
vertices : int = 0 ,
179
179
instances : int = 1 ,
0 commit comments