texture
Sets a texture to a given attachment point.
When using a DEPTH attachment, it is important to always disable post-processing in the View. Failing to do so will cause the DEPTH attachment to be ignored in most cases.
When the intention is to keep the content of the DEPTH attachment after rendering, the DEPTH attachment must be SAMPLEABLE, otherwise the content of the DEPTH buffer may be discarded.
Return
This Builder, for chaining calls
Parameters
The attachment point of the texture
The associated texture object (null to clear)
Sets a texture to a given attachment point.
When using a DEPTH attachment, it is important to always disable post-processing in the View. Failing to do so will cause the DEPTH attachment to be ignored in most cases.
When the intention is to keep the content of the DEPTH attachment after rendering, the DEPTH attachment must be SAMPLEABLE, otherwise the content of the DEPTH buffer may be discarded.
Return
This Builder, for chaining calls
Parameters
The attachment point of the texture
The associated texture object (null to clear)
Sets a texture to a given attachment point.
When using a DEPTH attachment, it is important to always disable post-processing in the View. Failing to do so will cause the DEPTH attachment to be ignored in most cases.
When the intention is to keep the content of the DEPTH attachment after rendering, the DEPTH attachment must be SAMPLEABLE, otherwise the content of the DEPTH buffer may be discarded.
Return
This Builder, for chaining calls
Parameters
The attachment point of the texture
The associated texture object (null to clear)
Sets a texture to a given attachment point.
When using a DEPTH attachment, it is important to always disable post-processing in the View. Failing to do so will cause the DEPTH attachment to be ignored in most cases.
When the intention is to keep the content of the DEPTH attachment after rendering, the DEPTH attachment must be SAMPLEABLE, otherwise the content of the DEPTH buffer may be discarded.
Return
This Builder, for chaining calls
Parameters
The attachment point of the texture
The associated texture object (null to clear)
Sets a texture to a given attachment point.
When using a DEPTH attachment, it is important to always disable post-processing in the View. Failing to do so will cause the DEPTH attachment to be ignored in most cases.
When the intention is to keep the content of the DEPTH attachment after rendering, the DEPTH attachment must be SAMPLEABLE, otherwise the content of the DEPTH buffer may be discarded.
Return
This Builder, for chaining calls
Parameters
The attachment point of the texture
The associated texture object (null to clear)