| renderbuffer.cpp |
|
2185 |
- |
| renderbuffer_p.h |
|
1369 |
- |
| texture.cpp |
|
35067 |
- |
| texture_p.h |
@brief
Actual implementation of the OpenGL texture object. Makes sure the
QOpenGLTexture is up-to-date with the generators, properties and parameters
that were set for this RHITexture.
Can be shared among multiple QTexture backend nodes through the
RHITextureManager, which will make sure that there are no two GLTextures
sharing the same texture data.
A RHITexture can be unique though. In that case, it will not be shared
between QTextures, but private to one QTexture only.
A RHITexture can also represent an OpenGL renderbuffer object. This is used
only in certain special cases, mainly to provide a packed depth-stencil
renderbuffer suitable as an FBO attachment with OpenGL ES 3.1 and earlier.
Such a RHITexture will have no texture object under the hood, and therefore
the only valid operation is getOrCreateRenderBuffer().
|
7368 |
- |