[][src]Struct qt_3d_render::QRenderTargetOutput

#[repr(C)]pub struct QRenderTargetOutput { /* fields omitted */ }

The QRenderTargetOutput class allows the specification of an attachment of a render target (whether it is a color texture, a depth texture, etc... ).

C++ class: Qt3DRender::QRenderTargetOutput.

C++ documentation:

The QRenderTargetOutput class allows the specification of an attachment of a render target (whether it is a color texture, a depth texture, etc... ).

A QRenderTargetOutput specifies the attachment point and parameters for texture that is attached to render target. In addition to the attachment point, texture miplevel, layer and cubemap face can be specified. The texture attached to the QRenderTargetOutput must be compatible with the given parameters.

Methods

impl QRenderTargetOutput[src]

pub fn slot_set_attachment_point(&self) -> Receiver<(AttachmentPoint,)>[src]

Holds the attachment point of the QRenderTargetOutput.

Returns a built-in Qt slot Qt3DRender::QRenderTargetOutput::setAttachmentPoint that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the attachment point of the QRenderTargetOutput.

Access functions:

AttachmentPoint attachmentPoint() const
void setAttachmentPoint(AttachmentPoint attachmentPoint)

Notifier signal:

void attachmentPointChanged(AttachmentPoint attachmentPoint)

pub fn slot_set_texture(&self) -> Receiver<(*mut QAbstractTexture,)>[src]

Holds the texture attached to the attachment point.

Returns a built-in Qt slot Qt3DRender::QRenderTargetOutput::setTexture that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the texture attached to the attachment point.

Access functions:

QAbstractTexture *texture() const
void setTexture(QAbstractTexture *texture)

Notifier signal:

void textureChanged(QAbstractTexture *texture)

pub fn slot_set_mip_level(&self) -> Receiver<(c_int,)>[src]

Holds the miplevel of the attached texture the rendering is directed to.

Returns a built-in Qt slot Qt3DRender::QRenderTargetOutput::setMipLevel that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the miplevel of the attached texture the rendering is directed to.

Access functions:

int mipLevel() const
void setMipLevel(int level)

Notifier signal:

void mipLevelChanged(int mipLevel)

pub fn slot_set_layer(&self) -> Receiver<(c_int,)>[src]

Holds the layer of the attached texture the rendering is directed to.

Returns a built-in Qt slot Qt3DRender::QRenderTargetOutput::setLayer that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the layer of the attached texture the rendering is directed to.

Access functions:

int layer() const
void setLayer(int layer)

Notifier signal:

void layerChanged(int layer)

pub fn slot_set_face(&self) -> Receiver<(CubeMapFace,)>[src]

Holds the face of the attached cubemap texture the rendering is directed to.

Returns a built-in Qt slot Qt3DRender::QRenderTargetOutput::setFace that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the face of the attached cubemap texture the rendering is directed to.

Access functions:

QAbstractTexture::CubeMapFace face() const
void setFace(QAbstractTexture::CubeMapFace face)

Notifier signal:

void faceChanged(QAbstractTexture::CubeMapFace face)

pub fn attachment_point_changed(&self) -> Signal<(AttachmentPoint,)>[src]

Holds the attachment point of the QRenderTargetOutput.

Returns a built-in Qt signal Qt3DRender::QRenderTargetOutput::attachmentPointChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the attachment point of the QRenderTargetOutput.

Access functions:

AttachmentPoint attachmentPoint() const
void setAttachmentPoint(AttachmentPoint attachmentPoint)

Notifier signal:

void attachmentPointChanged(AttachmentPoint attachmentPoint)

pub fn texture_changed(&self) -> Signal<(*mut QAbstractTexture,)>[src]

Holds the texture attached to the attachment point.

Returns a built-in Qt signal Qt3DRender::QRenderTargetOutput::textureChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the texture attached to the attachment point.

Access functions:

QAbstractTexture *texture() const
void setTexture(QAbstractTexture *texture)

Notifier signal:

void textureChanged(QAbstractTexture *texture)

pub fn mip_level_changed(&self) -> Signal<(c_int,)>[src]

Holds the miplevel of the attached texture the rendering is directed to.

Returns a built-in Qt signal Qt3DRender::QRenderTargetOutput::mipLevelChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the miplevel of the attached texture the rendering is directed to.

Access functions:

int mipLevel() const
void setMipLevel(int level)

Notifier signal:

void mipLevelChanged(int mipLevel)

pub fn layer_changed(&self) -> Signal<(c_int,)>[src]

Holds the layer of the attached texture the rendering is directed to.

Returns a built-in Qt signal Qt3DRender::QRenderTargetOutput::layerChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the layer of the attached texture the rendering is directed to.

Access functions:

int layer() const
void setLayer(int layer)

Notifier signal:

void layerChanged(int layer)

pub fn face_changed(&self) -> Signal<(CubeMapFace,)>[src]

Holds the face of the attached cubemap texture the rendering is directed to.

Returns a built-in Qt signal Qt3DRender::QRenderTargetOutput::faceChanged that can be passed to qt_core::Signal::connect.

