[][src]Struct qt_3d_render::QShaderProgramBuilder

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

Generates a Shader Program content from loaded graphs.

C++ class: Qt3DRender::QShaderProgramBuilder.

C++ documentation:

Generates a Shader Program content from loaded graphs.

A shader program builder consists of several different shader graphs used to generate shader code.

Methods

impl QShaderProgramBuilder[src]

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

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the shader program on which this builder generates code.

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

C++ documentation:

Holds the shader program on which this builder generates code.

Access functions:

Qt3DRender::QShaderProgram *shaderProgram() const
void setShaderProgram(Qt3DRender::QShaderProgram *program)

Notifier signal:

void shaderProgramChanged(Qt3DRender::QShaderProgram *shaderProgram)

pub fn slot_set_enabled_layers(&self) -> Receiver<(*const QStringList,)>[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the list of layers this builder will activate on the shader graphs during code generation.

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

C++ documentation:

Holds the list of layers this builder will activate on the shader graphs during code generation.

Access functions:

QStringList enabledLayers() const
void setEnabledLayers(const QStringList &layers)

Notifier signal:

void enabledLayersChanged(const QStringList &layers)

pub fn slot_set_vertex_shader_graph(&self) -> Receiver<(*const QUrl,)>[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the URL to the vertex shader graph used by this shader program builder.

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

C++ documentation:

Holds the URL to the vertex shader graph used by this shader program builder.

Access functions:

QUrl vertexShaderGraph() const
void setVertexShaderGraph(const QUrl &vertexShaderGraph)

Notifier signal:

void vertexShaderGraphChanged(const QUrl &vertexShaderGraph)

pub fn slot_set_tessellation_control_shader_graph(
    &self
) -> Receiver<(*const QUrl,)>
[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the URL to the tesselation control shader graph used by this shader program builder.

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

C++ documentation:

Holds the URL to the tesselation control shader graph used by this shader program builder.

Access functions:

QUrl tessellationControlShaderGraph() const
void setTessellationControlShaderGraph(const QUrl &tessellationControlShaderGraph)

Notifier signal:

void tessellationControlShaderGraphChanged(const QUrl &tessellationControlShaderGraph)

pub fn slot_set_tessellation_evaluation_shader_graph(
    &self
) -> Receiver<(*const QUrl,)>
[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the URL to the tesselation evaluation shader graph used by this shader program builder.

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

C++ documentation:

Holds the URL to the tesselation evaluation shader graph used by this shader program builder.

Access functions:

QUrl tessellationEvaluationShaderGraph() const
void setTessellationEvaluationShaderGraph(const QUrl &tessellationEvaluationShaderGraph)

Notifier signal:

void tessellationEvaluationShaderGraphChanged(const QUrl &tessellationEvaluationShaderGraph)

pub fn slot_set_geometry_shader_graph(&self) -> Receiver<(*const QUrl,)>[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the URL to the geometry shader graph used by this shader program builder.

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

C++ documentation:

Holds the URL to the geometry shader graph used by this shader program builder.

Access functions:

QUrl geometryShaderGraph() const
void setGeometryShaderGraph(const QUrl &geometryShaderGraph)

Notifier signal:

void geometryShaderGraphChanged(const QUrl &geometryShaderGraph)

pub fn slot_set_fragment_shader_graph(&self) -> Receiver<(*const QUrl,)>[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the URL to the fragment shader graph used by this shader program builder.

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

C++ documentation:

Holds the URL to the fragment shader graph used by this shader program builder.

Access functions:

QUrl fragmentShaderGraph() const
void setFragmentShaderGraph(const QUrl &fragmentShaderGraph)

Notifier signal:

void fragmentShaderGraphChanged(const QUrl &fragmentShaderGraph)

pub fn slot_set_compute_shader_graph(&self) -> Receiver<(*const QUrl,)>[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the URL to the compute shader graph used by this shader program builder.

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

C++ documentation:

Holds the URL to the compute shader graph used by this shader program builder.

Access functions:

QUrl computeShaderGraph() const
void setComputeShaderGraph(const QUrl &computeShaderGraph)

Notifier signal:

void computeShaderGraphChanged(const QUrl &computeShaderGraph)

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

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the shader program on which this builder generates code.

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

C++ documentation:

Holds the shader program on which this builder generates code.

Access functions:

Qt3DRender::QShaderProgram *shaderProgram() const
void setShaderProgram(Qt3DRender::QShaderProgram *program)

Notifier signal:

void shaderProgramChanged(Qt3DRender::QShaderProgram *shaderProgram)

pub fn enabled_layers_changed(&self) -> Signal<(*const QStringList,)>[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the list of layers this builder will activate on the shader graphs during code generation.

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

C++ documentation:

Holds the list of layers this builder will activate on the shader graphs during code generation.

Access functions:

QStringList enabledLayers() const
void setEnabledLayers(const QStringList &layers)

Notifier signal:

void enabledLayersChanged(const QStringList &layers)

pub fn vertex_shader_graph_changed(&self) -> Signal<(*const QUrl,)>[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the URL to the vertex shader graph used by this shader program builder.

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

C++ documentation:

Holds the URL to the vertex shader graph used by this shader program builder.

Access functions:

QUrl vertexShaderGraph() const
void setVertexShaderGraph(const QUrl &vertexShaderGraph)

Notifier signal:

void vertexShaderGraphChanged(const QUrl &vertexShaderGraph)

pub fn tessellation_control_shader_graph_changed(
    &self
) -> Signal<(*const QUrl,)>
[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the URL to the tesselation control shader graph used by this shader program builder.

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

C++ documentation:

Holds the URL to the tesselation control shader graph used by this shader program builder.

Access functions:

QUrl tessellationControlShaderGraph() const
void setTessellationControlShaderGraph(const QUrl &tessellationControlShaderGraph)

Notifier signal:

void tessellationControlShaderGraphChanged(const QUrl &tessellationControlShaderGraph)

pub fn tessellation_evaluation_shader_graph_changed(
    &self
) -> Signal<(*const QUrl,)>
[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the URL to the tesselation evaluation shader graph used by this shader program builder.

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

C++ documentation:

Holds the URL to the tesselation evaluation shader graph used by this shader program builder.

Access functions:

QUrl tessellationEvaluationShaderGraph() const
void setTessellationEvaluationShaderGraph(const QUrl &tessellationEvaluationShaderGraph)

Notifier signal:

void tessellationEvaluationShaderGraphChanged(const QUrl &tessellationEvaluationShaderGraph)

pub fn geometry_shader_graph_changed(&self) -> Signal<(*const QUrl,)>[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the URL to the geometry shader graph used by this shader program builder.

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

C++ documentation:

Holds the URL to the geometry shader graph used by this shader program builder.

Access functions:

QUrl geometryShaderGraph() const
void setGeometryShaderGraph(const QUrl &geometryShaderGraph)

Notifier signal:

void geometryShaderGraphChanged(const QUrl &geometryShaderGraph)

pub fn fragment_shader_graph_changed(&self) -> Signal<(*const QUrl,)>[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the URL to the fragment shader graph used by this shader program builder.

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

C++ documentation:

Holds the URL to the fragment shader graph used by this shader program builder.

Access functions:

QUrl fragmentShaderGraph() const
void setFragmentShaderGraph(const QUrl &fragmentShaderGraph)

Notifier signal:

void fragmentShaderGraphChanged(const QUrl &fragmentShaderGraph)

pub fn compute_shader_graph_changed(&self) -> Signal<(*const QUrl,)>[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the URL to the compute shader graph used by this shader program builder.

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

C++ documentation:

Holds the URL to the compute shader graph used by this shader program builder.

Access functions:

QUrl computeShaderGraph() const
void setComputeShaderGraph(const QUrl &computeShaderGraph)

Notifier signal:

void computeShaderGraphChanged(const QUrl &computeShaderGraph)

pub unsafe fn compute_shader_code(&self) -> CppBox<QByteArray>[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the generate compute shader code.

Calls C++ function: QByteArray Qt3DRender::QShaderProgramBuilder::computeShaderCode() const.

C++ documentation:

Holds the generate compute shader code.

This property was introduced in Qt 5.13.

Access functions:

QByteArray computeShaderCode() const

Notifier signal:

void computeShaderCodeChanged(const QByteArray &computeShaderCode)

pub unsafe fn compute_shader_code_changed(
    &self,
    compute_shader_code: impl CastInto<Ref<QByteArray>>
)
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the generate compute shader code.

Calls C++ function: void Qt3DRender::QShaderProgramBuilder::computeShaderCodeChanged(const QByteArray& computeShaderCode).

C++ documentation:

Holds the generate compute shader code.

This property was introduced in Qt 5.13.

Access functions:

QByteArray computeShaderCode() const

Notifier signal:

void computeShaderCodeChanged(const QByteArray &computeShaderCode)

pub unsafe fn compute_shader_graph(&self) -> CppBox<QUrl>[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the URL to the compute shader graph used by this shader program builder.

Calls C++ function: QUrl Qt3DRender::QShaderProgramBuilder::computeShaderGraph() const.

C++ documentation:

Holds the URL to the compute shader graph used by this shader program builder.

Access functions:

QUrl computeShaderGraph() const
void setComputeShaderGraph(const QUrl &computeShaderGraph)

Notifier signal:

void computeShaderGraphChanged(const QUrl &computeShaderGraph)

pub unsafe fn enabled_layers(&self) -> CppBox<QStringList>[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the list of layers this builder will activate on the shader graphs during code generation.

Calls C++ function: QStringList Qt3DRender::QShaderProgramBuilder::enabledLayers() const.

C++ documentation:

Holds the list of layers this builder will activate on the shader graphs during code generation.

Access functions:

QStringList enabledLayers() const
void setEnabledLayers(const QStringList &layers)

Notifier signal:

void enabledLayersChanged(const QStringList &layers)

pub unsafe fn fragment_shader_code(&self) -> CppBox<QByteArray>[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the generate fragment shader code.

Calls C++ function: QByteArray Qt3DRender::QShaderProgramBuilder::fragmentShaderCode() const.

C++ documentation:

Holds the generate fragment shader code.

This property was introduced in Qt 5.13.

Access functions:

QByteArray fragmentShaderCode() const

Notifier signal:

void fragmentShaderCodeChanged(const QByteArray &fragmentShaderCode)

pub unsafe fn fragment_shader_code_changed(
    &self,
    fragment_shader_code: impl CastInto<Ref<QByteArray>>
)
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the generate fragment shader code.

Calls C++ function: void Qt3DRender::QShaderProgramBuilder::fragmentShaderCodeChanged(const QByteArray& fragmentShaderCode).

C++ documentation:

Holds the generate fragment shader code.

This property was introduced in Qt 5.13.

Access functions:

QByteArray fragmentShaderCode() const

Notifier signal:

void fragmentShaderCodeChanged(const QByteArray &fragmentShaderCode)

pub unsafe fn fragment_shader_graph(&self) -> CppBox<QUrl>[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the URL to the fragment shader graph used by this shader program builder.

Calls C++ function: QUrl Qt3DRender::QShaderProgramBuilder::fragmentShaderGraph() const.

C++ documentation:

Holds the URL to the fragment shader graph used by this shader program builder.

Access functions:

QUrl fragmentShaderGraph() const
void setFragmentShaderGraph(const QUrl &fragmentShaderGraph)

Notifier signal:

void fragmentShaderGraphChanged(const QUrl &fragmentShaderGraph)

pub unsafe fn geometry_shader_code(&self) -> CppBox<QByteArray>[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the generate geometry shader code.

Calls C++ function: QByteArray Qt3DRender::QShaderProgramBuilder::geometryShaderCode() const.

C++ documentation:

Holds the generate geometry shader code.

This property was introduced in Qt 5.13.

Access functions:

QByteArray geometryShaderCode() const

Notifier signal:

void geometryShaderCodeChanged(const QByteArray &geometryShaderCode)

pub unsafe fn geometry_shader_code_changed(
    &self,
    geometry_shader_code: impl CastInto<Ref<QByteArray>>
)
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the generate geometry shader code.

Calls C++ function: void Qt3DRender::QShaderProgramBuilder::geometryShaderCodeChanged(const QByteArray& geometryShaderCode).

C++ documentation:

Holds the generate geometry shader code.

This property was introduced in Qt 5.13.

Access functions:

QByteArray geometryShaderCode() const

Notifier signal:

void geometryShaderCodeChanged(const QByteArray &geometryShaderCode)

pub unsafe fn geometry_shader_graph(&self) -> CppBox<QUrl>[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the URL to the geometry shader graph used by this shader program builder.

Calls C++ function: QUrl Qt3DRender::QShaderProgramBuilder::geometryShaderGraph() const.

C++ documentation:

Holds the URL to the geometry shader graph used by this shader program builder.

Access functions:

QUrl geometryShaderGraph() const
void setGeometryShaderGraph(const QUrl &geometryShaderGraph)

Notifier signal:

void geometryShaderGraphChanged(const QUrl &geometryShaderGraph)

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

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

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

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

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Default constructs an instance of QShaderProgramBuilder.

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

C++ documentation:

Default constructs an instance of QShaderProgramBuilder.

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

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Generates a Shader Program content from loaded graphs.

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

C++ documentation:

Generates a Shader Program content from loaded graphs.

A shader program builder consists of several different shader graphs used to generate shader code.

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

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

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

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

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

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

pub unsafe fn set_compute_shader_graph(
    &self,
    compute_shader_graph: impl CastInto<Ref<QUrl>>
)
[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the URL to the compute shader graph used by this shader program builder.

Calls C++ function: [slot] void Qt3DRender::QShaderProgramBuilder::setComputeShaderGraph(const QUrl& computeShaderGraph).

C++ documentation:

Holds the URL to the compute shader graph used by this shader program builder.

Access functions:

QUrl computeShaderGraph() const
void setComputeShaderGraph(const QUrl &computeShaderGraph)

Notifier signal:

void computeShaderGraphChanged(const QUrl &computeShaderGraph)

pub unsafe fn set_enabled_layers(&self, layers: impl CastInto<Ref<QStringList>>)[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the list of layers this builder will activate on the shader graphs during code generation.

Calls C++ function: [slot] void Qt3DRender::QShaderProgramBuilder::setEnabledLayers(const QStringList& layers).

C++ documentation:

Holds the list of layers this builder will activate on the shader graphs during code generation.

Access functions:

QStringList enabledLayers() const
void setEnabledLayers(const QStringList &layers)

Notifier signal:

void enabledLayersChanged(const QStringList &layers)

pub unsafe fn set_fragment_shader_graph(
    &self,
    fragment_shader_graph: impl CastInto<Ref<QUrl>>
)
[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the URL to the fragment shader graph used by this shader program builder.

Calls C++ function: [slot] void Qt3DRender::QShaderProgramBuilder::setFragmentShaderGraph(const QUrl& fragmentShaderGraph).

C++ documentation:

Holds the URL to the fragment shader graph used by this shader program builder.

Access functions:

QUrl fragmentShaderGraph() const
void setFragmentShaderGraph(const QUrl &fragmentShaderGraph)

Notifier signal:

void fragmentShaderGraphChanged(const QUrl &fragmentShaderGraph)

pub unsafe fn set_geometry_shader_graph(
    &self,
    geometry_shader_graph: impl CastInto<Ref<QUrl>>
)
[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the URL to the geometry shader graph used by this shader program builder.

Calls C++ function: [slot] void Qt3DRender::QShaderProgramBuilder::setGeometryShaderGraph(const QUrl& geometryShaderGraph).

C++ documentation:

Holds the URL to the geometry shader graph used by this shader program builder.

Access functions:

QUrl geometryShaderGraph() const
void setGeometryShaderGraph(const QUrl &geometryShaderGraph)

Notifier signal:

void geometryShaderGraphChanged(const QUrl &geometryShaderGraph)

pub unsafe fn set_shader_program(
    &self,
    program: impl CastInto<Ptr<QShaderProgram>>
)
[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the shader program on which this builder generates code.

Calls C++ function: [slot] void Qt3DRender::QShaderProgramBuilder::setShaderProgram(Qt3DRender::QShaderProgram* program).

C++ documentation:

Holds the shader program on which this builder generates code.

Access functions:

Qt3DRender::QShaderProgram *shaderProgram() const
void setShaderProgram(Qt3DRender::QShaderProgram *program)

Notifier signal:

void shaderProgramChanged(Qt3DRender::QShaderProgram *shaderProgram)

pub unsafe fn set_tessellation_control_shader_graph(
    &self,
    tessellation_control_shader_graph: impl CastInto<Ref<QUrl>>
)
[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the URL to the tesselation control shader graph used by this shader program builder.

Calls C++ function: [slot] void Qt3DRender::QShaderProgramBuilder::setTessellationControlShaderGraph(const QUrl& tessellationControlShaderGraph).

C++ documentation:

Holds the URL to the tesselation control shader graph used by this shader program builder.

Access functions:

QUrl tessellationControlShaderGraph() const
void setTessellationControlShaderGraph(const QUrl &tessellationControlShaderGraph)

Notifier signal:

void tessellationControlShaderGraphChanged(const QUrl &tessellationControlShaderGraph)

pub unsafe fn set_tessellation_evaluation_shader_graph(
    &self,
    tessellation_evaluation_shader_graph: impl CastInto<Ref<QUrl>>
)
[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the URL to the tesselation evaluation shader graph used by this shader program builder.

Calls C++ function: [slot] void Qt3DRender::QShaderProgramBuilder::setTessellationEvaluationShaderGraph(const QUrl& tessellationEvaluationShaderGraph).

C++ documentation:

Holds the URL to the tesselation evaluation shader graph used by this shader program builder.

Access functions:

QUrl tessellationEvaluationShaderGraph() const
void setTessellationEvaluationShaderGraph(const QUrl &tessellationEvaluationShaderGraph)

Notifier signal:

void tessellationEvaluationShaderGraphChanged(const QUrl &tessellationEvaluationShaderGraph)

pub unsafe fn set_vertex_shader_graph(
    &self,
    vertex_shader_graph: impl CastInto<Ref<QUrl>>
)
[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the URL to the vertex shader graph used by this shader program builder.

Calls C++ function: [slot] void Qt3DRender::QShaderProgramBuilder::setVertexShaderGraph(const QUrl& vertexShaderGraph).

C++ documentation:

Holds the URL to the vertex shader graph used by this shader program builder.

Access functions:

QUrl vertexShaderGraph() const
void setVertexShaderGraph(const QUrl &vertexShaderGraph)

Notifier signal:

void vertexShaderGraphChanged(const QUrl &vertexShaderGraph)

pub unsafe fn shader_program(&self) -> QPtr<QShaderProgram>[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the shader program on which this builder generates code.

Calls C++ function: Qt3DRender::QShaderProgram* Qt3DRender::QShaderProgramBuilder::shaderProgram() const.

C++ documentation:

Holds the shader program on which this builder generates code.

Access functions:

Qt3DRender::QShaderProgram *shaderProgram() const
void setShaderProgram(Qt3DRender::QShaderProgram *program)

Notifier signal:

void shaderProgramChanged(Qt3DRender::QShaderProgram *shaderProgram)

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

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Returns a reference to the staticMetaObject field.

pub unsafe fn tessellation_control_shader_code(&self) -> CppBox<QByteArray>[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the generate tessellation control shader code.

Calls C++ function: QByteArray Qt3DRender::QShaderProgramBuilder::tessellationControlShaderCode() const.

C++ documentation:

Holds the generate tessellation control shader code.

This property was introduced in Qt 5.13.

Access functions:

QByteArray tessellationControlShaderCode() const

Notifier signal:

void tessellationControlShaderCodeChanged(const QByteArray &tessellationControlShaderCode)

pub unsafe fn tessellation_control_shader_code_changed(
    &self,
    tessellation_control_shader_code: impl CastInto<Ref<QByteArray>>
)
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the generate tessellation control shader code.

Calls C++ function: void Qt3DRender::QShaderProgramBuilder::tessellationControlShaderCodeChanged(const QByteArray& tessellationControlShaderCode).

C++ documentation:

Holds the generate tessellation control shader code.

This property was introduced in Qt 5.13.

Access functions:

QByteArray tessellationControlShaderCode() const

Notifier signal:

void tessellationControlShaderCodeChanged(const QByteArray &tessellationControlShaderCode)

pub unsafe fn tessellation_control_shader_graph(&self) -> CppBox<QUrl>[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the URL to the tesselation control shader graph used by this shader program builder.

Calls C++ function: QUrl Qt3DRender::QShaderProgramBuilder::tessellationControlShaderGraph() const.

C++ documentation:

Holds the URL to the tesselation control shader graph used by this shader program builder.

Access functions:

QUrl tessellationControlShaderGraph() const
void setTessellationControlShaderGraph(const QUrl &tessellationControlShaderGraph)

Notifier signal:

void tessellationControlShaderGraphChanged(const QUrl &tessellationControlShaderGraph)

pub unsafe fn tessellation_evaluation_shader_code(&self) -> CppBox<QByteArray>[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the generate tessellation evaluation shader code.

Calls C++ function: QByteArray Qt3DRender::QShaderProgramBuilder::tessellationEvaluationShaderCode() const.

C++ documentation:

Holds the generate tessellation evaluation shader code.

This property was introduced in Qt 5.13.

Access functions:

QByteArray tessellationEvaluationShaderCode() const

Notifier signal:

void tessellationEvaluationShaderCodeChanged(const QByteArray &tessellationEvaluationShaderCode)

pub unsafe fn tessellation_evaluation_shader_code_changed(
    &self,
    tessellation_evaluation_shader_code: impl CastInto<Ref<QByteArray>>
)
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the generate tessellation evaluation shader code.

Calls C++ function: void Qt3DRender::QShaderProgramBuilder::tessellationEvaluationShaderCodeChanged(const QByteArray& tessellationEvaluationShaderCode).

C++ documentation:

Holds the generate tessellation evaluation shader code.

This property was introduced in Qt 5.13.

Access functions:

QByteArray tessellationEvaluationShaderCode() const

Notifier signal:

void tessellationEvaluationShaderCodeChanged(const QByteArray &tessellationEvaluationShaderCode)

pub unsafe fn tessellation_evaluation_shader_graph(&self) -> CppBox<QUrl>[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the URL to the tesselation evaluation shader graph used by this shader program builder.

Calls C++ function: QUrl Qt3DRender::QShaderProgramBuilder::tessellationEvaluationShaderGraph() const.

C++ documentation:

Holds the URL to the tesselation evaluation shader graph used by this shader program builder.

Access functions:

QUrl tessellationEvaluationShaderGraph() const
void setTessellationEvaluationShaderGraph(const QUrl &tessellationEvaluationShaderGraph)

Notifier signal:

void tessellationEvaluationShaderGraphChanged(const QUrl &tessellationEvaluationShaderGraph)

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

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Calls C++ function: static QString Qt3DRender::QShaderProgramBuilder::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]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

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

pub unsafe fn vertex_shader_code(&self) -> CppBox<QByteArray>[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the generate vertex shader code.

Calls C++ function: QByteArray Qt3DRender::QShaderProgramBuilder::vertexShaderCode() const.

C++ documentation:

Holds the generate vertex shader code.

This property was introduced in Qt 5.13.

Access functions:

QByteArray vertexShaderCode() const

Notifier signal:

void vertexShaderCodeChanged(const QByteArray &vertexShaderCode)

pub unsafe fn vertex_shader_code_changed(
    &self,
    vertex_shader_code: impl CastInto<Ref<QByteArray>>
)
[src]

This is supported on cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the generate vertex shader code.

Calls C++ function: void Qt3DRender::QShaderProgramBuilder::vertexShaderCodeChanged(const QByteArray& vertexShaderCode).

C++ documentation:

Holds the generate vertex shader code.

This property was introduced in Qt 5.13.

Access functions:

QByteArray vertexShaderCode() const

Notifier signal:

void vertexShaderCodeChanged(const QByteArray &vertexShaderCode)

pub unsafe fn vertex_shader_graph(&self) -> CppBox<QUrl>[src]

This is supported on cpp_lib_version="5.11.3" or cpp_lib_version="5.12.2" or cpp_lib_version="5.13.0" or cpp_lib_version="5.14.0" only.

Holds the URL to the vertex shader graph used by this shader program builder.

Calls C++ function: QUrl Qt3DRender::QShaderProgramBuilder::vertexShaderGraph() const.

C++ documentation:

Holds the URL to the vertex shader graph used by this shader program builder.

Access functions:

QUrl vertexShaderGraph() const
void setVertexShaderGraph(const QUrl &vertexShaderGraph)

Notifier signal:

void vertexShaderGraphChanged(const QUrl &vertexShaderGraph)

Trait Implementations

impl CppDeletable for QShaderProgramBuilder[src]

unsafe fn delete(&self)[src]

Destroys the instance of QShaderProgramBuilder. The destructor is virtual.

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

C++ documentation:

Destroys the instance of QShaderProgramBuilder. The destructor is virtual.

impl Deref for QShaderProgramBuilder[src]

type Target = QNode

The resulting type after dereferencing.

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

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

impl DynamicCast<QShaderProgramBuilder> for QNode[src]

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

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

impl DynamicCast<QShaderProgramBuilder> for QObject[src]

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

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

impl StaticDowncast<QShaderProgramBuilder> for QNode[src]

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

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

impl StaticDowncast<QShaderProgramBuilder> for QObject[src]

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

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

impl StaticUpcast<QNode> for QShaderProgramBuilder[src]

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

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

impl StaticUpcast<QObject> for QShaderProgramBuilder[src]

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

Calls C++ function: QObject* static_cast<QObject*>(Qt3DRender::QShaderProgramBuilder* 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.