[−][src]Struct qt_3d_render::QShaderProgram
Encapsulates a Shader Program.
C++ class: Qt3DRender::QShaderProgram
.
Encapsulates a Shader Program.
A shader program consists of several different shaders, such as vertex and fragment shaders.
Methods
impl QShaderProgram
[src]
pub fn slot_set_vertex_shader_code(&self) -> Receiver<(*const QByteArray,)>
[src]
Holds the vertex shader code used by this shader program.
Returns a built-in Qt slot Qt3DRender::QShaderProgram::setVertexShaderCode
that can be passed to qt_core::Signal::connect
.
Holds the vertex shader code used by this shader program.
Access functions:
QByteArray | vertexShaderCode() const |
void | setVertexShaderCode(const QByteArray &vertexShaderCode) |
Notifier signal:
void | vertexShaderCodeChanged(const QByteArray &vertexShaderCode) |
pub fn slot_set_tessellation_control_shader_code(
&self
) -> Receiver<(*const QByteArray,)>
[src]
&self
) -> Receiver<(*const QByteArray,)>
Holds the tesselation control shader code used by this shader program.
Returns a built-in Qt slot Qt3DRender::QShaderProgram::setTessellationControlShaderCode
that can be passed to qt_core::Signal::connect
.
Holds the tesselation control shader code used by this shader program.
Access functions:
QByteArray | tessellationControlShaderCode() const |
void | setTessellationControlShaderCode(const QByteArray &tessellationControlShaderCode) |
Notifier signal:
void | tessellationControlShaderCodeChanged(const QByteArray &tessellationControlShaderCode) |
pub fn slot_set_tessellation_evaluation_shader_code(
&self
) -> Receiver<(*const QByteArray,)>
[src]
&self
) -> Receiver<(*const QByteArray,)>
Holds the tesselation evaluation shader code used by this shader program.
Returns a built-in Qt slot Qt3DRender::QShaderProgram::setTessellationEvaluationShaderCode
that can be passed to qt_core::Signal::connect
.
Holds the tesselation evaluation shader code used by this shader program.
Access functions:
QByteArray | tessellationEvaluationShaderCode() const |
void | setTessellationEvaluationShaderCode(const QByteArray &tessellationEvaluationShaderCode) |
Notifier signal:
void | tessellationEvaluationShaderCodeChanged(const QByteArray &tessellationEvaluationShaderCode) |
pub fn slot_set_geometry_shader_code(&self) -> Receiver<(*const QByteArray,)>
[src]
Holds the geometry shader code used by this shader program.
Returns a built-in Qt slot Qt3DRender::QShaderProgram::setGeometryShaderCode
that can be passed to qt_core::Signal::connect
.
Holds the geometry shader code used by this shader program.
Access functions:
QByteArray | geometryShaderCode() const |
void | setGeometryShaderCode(const QByteArray &geometryShaderCode) |
Notifier signal:
void | geometryShaderCodeChanged(const QByteArray &geometryShaderCode) |
pub fn slot_set_fragment_shader_code(&self) -> Receiver<(*const QByteArray,)>
[src]
Holds the fragment shader code used by this shader program.
Returns a built-in Qt slot Qt3DRender::QShaderProgram::setFragmentShaderCode
that can be passed to qt_core::Signal::connect
.
Holds the fragment shader code used by this shader program.
Access functions:
QByteArray | fragmentShaderCode() const |
void | setFragmentShaderCode(const QByteArray &fragmentShaderCode) |
Notifier signal:
void | fragmentShaderCodeChanged(const QByteArray &fragmentShaderCode) |
pub fn slot_set_compute_shader_code(&self) -> Receiver<(*const QByteArray,)>
[src]
Holds the compute shader code used by this shader program.
Returns a built-in Qt slot Qt3DRender::QShaderProgram::setComputeShaderCode
that can be passed to qt_core::Signal::connect
.
Holds the compute shader code used by this shader program.
Access functions:
QByteArray | computeShaderCode() const |
void | setComputeShaderCode(const QByteArray &computeShaderCode) |
Notifier signal:
void | computeShaderCodeChanged(const QByteArray &computeShaderCode) |
pub fn vertex_shader_code_changed(&self) -> Signal<(*const QByteArray,)>
[src]
Holds the vertex shader code used by this shader program.
Returns a built-in Qt signal Qt3DRender::QShaderProgram::vertexShaderCodeChanged
that can be passed to qt_core::Signal::connect
.
Holds the vertex shader code used by this shader program.
Access functions:
QByteArray | vertexShaderCode() const |
void | setVertexShaderCode(const QByteArray &vertexShaderCode) |
Notifier signal:
void | vertexShaderCodeChanged(const QByteArray &vertexShaderCode) |
pub fn tessellation_control_shader_code_changed(
&self
) -> Signal<(*const QByteArray,)>
[src]
&self
) -> Signal<(*const QByteArray,)>
Holds the tesselation control shader code used by this shader program.
Returns a built-in Qt signal Qt3DRender::QShaderProgram::tessellationControlShaderCodeChanged
that can be passed to qt_core::Signal::connect
.
Holds the tesselation control shader code used by this shader program.
Access functions:
QByteArray | tessellationControlShaderCode() const |
void | setTessellationControlShaderCode(const QByteArray &tessellationControlShaderCode) |
Notifier signal:
void | tessellationControlShaderCodeChanged(const QByteArray &tessellationControlShaderCode) |
pub fn tessellation_evaluation_shader_code_changed(
&self
) -> Signal<(*const QByteArray,)>
[src]
&self
) -> Signal<(*const QByteArray,)>
Holds the tesselation evaluation shader code used by this shader program.
Returns a built-in Qt signal Qt3DRender::QShaderProgram::tessellationEvaluationShaderCodeChanged
that can be passed to qt_core::Signal::connect
.
Holds the tesselation evaluation shader code used by this shader program.
Access functions:
QByteArray | tessellationEvaluationShaderCode() const |
void | setTessellationEvaluationShaderCode(const QByteArray &tessellationEvaluationShaderCode) |
Notifier signal:
void | tessellationEvaluationShaderCodeChanged(const QByteArray &tessellationEvaluationShaderCode) |
pub fn geometry_shader_code_changed(&self) -> Signal<(*const QByteArray,)>
[src]
Holds the geometry shader code used by this shader program.
Returns a built-in Qt signal Qt3DRender::QShaderProgram::geometryShaderCodeChanged
that can be passed to qt_core::Signal::connect
.
Holds the geometry shader code used by this shader program.
Access functions:
QByteArray | geometryShaderCode() const |
void | setGeometryShaderCode(const QByteArray &geometryShaderCode) |
Notifier signal:
void | geometryShaderCodeChanged(const QByteArray &geometryShaderCode) |
pub fn fragment_shader_code_changed(&self) -> Signal<(*const QByteArray,)>
[src]
Holds the fragment shader code used by this shader program.
Returns a built-in Qt signal Qt3DRender::QShaderProgram::fragmentShaderCodeChanged
that can be passed to qt_core::Signal::connect
.
Holds the fragment shader code used by this shader program.
Access functions:
QByteArray | fragmentShaderCode() const |
void | setFragmentShaderCode(const QByteArray &fragmentShaderCode) |
Notifier signal:
void | fragmentShaderCodeChanged(const QByteArray &fragmentShaderCode) |
pub fn compute_shader_code_changed(&self) -> Signal<(*const QByteArray,)>
[src]
Holds the compute shader code used by this shader program.
Returns a built-in Qt signal Qt3DRender::QShaderProgram::computeShaderCodeChanged
that can be passed to qt_core::Signal::connect
.
Holds the compute shader code used by this shader program.
Access functions:
QByteArray | computeShaderCode() const |
void | setComputeShaderCode(const QByteArray &computeShaderCode) |
Notifier signal:
void | computeShaderCodeChanged(const QByteArray &computeShaderCode) |
pub fn log_changed(&self) -> Signal<(*const QString,)>
[src]
Holds the log of the current shader program. This is useful to diagnose a compilation failure of the shader program.
Returns a built-in Qt signal Qt3DRender::QShaderProgram::logChanged
that can be passed to qt_core::Signal::connect
.
Holds the log of the current shader program. This is useful to diagnose a compilation failure of the shader program.
Access functions:
QString | log() const |
Notifier signal:
void | logChanged(const QString &log) |
pub fn status_changed(&self) -> Signal<(Status,)>
[src]
Holds the status of the current shader program.
Returns a built-in Qt signal Qt3DRender::QShaderProgram::statusChanged
that can be passed to qt_core::Signal::connect
.
Holds the status of the current shader program.
Access functions:
Status | status() const |
Notifier signal:
void | statusChanged(Status status) |
pub unsafe fn compute_shader_code(&self) -> CppBox<QByteArray>
[src]
Holds the compute shader code used by this shader program.
Calls C++ function: QByteArray Qt3DRender::QShaderProgram::computeShaderCode() const
.
Holds the compute shader code used by this shader program.
Access functions:
QByteArray | computeShaderCode() const |
void | setComputeShaderCode(const QByteArray &computeShaderCode) |
Notifier signal:
void | computeShaderCodeChanged(const QByteArray &computeShaderCode) |
pub unsafe fn fragment_shader_code(&self) -> CppBox<QByteArray>
[src]
Holds the fragment shader code used by this shader program.
Calls C++ function: QByteArray Qt3DRender::QShaderProgram::fragmentShaderCode() const
.
Holds the fragment shader code used by this shader program.
Access functions:
QByteArray | fragmentShaderCode() const |
void | setFragmentShaderCode(const QByteArray &fragmentShaderCode) |
Notifier signal:
void | fragmentShaderCodeChanged(const QByteArray &fragmentShaderCode) |
pub unsafe fn geometry_shader_code(&self) -> CppBox<QByteArray>
[src]
Holds the geometry shader code used by this shader program.
Calls C++ function: QByteArray Qt3DRender::QShaderProgram::geometryShaderCode() const
.
Holds the geometry shader code used by this shader program.
Access functions:
QByteArray | geometryShaderCode() const |
void | setGeometryShaderCode(const QByteArray &geometryShaderCode) |
Notifier signal:
void | geometryShaderCodeChanged(const QByteArray &geometryShaderCode) |
pub unsafe fn load_source(
source_url: impl CastInto<Ref<QUrl>>
) -> CppBox<QByteArray>
[src]
source_url: impl CastInto<Ref<QUrl>>
) -> CppBox<QByteArray>
Returns the shader code loaded from sourceUrl.
Calls C++ function: static QByteArray Qt3DRender::QShaderProgram::loadSource(const QUrl& sourceUrl)
.
Returns the shader code loaded from sourceUrl.
pub unsafe fn log(&self) -> CppBox<QString>
[src]
Holds the log of the current shader program. This is useful to diagnose a compilation failure of the shader program.
Calls C++ function: QString Qt3DRender::QShaderProgram::log() const
.
Holds the log of the current shader program. This is useful to diagnose a compilation failure of the shader program.
Access functions:
QString | log() const |
Notifier signal:
void | logChanged(const QString &log) |
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* Qt3DRender::QShaderProgram::metaObject() const
.
pub unsafe fn new_1a(
parent: impl CastInto<MutPtr<QNode>>
) -> QBox<QShaderProgram>
[src]
parent: impl CastInto<MutPtr<QNode>>
) -> QBox<QShaderProgram>
Default constructs an instance of QShaderProgram.
Calls C++ function: [constructor] void Qt3DRender::QShaderProgram::QShaderProgram(Qt3DCore::QNode* parent = …)
.
Default constructs an instance of QShaderProgram.
pub unsafe fn new_0a() -> QBox<QShaderProgram>
[src]
Encapsulates a Shader Program.
Calls C++ function: [constructor] void Qt3DRender::QShaderProgram::QShaderProgram()
.
Encapsulates a Shader Program.
A shader program consists of several different shaders, such as vertex and fragment shaders.
pub unsafe fn qt_metacall(
&mut self,
arg1: Call,
arg2: c_int,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
[src]
&mut self,
arg1: Call,
arg2: c_int,
arg3: impl CastInto<MutPtr<*mut c_void>>
) -> c_int
Calls C++ function: virtual int Qt3DRender::QShaderProgram::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3)
.
pub unsafe fn qt_metacast(
&mut self,
arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
[src]
&mut self,
arg1: impl CastInto<Ptr<c_char>>
) -> MutPtr<c_void>
Calls C++ function: virtual void* Qt3DRender::QShaderProgram::qt_metacast(const char* arg1)
.
pub unsafe fn set_compute_shader_code(
&mut self,
compute_shader_code: impl CastInto<Ref<QByteArray>>
)
[src]
&mut self,
compute_shader_code: impl CastInto<Ref<QByteArray>>
)
Holds the compute shader code used by this shader program.
Calls C++ function: [slot] void Qt3DRender::QShaderProgram::setComputeShaderCode(const QByteArray& computeShaderCode)
.
Holds the compute shader code used by this shader program.
Access functions:
QByteArray | computeShaderCode() const |
void | setComputeShaderCode(const QByteArray &computeShaderCode) |
Notifier signal:
void | computeShaderCodeChanged(const QByteArray &computeShaderCode) |
pub unsafe fn set_fragment_shader_code(
&mut self,
fragment_shader_code: impl CastInto<Ref<QByteArray>>
)
[src]
&mut self,
fragment_shader_code: impl CastInto<Ref<QByteArray>>
)
Holds the fragment shader code used by this shader program.
Calls C++ function: [slot] void Qt3DRender::QShaderProgram::setFragmentShaderCode(const QByteArray& fragmentShaderCode)
.
Holds the fragment shader code used by this shader program.
Access functions:
QByteArray | fragmentShaderCode() const |
void | setFragmentShaderCode(const QByteArray &fragmentShaderCode) |
Notifier signal:
void | fragmentShaderCodeChanged(const QByteArray &fragmentShaderCode) |
pub unsafe fn set_geometry_shader_code(
&mut self,
geometry_shader_code: impl CastInto<Ref<QByteArray>>
)
[src]
&mut self,
geometry_shader_code: impl CastInto<Ref<QByteArray>>
)
Holds the geometry shader code used by this shader program.
Calls C++ function: [slot] void Qt3DRender::QShaderProgram::setGeometryShaderCode(const QByteArray& geometryShaderCode)
.
Holds the geometry shader code used by this shader program.
Access functions:
QByteArray | geometryShaderCode() const |
void | setGeometryShaderCode(const QByteArray &geometryShaderCode) |
Notifier signal:
void | geometryShaderCodeChanged(const QByteArray &geometryShaderCode) |
pub unsafe fn set_shader_code(
&mut self,
type_: ShaderType,
shader_code: impl CastInto<Ref<QByteArray>>
)
[src]
&mut self,
type_: ShaderType,
shader_code: impl CastInto<Ref<QByteArray>>
)
Sets the shader code for type of shader to the shaderCode.
Calls C++ function: void Qt3DRender::QShaderProgram::setShaderCode(Qt3DRender::QShaderProgram::ShaderType type, const QByteArray& shaderCode)
.
Sets the shader code for type of shader to the shaderCode.
See also shaderCode().
pub unsafe fn set_tessellation_control_shader_code(
&mut self,
tessellation_control_shader_code: impl CastInto<Ref<QByteArray>>
)
[src]
&mut self,
tessellation_control_shader_code: impl CastInto<Ref<QByteArray>>
)
Holds the tesselation control shader code used by this shader program.
Calls C++ function: [slot] void Qt3DRender::QShaderProgram::setTessellationControlShaderCode(const QByteArray& tessellationControlShaderCode)
.
Holds the tesselation control shader code used by this shader program.
Access functions:
QByteArray | tessellationControlShaderCode() const |
void | setTessellationControlShaderCode(const QByteArray &tessellationControlShaderCode) |
Notifier signal:
void | tessellationControlShaderCodeChanged(const QByteArray &tessellationControlShaderCode) |
pub unsafe fn set_tessellation_evaluation_shader_code(
&mut self,
tessellation_evaluation_shader_code: impl CastInto<Ref<QByteArray>>
)
[src]
&mut self,
tessellation_evaluation_shader_code: impl CastInto<Ref<QByteArray>>
)
Holds the tesselation evaluation shader code used by this shader program.
Calls C++ function: [slot] void Qt3DRender::QShaderProgram::setTessellationEvaluationShaderCode(const QByteArray& tessellationEvaluationShaderCode)
.
Holds the tesselation evaluation shader code used by this shader program.
Access functions:
QByteArray | tessellationEvaluationShaderCode() const |
void | setTessellationEvaluationShaderCode(const QByteArray &tessellationEvaluationShaderCode) |
Notifier signal:
void | tessellationEvaluationShaderCodeChanged(const QByteArray &tessellationEvaluationShaderCode) |
pub unsafe fn set_vertex_shader_code(
&mut self,
vertex_shader_code: impl CastInto<Ref<QByteArray>>
)
[src]
&mut self,
vertex_shader_code: impl CastInto<Ref<QByteArray>>
)
Holds the vertex shader code used by this shader program.
Calls C++ function: [slot] void Qt3DRender::QShaderProgram::setVertexShaderCode(const QByteArray& vertexShaderCode)
.
Holds the vertex shader code used by this shader program.
Access functions:
QByteArray | vertexShaderCode() const |
void | setVertexShaderCode(const QByteArray &vertexShaderCode) |
Notifier signal:
void | vertexShaderCodeChanged(const QByteArray &vertexShaderCode) |
pub unsafe fn shader_code(&self, type_: ShaderType) -> CppBox<QByteArray>
[src]
Returns the shader code for type.
Calls C++ function: QByteArray Qt3DRender::QShaderProgram::shaderCode(Qt3DRender::QShaderProgram::ShaderType type) const
.
Returns the shader code for type.
See also setShaderCode().
pub unsafe fn static_meta_object() -> Ref<QMetaObject>
[src]
Returns a reference to the staticMetaObject
field.
pub unsafe fn status(&self) -> Status
[src]
Holds the status of the current shader program.
Calls C++ function: Qt3DRender::QShaderProgram::Status Qt3DRender::QShaderProgram::status() const
.
Holds the status of the current shader program.
Access functions:
Status | status() const |
Notifier signal:
void | statusChanged(Status status) |
pub unsafe fn tessellation_control_shader_code(&self) -> CppBox<QByteArray>
[src]
Holds the tesselation control shader code used by this shader program.
Calls C++ function: QByteArray Qt3DRender::QShaderProgram::tessellationControlShaderCode() const
.
Holds the tesselation control shader code used by this shader program.
Access functions:
QByteArray | tessellationControlShaderCode() const |
void | setTessellationControlShaderCode(const QByteArray &tessellationControlShaderCode) |
Notifier signal:
void | tessellationControlShaderCodeChanged(const QByteArray &tessellationControlShaderCode) |
pub unsafe fn tessellation_evaluation_shader_code(&self) -> CppBox<QByteArray>
[src]
Holds the tesselation evaluation shader code used by this shader program.
Calls C++ function: QByteArray Qt3DRender::QShaderProgram::tessellationEvaluationShaderCode() const
.
Holds the tesselation evaluation shader code used by this shader program.
Access functions:
QByteArray | tessellationEvaluationShaderCode() const |
void | setTessellationEvaluationShaderCode(const QByteArray &tessellationEvaluationShaderCode) |
Notifier signal:
void | tessellationEvaluationShaderCodeChanged(const QByteArray &tessellationEvaluationShaderCode) |
pub unsafe fn tr(
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
[src]
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
Calls C++ function: static QString Qt3DRender::QShaderProgram::tr(const char* s, const char* c, int n)
.
pub unsafe fn tr_utf8(
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
[src]
s: impl CastInto<Ptr<c_char>>,
c: impl CastInto<Ptr<c_char>>,
n: c_int
) -> CppBox<QString>
Calls C++ function: static QString Qt3DRender::QShaderProgram::trUtf8(const char* s, const char* c, int n)
.
pub unsafe fn vertex_shader_code(&self) -> CppBox<QByteArray>
[src]
Holds the vertex shader code used by this shader program.
Calls C++ function: QByteArray Qt3DRender::QShaderProgram::vertexShaderCode() const
.
Holds the vertex shader code used by this shader program.
Access functions:
QByteArray | vertexShaderCode() const |
void | setVertexShaderCode(const QByteArray &vertexShaderCode) |
Notifier signal:
void | vertexShaderCodeChanged(const QByteArray &vertexShaderCode) |
Trait Implementations
impl CppDeletable for QShaderProgram
[src]
unsafe fn delete(&mut self)
[src]
Destroys the instance of QShaderProgram.
Calls C++ function: virtual [destructor] void Qt3DRender::QShaderProgram::~QShaderProgram()
.
Destroys the instance of QShaderProgram.
impl Deref for QShaderProgram
[src]
type Target = QNode
The resulting type after dereferencing.
fn deref(&self) -> &QNode
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DRender::QShaderProgram* ptr)
.
impl DerefMut for QShaderProgram
[src]
fn deref_mut(&mut self) -> &mut QNode
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DRender::QShaderProgram* ptr)
.
impl DynamicCast<QShaderProgram> for QNode
[src]
unsafe fn dynamic_cast(ptr: Ptr<QNode>) -> Ptr<QShaderProgram>
[src]
Calls C++ function: Qt3DRender::QShaderProgram* dynamic_cast<Qt3DRender::QShaderProgram*>(Qt3DCore::QNode* ptr)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QNode>) -> MutPtr<QShaderProgram>
[src]
Calls C++ function: Qt3DRender::QShaderProgram* dynamic_cast<Qt3DRender::QShaderProgram*>(Qt3DCore::QNode* ptr)
.
impl DynamicCast<QShaderProgram> for QObject
[src]
unsafe fn dynamic_cast(ptr: Ptr<QObject>) -> Ptr<QShaderProgram>
[src]
Calls C++ function: Qt3DRender::QShaderProgram* dynamic_cast<Qt3DRender::QShaderProgram*>(QObject* ptr)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QObject>) -> MutPtr<QShaderProgram>
[src]
Calls C++ function: Qt3DRender::QShaderProgram* dynamic_cast<Qt3DRender::QShaderProgram*>(QObject* ptr)
.
impl StaticDowncast<QShaderProgram> for QNode
[src]
unsafe fn static_downcast(ptr: Ptr<QNode>) -> Ptr<QShaderProgram>
[src]
Calls C++ function: Qt3DRender::QShaderProgram* static_cast<Qt3DRender::QShaderProgram*>(Qt3DCore::QNode* ptr)
.
unsafe fn static_downcast_mut(ptr: MutPtr<QNode>) -> MutPtr<QShaderProgram>
[src]
Calls C++ function: Qt3DRender::QShaderProgram* static_cast<Qt3DRender::QShaderProgram*>(Qt3DCore::QNode* ptr)
.
impl StaticDowncast<QShaderProgram> for QObject
[src]
unsafe fn static_downcast(ptr: Ptr<QObject>) -> Ptr<QShaderProgram>
[src]
Calls C++ function: Qt3DRender::QShaderProgram* static_cast<Qt3DRender::QShaderProgram*>(QObject* ptr)
.
unsafe fn static_downcast_mut(ptr: MutPtr<QObject>) -> MutPtr<QShaderProgram>
[src]
Calls C++ function: Qt3DRender::QShaderProgram* static_cast<Qt3DRender::QShaderProgram*>(QObject* ptr)
.
impl StaticUpcast<QNode> for QShaderProgram
[src]
unsafe fn static_upcast(ptr: Ptr<QShaderProgram>) -> Ptr<QNode>
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DRender::QShaderProgram* ptr)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QShaderProgram>) -> MutPtr<QNode>
[src]
Calls C++ function: Qt3DCore::QNode* static_cast<Qt3DCore::QNode*>(Qt3DRender::QShaderProgram* ptr)
.
impl StaticUpcast<QObject> for QShaderProgram
[src]
unsafe fn static_upcast(ptr: Ptr<QShaderProgram>) -> Ptr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(Qt3DRender::QShaderProgram* ptr)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QShaderProgram>) -> MutPtr<QObject>
[src]
Calls C++ function: QObject* static_cast<QObject*>(Qt3DRender::QShaderProgram* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QShaderProgram
impl Send for QShaderProgram
impl Sync for QShaderProgram
impl Unpin for QShaderProgram
impl UnwindSafe for QShaderProgram
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,