Cleanup: code-comments, use doxygen formatting & spelling corrections
Also move some function doc-strings from the implementation to their declarations.
This commit is contained in:
@@ -25,7 +25,7 @@ struct BPyGPUBatch {
|
||||
/* The batch is owned, we may support thin wrapped batches later. */
|
||||
blender::gpu::Batch *batch;
|
||||
#ifdef USE_GPU_PY_REFERENCES
|
||||
/* Just to keep a user to prevent freeing buf's we're using */
|
||||
/* Just to keep a user to prevent freeing buffers we're using. */
|
||||
PyObject *references;
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -47,7 +47,7 @@ struct BPyGPUStageInterfaceInfo {
|
||||
PyObject_VAR_HEAD
|
||||
GPUStageInterfaceInfo *interface;
|
||||
#ifdef USE_GPU_PY_REFERENCES
|
||||
/* Just to keep a user to prevent freeing buf's we're using. */
|
||||
/* Just to keep a user to prevent freeing buffers we're using. */
|
||||
PyObject *references;
|
||||
#endif
|
||||
};
|
||||
@@ -56,7 +56,7 @@ struct BPyGPUShaderCreateInfo {
|
||||
PyObject_VAR_HEAD
|
||||
GPUShaderCreateInfo *info;
|
||||
#ifdef USE_GPU_PY_REFERENCES
|
||||
/* Just to keep a user to prevent freeing buf's we're using. */
|
||||
/* Just to keep a user to prevent freeing buffers we're using. */
|
||||
PyObject *vertex_source;
|
||||
PyObject *fragment_source;
|
||||
PyObject *compute_source;
|
||||
|
||||
Reference in New Issue
Block a user