Public Member Functions | |
| None | __init__ (self, "App" app, int size, *, bool storage=False) |
| A small host-writable uniform or storage buffer. | |
| None | close (self) |
| None | write (self, bytes data) |
Public Attributes | |
| native = None | |
Allocate a buffer with size bytes. | |
Definition at line 187 of file graphics.py.
| None mxvk_wrap.graphics.GpuBuffer.__init__ | ( | self, | |
| "App" | app, | ||
| int | size, | ||
| * | , | ||
| bool | storage = False ) |
A small host-writable uniform or storage buffer.
Definition at line 190 of file graphics.py.
| None mxvk_wrap.graphics.GpuBuffer.close | ( | self | ) |
Definition at line 204 of file graphics.py.
| None mxvk_wrap.graphics.GpuBuffer.write | ( | self, | |
| bytes | data ) |
Definition at line 200 of file graphics.py.
| mxvk_wrap.graphics.GpuBuffer.native = None |
Allocate a buffer with size bytes.
Definition at line 192 of file graphics.py.