C++ documentation:

Holds the face of the attached cubemap texture the rendering is directed to.

Access functions:

QAbstractTexture::CubeMapFace face() const
void setFace(QAbstractTexture::CubeMapFace face)

Notifier signal:

void faceChanged(QAbstractTexture::CubeMapFace face)

pub unsafe fn attachment_point(&self) -> AttachmentPoint[src]

Holds the attachment point of the QRenderTargetOutput.

Calls C++ function: Qt3DRender::QRenderTargetOutput::AttachmentPoint Qt3DRender::QRenderTargetOutput::attachmentPoint() const.

C++ documentation:

Holds the attachment point of the QRenderTargetOutput.

Access functions:

AttachmentPoint attachmentPoint() const
void setAttachmentPoint(AttachmentPoint attachmentPoint)

Notifier signal:

void attachmentPointChanged(AttachmentPoint attachmentPoint)

pub unsafe fn face(&self) -> CubeMapFace[src]

Holds the face of the attached cubemap texture the rendering is directed to.

Calls C++ function: Qt3DRender::QAbstractTexture::CubeMapFace Qt3DRender::QRenderTargetOutput::face() const.

C++ documentation:

Holds the face of the attached cubemap texture the rendering is directed to.

Access functions:

QAbstractTexture::CubeMapFace face() const
void setFace(QAbstractTexture::CubeMapFace face)

Notifier signal:

void faceChanged(QAbstractTexture::CubeMapFace face)

pub unsafe fn layer(&self) -> c_int[src]

Holds the layer of the attached texture the rendering is directed to.

Calls C++ function: int Qt3DRender::QRenderTargetOutput::layer() const.

C++ documentation:

Holds the layer of the attached texture the rendering is directed to.

Access functions:

int layer() const
void setLayer(int layer)

Notifier signal:

void layerChanged(int layer)

pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>[src]

Calls C++ function: virtual const QMetaObject* Qt3DRender::QRenderTargetOutput::metaObject() const.

pub unsafe fn mip_level(&self) -> c_int[src]

Holds the miplevel of the attached texture the rendering is directed to.

Calls C++ function: int Qt3DRender::QRenderTargetOutput::mipLevel() const.

C++ documentation:

Holds the miplevel of the attached texture the rendering is directed to.

Access functions:

int mipLevel() const
void setMipLevel(int level)

Notifier signal:

void mipLevelChanged(int mipLevel)

pub unsafe fn new_1a(
    parent: impl CastInto<Ptr<QNode>>
) -> QBox<QRenderTargetOutput>
[src]

Default constructs an instance of QRenderTargetOutput.

Calls C++ function: [constructor] void Qt3DRender::QRenderTargetOutput::QRenderTargetOutput(Qt3DCore::QNode* parent = …).

C++ documentation:

Default constructs an instance of QRenderTargetOutput.

pub unsafe fn new_0a() -> QBox<QRenderTargetOutput>[src]

The QRenderTargetOutput class allows the specification of an attachment of a render target (whether it is a color texture, a depth texture, etc... ).

Calls C++ function: [constructor] void Qt3DRender::QRenderTargetOutput::QRenderTargetOutput().

C++ documentation:

The QRenderTargetOutput class allows the specification of an attachment of a render target (whether it is a color texture, a depth texture, etc... ).

A QRenderTargetOutput specifies the attachment point and parameters for texture that is attached to render target. In addition to the attachment point, texture miplevel, layer and cubemap face can be specified. The texture attached to the QRenderTargetOutput must be compatible with the given parameters.

pub unsafe fn qt_metacall(
    &self,
    arg1: Call,
    arg2: c_int,
    arg3: *mut *mut c_void
) -> c_int
[src]

Calls C++ function: virtual int Qt3DRender::QRenderTargetOutput::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3).

pub unsafe fn qt_metacast(&self, arg1: *const c_char) -> *mut c_void[src]

Calls C++ function: virtual void* Qt3DRender::QRenderTargetOutput::qt_metacast(const char* arg1).

pub unsafe fn set_attachment_point(&self, attachment_point: AttachmentPoint)[src]

Holds the attachment point of the QRenderTargetOutput.

Calls C++ function: [slot] void Qt3DRender::QRenderTargetOutput::setAttachmentPoint(Qt3DRender::QRenderTargetOutput::AttachmentPoint attachmentPoint).

C++ documentation:

Holds the attachment point of the QRenderTargetOutput.

Access functions:

AttachmentPoint attachmentPoint() const
void setAttachmentPoint(AttachmentPoint attachmentPoint)

Notifier signal:

void attachmentPointChanged(AttachmentPoint attachmentPoint)

pub unsafe fn set_face(&self, face: CubeMapFace)[src]

Holds the face of the attached cubemap texture the rendering is directed to.

Calls C++ function: [slot] void Qt3DRender::QRenderTargetOutput::setFace(Qt3DRender::QAbstractTexture::CubeMapFace face).

C++ documentation:

Holds the face of the attached cubemap texture the rendering is directed to.

