Join the python modules gpu and _gpu into one.
Maybe it's still early to set the new drawing api for python.
But joining these two modules is an initial step.
```
>>> gpu.
matrix
select
types
```
```
>>> gpu.types.GPU
Batch(
OffScreen(
VertBuf(
VertFormat(
```
The creation of a new offscreen object is now done by the `GPUOffscreen.__new__` method.
Reviewers: campbellbarton, dfelinto
Reviewed By: campbellbarton, dfelinto
Tags: #bf_blender_2.8
Differential Revision: https://developer.blender.org/D3667
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
*******************
|
||||
GPU functions (gpu)
|
||||
*******************
|
||||
|
||||
.. module:: gpu
|
||||
|
||||
Functions for GPU offscreen rendering, matrix stacks and selection.
|
||||
|
||||
Submodules:
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
gpu.offscreen.rst
|
||||
|
||||
|
||||
Intro
|
||||
=====
|
||||
|
||||
Module to provide functions concerning the GPU implementation in Blender.
|
||||
Reference in New Issue
Block a user