samples
Specifies the number of samples used for MSAA (Multisample Anti-Aliasing).
Calling this method implicitly indicates the texture is used as a render target. Hence, this method should not be used in conjunction with other methods that are semantically conflicting like setImage().
If this is invoked for array textures, it means this texture is used for multiview.
Return
This Builder, for chaining calls.
Parameters
Number of samples for this texture.
Specifies the number of samples used for MSAA (Multisample Anti-Aliasing).
Calling this method implicitly indicates the texture is used as a render target. Hence, this method should not be used in conjunction with other methods that are semantically conflicting like setImage().
If this is invoked for array textures, it means this texture is used for multiview.
Return
This Builder, for chaining calls.
Parameters
Number of samples for this texture.
Specifies the number of samples used for MSAA (Multisample Anti-Aliasing).
Calling this method implicitly indicates the texture is used as a render target. Hence, this method should not be used in conjunction with other methods that are semantically conflicting like setImage().
If this is invoked for array textures, it means this texture is used for multiview.
Return
This Builder, for chaining calls.
Parameters
Number of samples for this texture.
Specifies the number of samples used for MSAA (Multisample Anti-Aliasing).
Calling this method implicitly indicates the texture is used as a render target. Hence, this method should not be used in conjunction with other methods that are semantically conflicting like setImage().
If this is invoked for array textures, it means this texture is used for multiview.
Return
This Builder, for chaining calls.
Parameters
Number of samples for this texture.
Specifies the number of samples used for MSAA (Multisample Anti-Aliasing).
Calling this method implicitly indicates the texture is used as a render target. Hence, this method should not be used in conjunction with other methods that are semantically conflicting like setImage().
If this is invoked for array textures, it means this texture is used for multiview.
Return
This Builder, for chaining calls.
Parameters
Number of samples for this texture.