Access functions:

QAbstractTexture::CubeMapFace face() const
void setFace(QAbstractTexture::CubeMapFace face)

Notifier signal:

void faceChanged(QAbstractTexture::CubeMapFace face)

pub unsafe fn set_layer(&self, layer: c_int)[src]

Holds the layer of the attached texture the rendering is directed to.

Calls C++ function: [slot] void Qt3DRender::QRenderTargetOutput::setLayer(int layer).

C++ documentation:

Holds the layer of the attached texture the rendering is directed to.

Access functions:

int layer() const
void setLayer(int layer)

Notifier signal:

void layerChanged(int layer)

pub unsafe fn set_mip_level(&self, level: c_int)[src]

Holds the miplevel of the attached texture the rendering is directed to.

Calls C++ function: [slot] void Qt3DRender::QRenderTargetOutput::setMipLevel(int level).

C++ documentation:

Holds the miplevel of the attached texture the rendering is directed to.

Access functions:

int mipLevel() const
void setMipLevel(int level)

Notifier signal:

void mipLevelChanged(int mipLevel)

pub unsafe fn set_texture(&self, texture: impl CastInto<Ptr<QAbstractTexture>>)[src]

Holds the texture attached to the attachment point.

Calls C++ function: [slot] void Qt3DRender::QRenderTargetOutput::setTexture(Qt3DRender::QAbstractTexture* texture).

C++ documentation:

Holds the texture attached to the attachment point.

Access functions:

QAbstractTexture *texture() const
void setTexture(QAbstractTexture *texture)

Notifier signal:

void textureChanged(QAbstractTexture *texture)

pub unsafe fn static_meta_object() -> Ref<QMetaObject>[src]

Returns a reference to the staticMetaObject field.

pub unsafe fn texture(&self) -> QPtr<QAbstractTexture>[src]

Holds the texture attached to the attachment point.

Calls C++ function: Qt3DRender::QAbstractTexture* Qt3DRender::QRenderTargetOutput::texture() const.

C++ documentation:

Holds the texture attached to the attachment point.

Access functions:

QAbstractTexture *texture() const
void setTexture(QAbstractTexture *texture)

Notifier signal:

void textureChanged(QAbstractTexture *texture)

pub unsafe fn tr(
    s: *const c_char,
    c: *const c_char,
    n: c_int
) -> CppBox<QString>
[src]

Calls C++ function: static QString Qt3DRender::QRenderTargetOutput::tr(const char* s, const char* c, int n).

pub unsafe fn tr_utf8(
    s: *const c_char,
    c: *const c_char,
    n: c_int
) -> CppBox<QString>
[src]

Calls C++ function: static QString Qt3DRender::QRenderTargetOutput::trUtf8(const char* s, const char* c, int n).

Trait Implementations

impl CppDeletable for QRenderTargetOutput[src]

unsafe fn delete(&self)[src]

Calls C++ function: virtual [destructor] void Qt3DRender::QRenderTargetOutput::~QRenderTargetOutput().

impl Deref for QRenderTargetOutput[src]

type Target = QNode

The resulting type after dereferencing.

fn deref(&self) -> &QNode[src]

Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DRender::QRenderTargetOutput* ptr).

impl DynamicCast<QRenderTargetOutput> for QNode[src]

unsafe fn dynamic_cast(ptr: Ptr<QNode>) -> Ptr<QRenderTargetOutput>[src]

Calls C++ function: Qt3DRender::QRenderTargetOutput* dynamic_cast<Qt3DRender::QRenderTargetOutput*>(Qt3DCore::QNode* ptr).

impl DynamicCast<QRenderTargetOutput> for QObject[src]

unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QRenderTargetOutput>[src]

Calls C++ function: Qt3DRender::QRenderTargetOutput* dynamic_cast<Qt3DRender::QRenderTargetOutput*>(QObject* ptr).

impl StaticDowncast<QRenderTargetOutput> for QNode[src]

unsafe fn static_downcast(ptr: Ptr<QNode>) -> Ptr<QRenderTargetOutput>[src]

Calls C++ function: Qt3DRender::QRenderTargetOutput* static_cast<Qt3DRender::QRenderTargetOutput*>(Qt3DCore::QNode* ptr).

impl StaticDowncast<QRenderTargetOutput> for QObject[src]

unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QRenderTargetOutput>[src]

Calls C++ function: Qt3DRender::QRenderTargetOutput* static_cast<Qt3DRender::QRenderTargetOutput*>(QObject* ptr).

impl StaticUpcast<QNode> for QRenderTargetOutput[src]

unsafe fn static_upcast(ptr: Ptr<QRenderTargetOutput>) -> Ptr<QNode>[src]

Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DRender::QRenderTargetOutput* ptr).

impl StaticUpcast<QObject> for QRenderTargetOutput[src]

unsafe fn static_upcast(ptr: Ptr<QRenderTargetOutput>) -> Ptr<QObject>[src]

Calls C++ function: QObject* static_cast<QObject*>(Qt3DRender::QRenderTargetOutput* ptr).

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.