| qabstracttexture.cpp |
!
\class Qt3DRender::QAbstractTexture
\inmodule Qt3DRender
\since 5.5
\brief A base class to be used to provide textures.
The QAbstractTexture class shouldn't be used directly but rather through
one of its subclasses. Each subclass implements a given texture target (2D,
2DArray, 3D, CubeMap ...) Each subclass provides a set of functors for each
layer, cube map face and mipmap level. In turn the backend uses those
functor to properly fill a corresponding OpenGL texture with data. It is
expected the functor does as minimal processing as possible so as not
to slow down textures generation and upload. If the content of a texture is
the result of a slow procedural generation process, it is recommended not
to implement this directly in a functor.
All textures are unique. If you instantiate twice the same texture this
will create 2 identical textures on the GPU, no sharing will take place.
|
27747 |
- |
| qabstracttexture.h |
|
15014 |
- |
| qabstracttexture_p.h |
|
2180 |
- |
| qabstracttextureimage.cpp |
!
\class Qt3DRender::QTextureImageDataGenerator
\inmodule Qt3DRender
\since 5.7
\brief Provides texture image data for QAbstractTextureImage.
QTextureImageDataGenerator is a data provider for QAbstractTexture.
QTextureImageDataGenerator can be used to expand Qt3D with more ways to load
texture image data as well as support user-defined formats and formats Qt3D
does not natively support. The data is returned by the QTextureImageDataPtr
which contains the data that will be loaded to the texture.
QTextureImageDataGenerator is executed by Aspect jobs in the backend.
|
6687 |
- |
| qabstracttextureimage.h |
|
1644 |
- |
| qabstracttextureimage_p.h |
|
1222 |
- |
| qpaintedtextureimage.cpp |
!
\class Qt3DRender::QPaintedTextureImage
\inmodule Qt3DRender
\since 5.8
\brief A QAbstractTextureImage that can be written through a QPainter.
A QPaintedTextureImage provides a way to specify a texture image
(and thus an OpenGL texture) through a QPainter. The width and height of the
texture image can be specified through the width and height or size
properties.
A QPaintedTextureImage must be subclassed and the virtual paint() function
implemented. Each time update() is called on the QPaintedTextureImage,
the paint() function is invoked and the resulting image is uploaded.
The QPaintedTextureImage must be attached to some QAbstractTexture.
|
6716 |
- |
| qpaintedtextureimage.h |
|
1398 |
- |
| qpaintedtextureimage_p.h |
|
1949 |
- |
| qtexture.cpp |
|
68408 |
- |
| qtexture.h |
|
3784 |
- |
| qtexture_p.h |
|
3238 |
- |
| qtexturedata.cpp |
!
\class Qt3DRender::QTextureData
\inheaderfile Qt3DRender/QTextureData
\brief The QTextureData class stores texture information such as
the target, height, width, depth, layers, wrap, and if mipmaps are enabled.
\since 5.7
\inmodule Qt3DRender
|
7126 |
- |
| qtexturedata.h |
|
2415 |
- |
| qtexturedataupdate.cpp |
!
\class Qt3DRender::QTextureDataUpdate
\inmodule Qt3DRender
\brief QTextureDataUpdate holds content and information required to perform
partial updates of a texture content.
The actual data content is contained in a QTextureImageDataPtr member.
Additional members allow to specify the x, y, z offset of the content update
as well as the eventual layer, mipLevel and face.
\sa QAbstractTexture
\since 5.14
|
3220 |
- |
| qtexturedataupdate.h |
|
2115 |
- |
| qtexturedataupdate_p.h |
|
1044 |
- |
| qtexturegenerator.cpp |
! class Qt3DRender::QTextureGenerator
\inmodule Qt3DRender
\brief Generates the necessary information to create an OpenGL texture image.
|
879 |
- |
| qtexturegenerator_p.h |
|
1275 |
- |
| qtextureimage.cpp |
!
\class Qt3DRender::QTextureImage
\inmodule Qt3DRender
\since 5.5
\brief Encapsulates the necessary information to create an OpenGL texture
image from an image source.
It contains the necessary information mipmap level, layer, cube face and
source URL to load at the proper place data into an OpenGL texture.
|
8274 |
- |
| qtextureimage.h |
|
1519 |
- |
| qtextureimage_p.h |
|
1911 |
- |
| qtextureimagedata.cpp |
!
\class Qt3DRender::QTextureImageData
\inmodule Qt3DRender
\since 5.5
\brief QTextureImageData stores data representing a texture.
|
10441 |
- |
| qtextureimagedata.h |
|
2466 |
- |
| qtextureimagedata_p.h |
|
2232 |
- |
| qtextureimagedatagenerator.h |
|
1257 |
- |
| qtexturewrapmode.cpp |
!
\class Qt3DRender::QTextureWrapMode
\inmodule Qt3DRender
\since 5.5
\brief Defines the wrap mode a Qt3DRender::QAbstractTexture
should apply to a texture.
|
3185 |
- |
| qtexturewrapmode.h |
|
1549 |
- |
| texture.cpp |
|
6078 |
- |
| texture_p.h |
General, constant properties of a texture
|
6188 |
- |
| texturedatamanager_p.h |
The texture data managers associates each texture data generator
with the data objects generated by them. That is, either
QTextureImageDataGenerator -> QTextureImageData, or
QTextureGenerator -> QTextureData
This way, texture classes only need to refer to the texture functors used.
Aspect jobs will make sure that at the start of each frame, all generators
registered with the GeneratorDataManagers have been executed.
This guarantees that no texture data generator is executed twice.
Each Generator is associated with a number of textures that reference it.
If the last texture disassociates from a generator, the QTextureData will
be deleted.
|
5493 |
- |
| textureimage.cpp |
|
2575 |
- |
| textureimage_p.h |
Backend class for QAbstractTextureImage.
Will only hold the generator and some info values.
|
2695 |
- |