[−][src]Struct qt_3d_render::QShaderProgramBuilder
Generates a Shader Program content from loaded graphs.
C++ class: Qt3DRender::QShaderProgramBuilder
.
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]
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
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub fn slot_set_enabled_layers(&self) -> Receiver<(*const QStringList,)>
[src]
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
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub fn slot_set_vertex_shader_graph(&self) -> Receiver<(*const QUrl,)>
[src]
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
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub fn slot_set_tessellation_control_shader_graph(
&self
) -> Receiver<(*const QUrl,)>
[src]
&self
) -> Receiver<(*const QUrl,)>
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
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub fn slot_set_tessellation_evaluation_shader_graph(
&self
) -> Receiver<(*const QUrl,)>
[src]
&self
) -> Receiver<(*const QUrl,)>
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
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub fn slot_set_geometry_shader_graph(&self) -> Receiver<(*const QUrl,)>
[src]
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
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub fn slot_set_fragment_shader_graph(&self) -> Receiver<(*const QUrl,)>
[src]
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
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub fn slot_set_compute_shader_graph(&self) -> Receiver<(*const QUrl,)>
[src]
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
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub fn shader_program_changed(&self) -> Signal<(*mut QShaderProgram,)>
[src]
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
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub fn enabled_layers_changed(&self) -> Signal<(*const QStringList,)>
[src]
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
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub fn vertex_shader_graph_changed(&self) -> Signal<(*const QUrl,)>
[src]
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
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub fn tessellation_control_shader_graph_changed(
&self
) -> Signal<(*const QUrl,)>
[src]
&self
) -> Signal<(*const QUrl,)>
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
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub fn tessellation_evaluation_shader_graph_changed(
&self
) -> Signal<(*const QUrl,)>
[src]
&self
) -> Signal<(*const QUrl,)>
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
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub fn geometry_shader_graph_changed(&self) -> Signal<(*const QUrl,)>
[src]
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
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub fn fragment_shader_graph_changed(&self) -> Signal<(*const QUrl,)>
[src]
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
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub fn compute_shader_graph_changed(&self) -> Signal<(*const QUrl,)>
[src]
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
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn compute_shader_code(&self) -> CppBox<QByteArray>
[src]
Holds the generate compute shader code.
Calls C++ function: QByteArray Qt3DRender::QShaderProgramBuilder::computeShaderCode() const
.
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) |
This item is available if any(cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn compute_shader_code_changed(
&mut self,
compute_shader_code: impl CastInto<Ref<QByteArray>>
)
[src]
&mut self,
compute_shader_code: impl CastInto<Ref<QByteArray>>
)
Holds the generate compute shader code.
Calls C++ function: void Qt3DRender::QShaderProgramBuilder::computeShaderCodeChanged(const QByteArray& computeShaderCode)
.
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) |
This item is available if any(cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn compute_shader_graph(&self) -> CppBox<QUrl>
[src]
Holds the URL to the compute shader graph used by this shader program builder.
Calls C++ function: QUrl Qt3DRender::QShaderProgramBuilder::computeShaderGraph() const
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn enabled_layers(&self) -> CppBox<QStringList>
[src]
Holds the list of layers this builder will activate on the shader graphs during code generation.
Calls C++ function: QStringList Qt3DRender::QShaderProgramBuilder::enabledLayers() const
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn fragment_shader_code(&self) -> CppBox<QByteArray>
[src]
Holds the generate fragment shader code.
Calls C++ function: QByteArray Qt3DRender::QShaderProgramBuilder::fragmentShaderCode() const
.
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) |
This item is available if any(cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn fragment_shader_code_changed(
&mut self,
fragment_shader_code: impl CastInto<Ref<QByteArray>>
)
[src]
&mut self,
fragment_shader_code: impl CastInto<Ref<QByteArray>>
)
Holds the generate fragment shader code.
Calls C++ function: void Qt3DRender::QShaderProgramBuilder::fragmentShaderCodeChanged(const QByteArray& fragmentShaderCode)
.
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) |
This item is available if any(cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn fragment_shader_graph(&self) -> CppBox<QUrl>
[src]
Holds the URL to the fragment shader graph used by this shader program builder.
Calls C++ function: QUrl Qt3DRender::QShaderProgramBuilder::fragmentShaderGraph() const
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn geometry_shader_code(&self) -> CppBox<QByteArray>
[src]
Holds the generate geometry shader code.
Calls C++ function: QByteArray Qt3DRender::QShaderProgramBuilder::geometryShaderCode() const
.
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) |
This item is available if any(cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn geometry_shader_code_changed(
&mut self,
geometry_shader_code: impl CastInto<Ref<QByteArray>>
)
[src]
&mut self,
geometry_shader_code: impl CastInto<Ref<QByteArray>>
)
Holds the generate geometry shader code.
Calls C++ function: void Qt3DRender::QShaderProgramBuilder::geometryShaderCodeChanged(const QByteArray& geometryShaderCode)
.
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) |
This item is available if any(cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn geometry_shader_graph(&self) -> CppBox<QUrl>
[src]
Holds the URL to the geometry shader graph used by this shader program builder.
Calls C++ function: QUrl Qt3DRender::QShaderProgramBuilder::geometryShaderGraph() const
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn meta_object(&self) -> Ptr<QMetaObject>
[src]
Calls C++ function: virtual const QMetaObject* Qt3DRender::QShaderProgramBuilder::metaObject() const
.
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn new_1a(
parent: impl CastInto<MutPtr<QNode>>
) -> QBox<QShaderProgramBuilder>
[src]
parent: impl CastInto<MutPtr<QNode>>
) -> QBox<QShaderProgramBuilder>
Default constructs an instance of QShaderProgramBuilder.
Calls C++ function: [constructor] void Qt3DRender::QShaderProgramBuilder::QShaderProgramBuilder(Qt3DCore::QNode* parent = …)
.
Default constructs an instance of QShaderProgramBuilder.
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn new_0a() -> QBox<QShaderProgramBuilder>
[src]
Generates a Shader Program content from loaded graphs.
Calls C++ function: [constructor] void Qt3DRender::QShaderProgramBuilder::QShaderProgramBuilder()
.
Generates a Shader Program content from loaded graphs.
A shader program builder consists of several different shader graphs used to generate shader code.
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
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::QShaderProgramBuilder::qt_metacall(QMetaObject::Call arg1, int arg2, void** arg3)
.
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
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::QShaderProgramBuilder::qt_metacast(const char* arg1)
.
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn set_compute_shader_graph(
&mut self,
compute_shader_graph: impl CastInto<Ref<QUrl>>
)
[src]
&mut self,
compute_shader_graph: impl CastInto<Ref<QUrl>>
)
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)
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn set_enabled_layers(
&mut self,
layers: impl CastInto<Ref<QStringList>>
)
[src]
&mut self,
layers: impl CastInto<Ref<QStringList>>
)
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)
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn set_fragment_shader_graph(
&mut self,
fragment_shader_graph: impl CastInto<Ref<QUrl>>
)
[src]
&mut self,
fragment_shader_graph: impl CastInto<Ref<QUrl>>
)
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)
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn set_geometry_shader_graph(
&mut self,
geometry_shader_graph: impl CastInto<Ref<QUrl>>
)
[src]
&mut self,
geometry_shader_graph: impl CastInto<Ref<QUrl>>
)
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)
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn set_shader_program(
&mut self,
program: impl CastInto<MutPtr<QShaderProgram>>
)
[src]
&mut self,
program: impl CastInto<MutPtr<QShaderProgram>>
)
Holds the shader program on which this builder generates code.
Calls C++ function: [slot] void Qt3DRender::QShaderProgramBuilder::setShaderProgram(Qt3DRender::QShaderProgram* program)
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn set_tessellation_control_shader_graph(
&mut self,
tessellation_control_shader_graph: impl CastInto<Ref<QUrl>>
)
[src]
&mut self,
tessellation_control_shader_graph: impl CastInto<Ref<QUrl>>
)
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)
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn set_tessellation_evaluation_shader_graph(
&mut self,
tessellation_evaluation_shader_graph: impl CastInto<Ref<QUrl>>
)
[src]
&mut self,
tessellation_evaluation_shader_graph: impl CastInto<Ref<QUrl>>
)
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)
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn set_vertex_shader_graph(
&mut self,
vertex_shader_graph: impl CastInto<Ref<QUrl>>
)
[src]
&mut self,
vertex_shader_graph: impl CastInto<Ref<QUrl>>
)
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)
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn shader_program(&self) -> QMutPtr<QShaderProgram>
[src]
Holds the shader program on which this builder generates code.
Calls C++ function: Qt3DRender::QShaderProgram* Qt3DRender::QShaderProgramBuilder::shaderProgram() const
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn static_meta_object() -> Ref<QMetaObject>
[src]
Returns a reference to the staticMetaObject
field.
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn tessellation_control_shader_code(&self) -> CppBox<QByteArray>
[src]
Holds the generate tessellation control shader code.
Calls C++ function: QByteArray Qt3DRender::QShaderProgramBuilder::tessellationControlShaderCode() const
.
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) |
This item is available if any(cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn tessellation_control_shader_code_changed(
&mut self,
tessellation_control_shader_code: impl CastInto<Ref<QByteArray>>
)
[src]
&mut self,
tessellation_control_shader_code: impl CastInto<Ref<QByteArray>>
)
Holds the generate tessellation control shader code.
Calls C++ function: void Qt3DRender::QShaderProgramBuilder::tessellationControlShaderCodeChanged(const QByteArray& tessellationControlShaderCode)
.
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) |
This item is available if any(cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn tessellation_control_shader_graph(&self) -> CppBox<QUrl>
[src]
Holds the URL to the tesselation control shader graph used by this shader program builder.
Calls C++ function: QUrl Qt3DRender::QShaderProgramBuilder::tessellationControlShaderGraph() const
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn tessellation_evaluation_shader_code(&self) -> CppBox<QByteArray>
[src]
Holds the generate tessellation evaluation shader code.
Calls C++ function: QByteArray Qt3DRender::QShaderProgramBuilder::tessellationEvaluationShaderCode() const
.
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) |
This item is available if any(cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn tessellation_evaluation_shader_code_changed(
&mut self,
tessellation_evaluation_shader_code: impl CastInto<Ref<QByteArray>>
)
[src]
&mut self,
tessellation_evaluation_shader_code: impl CastInto<Ref<QByteArray>>
)
Holds the generate tessellation evaluation shader code.
Calls C++ function: void Qt3DRender::QShaderProgramBuilder::tessellationEvaluationShaderCodeChanged(const QByteArray& tessellationEvaluationShaderCode)
.
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) |
This item is available if any(cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn tessellation_evaluation_shader_graph(&self) -> CppBox<QUrl>
[src]
Holds the URL to the tesselation evaluation shader graph used by this shader program builder.
Calls C++ function: QUrl Qt3DRender::QShaderProgramBuilder::tessellationEvaluationShaderGraph() const
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
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::QShaderProgramBuilder::tr(const char* s, const char* c, int n)
.
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
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::QShaderProgramBuilder::trUtf8(const char* s, const char* c, int n)
.
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn vertex_shader_code(&self) -> CppBox<QByteArray>
[src]
Holds the generate vertex shader code.
Calls C++ function: QByteArray Qt3DRender::QShaderProgramBuilder::vertexShaderCode() const
.
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) |
This item is available if any(cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn vertex_shader_code_changed(
&mut self,
vertex_shader_code: impl CastInto<Ref<QByteArray>>
)
[src]
&mut self,
vertex_shader_code: impl CastInto<Ref<QByteArray>>
)
Holds the generate vertex shader code.
Calls C++ function: void Qt3DRender::QShaderProgramBuilder::vertexShaderCodeChanged(const QByteArray& vertexShaderCode)
.
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) |
This item is available if any(cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
pub unsafe fn vertex_shader_graph(&self) -> CppBox<QUrl>
[src]
Holds the URL to the vertex shader graph used by this shader program builder.
Calls C++ function: QUrl Qt3DRender::QShaderProgramBuilder::vertexShaderGraph() const
.
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) |
This item is available if any(cpp_lib_version="5.11.3", cpp_lib_version="5.12.2", cpp_lib_version="5.13.0", cpp_lib_version="5.14.0")
.
Trait Implementations
impl CppDeletable for QShaderProgramBuilder
[src]
unsafe fn delete(&mut self)
[src]
Destroys the instance of QShaderProgramBuilder. The destructor is virtual.
Calls C++ function: virtual [destructor] void Qt3DRender::QShaderProgramBuilder::~QShaderProgramBuilder()
.
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 DerefMut for QShaderProgramBuilder
[src]
fn deref_mut(&mut self) -> &mut 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)
.
unsafe fn dynamic_cast_mut(ptr: MutPtr<QNode>) -> MutPtr<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)
.
unsafe fn dynamic_cast_mut(
ptr: MutPtr<QObject>
) -> MutPtr<QShaderProgramBuilder>
[src]
ptr: MutPtr<QObject>
) -> MutPtr<QShaderProgramBuilder>
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)
.
unsafe fn static_downcast_mut(
ptr: MutPtr<QNode>
) -> MutPtr<QShaderProgramBuilder>
[src]
ptr: MutPtr<QNode>
) -> MutPtr<QShaderProgramBuilder>
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)
.
unsafe fn static_downcast_mut(
ptr: MutPtr<QObject>
) -> MutPtr<QShaderProgramBuilder>
[src]
ptr: MutPtr<QObject>
) -> MutPtr<QShaderProgramBuilder>
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)
.
unsafe fn static_upcast_mut(ptr: MutPtr<QShaderProgramBuilder>) -> MutPtr<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)
.
unsafe fn static_upcast_mut(
ptr: MutPtr<QShaderProgramBuilder>
) -> MutPtr<QObject>
[src]
ptr: MutPtr<QShaderProgramBuilder>
) -> MutPtr<QObject>
Calls C++ function: QObject* static_cast<QObject*>(Qt3DRender::QShaderProgramBuilder* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QShaderProgramBuilder
impl Send for QShaderProgramBuilder
impl Sync for QShaderProgramBuilder
impl Unpin for QShaderProgramBuilder
impl UnwindSafe for QShaderProgramBuilder
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>,