Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qssgrendertexturedata_p.h>
Public Member Functions | |
QSSGRenderTextureData () | |
virtual | ~QSSGRenderTextureData () |
const QByteArray & | textureData () const |
void | setTextureData (const QByteArray &data) |
QSize | size () const |
void | setSize (const QSize &size) |
int | depth () const |
void | setDepth (int depth) |
QSSGRenderTextureFormat | format () const |
void | setFormat (QSSGRenderTextureFormat format) |
bool | hasTransparency () const |
void | setHasTransparency (bool hasTransparency) |
quint32 | version () const |
Public Member Functions inherited from QSSGRenderGraphObject | |
bool | hasGraphicsResources () const noexcept |
virtual Q_QUICK3D_PROFILE_ID_ | ~QSSGRenderGraphObject () |
Public Attributes | |
QString | debugObjectName |
Public Attributes inherited from QSSGRenderGraphObject | |
const Type | type |
FlagT | flags { 0 } |
Protected Member Functions | |
QSSGRenderTextureData (QSSGRenderGraphObject::Type inType) | |
Protected Member Functions inherited from QSSGRenderGraphObject | |
QSSGRenderGraphObject (QSSGRenderGraphObject::Type inType) | |
QSSGRenderGraphObject (QSSGRenderGraphObject::Type inType, FlagT inFlags) | |
Protected Attributes | |
QByteArray | m_textureData |
QSize | m_size |
int | m_depth = 0 |
quint32 | m_textureDataVersion = 0 |
QSSGRenderTextureFormat | m_format = QSSGRenderTextureFormat::Unknown |
bool | m_hasTransparency = false |
Additional Inherited Members | |
Public Types inherited from QSSGRenderGraphObject | |
enum | BaseType : quint32 { Node = 0x1000 , Light = 0x2000 , Camera = 0x4000 , Renderable = 0x8000 , Resource = 0x10000 , Material = 0x20000 , Texture = 0x40000 , Extension = 0x80000 , User = 0x80000000 } |
enum class | Type : quint32 { Unknown = 0 , Node = BaseType::Node , Layer , Joint , Skeleton , ImportScene , ReflectionProbe , DirectionalLight = BaseType::Light | BaseType::Node , PointLight , SpotLight , OrthographicCamera = BaseType::Camera | BaseType::Node , PerspectiveCamera , CustomFrustumCamera , CustomCamera , Model = BaseType::Renderable | BaseType::Node , Item2D , Particles , SceneEnvironment = BaseType::Resource , Effect , Geometry , TextureData , MorphTarget , ModelInstance , ModelBlendParticle , ResourceLoader , DefaultMaterial = BaseType::Material | BaseType::Resource , PrincipledMaterial , CustomMaterial , SpecularGlossyMaterial , Skin , Image2D = BaseType::Texture | BaseType::Resource , ImageCube , RenderExtension = BaseType::Extension } |
enum class | Flags : quint32 { HasGraphicsResources = 0x1 } |
using | TypeT = std::underlying_type_t<Type> |
using | FlagT = std::underlying_type_t<Flags> |
Static Public Member Functions inherited from QSSGRenderGraphObject | |
static constexpr bool | isNodeType (Type type) noexcept |
static constexpr bool | isLight (Type type) noexcept |
static constexpr bool | isCamera (Type type) noexcept |
static constexpr bool | isMaterial (Type type) noexcept |
static constexpr bool | isTexture (Type type) noexcept |
static constexpr bool | isRenderable (Type type) noexcept |
static constexpr bool | isResource (Type type) noexcept |
static constexpr bool | isExtension (Type type) noexcept |
static constexpr bool | isUserType (Type type) noexcept |
Definition at line 27 of file qssgrendertexturedata_p.h.
|
explicit |
Definition at line 8 of file qssgrendertexturedata.cpp.
|
virtual |
Definition at line 20 of file qssgrendertexturedata.cpp.
|
explicitprotected |
Definition at line 14 of file qssgrendertexturedata.cpp.
|
inline |
Definition at line 39 of file qssgrendertexturedata_p.h.
|
inline |
Definition at line 42 of file qssgrendertexturedata_p.h.
|
inline |
Definition at line 45 of file qssgrendertexturedata_p.h.
void QSSGRenderTextureData::setDepth | ( | int | depth | ) |
Definition at line 44 of file qssgrendertexturedata.cpp.
void QSSGRenderTextureData::setFormat | ( | QSSGRenderTextureFormat | format | ) |
Definition at line 51 of file qssgrendertexturedata.cpp.
void QSSGRenderTextureData::setHasTransparency | ( | bool | hasTransparency | ) |
Definition at line 59 of file qssgrendertexturedata.cpp.
Definition at line 37 of file qssgrendertexturedata.cpp.
void QSSGRenderTextureData::setTextureData | ( | const QByteArray & | data | ) |
Definition at line 30 of file qssgrendertexturedata.cpp.
|
inline |
Definition at line 36 of file qssgrendertexturedata_p.h.
const QByteArray & QSSGRenderTextureData::textureData | ( | ) | const |
Definition at line 25 of file qssgrendertexturedata.cpp.
|
inlinenodiscard |
Definition at line 49 of file qssgrendertexturedata_p.h.
QString QSSGRenderTextureData::debugObjectName |
Definition at line 51 of file qssgrendertexturedata_p.h.
|
protected |
Definition at line 61 of file qssgrendertexturedata_p.h.
|
protected |
Definition at line 63 of file qssgrendertexturedata_p.h.
|
protected |
Definition at line 64 of file qssgrendertexturedata_p.h.
|
protected |
Definition at line 60 of file qssgrendertexturedata_p.h.
|
protected |
Definition at line 59 of file qssgrendertexturedata_p.h.
|
protected |
Definition at line 62 of file qssgrendertexturedata_p.h.