QRenderAttachment Class

(Qt3D::QRenderAttachment)
Inherits:

Public Types

enum CubeMapFace { CubeMapPositiveX, CubeMapNegativeX, CubeMapPositiveY, CubeMapNegativeY, CubeMapPositiveZ, CubeMapNegativeZ }
enum RenderAttachmentType { ColorAttachment0, ColorAttachment1, ColorAttachment2, ColorAttachment3, ..., DepthStencilAttachment }

Properties

  • name : QString
  • texture : Qt3D::QAbstractTextureProvider *
  • type : RenderAttachmentType

Public Functions

QRenderAttachment(QNode * parent = 0)
~QRenderAttachment()
CubeMapFace face() const
int layer() const
int mipLevel() const
QString name() const
void setFace(CubeMapFace face)
void setLayer(int layer)
void setMipLevel(int level)
void setName(const QString & name)
void setTexture(QAbstractTextureProvider * texture)
void setType(RenderAttachmentType type)
QAbstractTextureProvider * texture() const
RenderAttachmentType type() const

Signals

Protected Functions

void copy(const QNode * ref)

Member Type Documentation

enum QRenderAttachment::CubeMapFace

enum QRenderAttachment::RenderAttachmentType

Property Documentation

face : CubeMapFace

Access functions:

CubeMapFace face() const
void setFace(CubeMapFace face)

Notifier signal:

void faceChanged()

layer : int

Access functions:

int layer() const
void setLayer(int layer)

Notifier signal:

void layerChanged()

mipLevel : int

Access functions:

int mipLevel() const
void setMipLevel(int level)

Notifier signal:

void mipLevelChanged()

name : QString

Access functions:

QString name() const
void setName(const QString & name)

Notifier signal:

void nameChanged()

texture : Qt3D::QAbstractTextureProvider *

Access functions:

QAbstractTextureProvider * texture() const
void setTexture(QAbstractTextureProvider * texture)

Notifier signal:

void textureChanged()

type : RenderAttachmentType

Access functions:

RenderAttachmentType type() const
void setType(RenderAttachmentType type)

Notifier signal:

void typeChanged()

Member Function Documentation

QRenderAttachment::QRenderAttachment(QNode * parent = 0)

QRenderAttachment::~QRenderAttachment()

[protected] void QRenderAttachment::copy(const QNode * ref)

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.