external
Creates an external texture. The content must be set using setExternalImage() or setExternalStream().
The sampler can be SAMPLER_EXTERNAL or SAMPLER_2D depending on the format. Generally YUV formats must use SAMPLER_EXTERNAL. This depends on the backend features and is not validated.
If the Sampler is set to SAMPLER_EXTERNAL, external() is implied.
Return
This Builder, for chaining calls.
Creates an external texture. The content must be set using setExternalImage() or setExternalStream().
The sampler can be SAMPLER_EXTERNAL or SAMPLER_2D depending on the format. Generally YUV formats must use SAMPLER_EXTERNAL. This depends on the backend features and is not validated.
If the Sampler is set to SAMPLER_EXTERNAL, external() is implied.
Return
This Builder, for chaining calls.
Creates an external texture. The content must be set using setExternalImage() or setExternalStream().
The sampler can be SAMPLER_EXTERNAL or SAMPLER_2D depending on the format. Generally YUV formats must use SAMPLER_EXTERNAL. This depends on the backend features and is not validated.
If the Sampler is set to SAMPLER_EXTERNAL, external() is implied.
Return
This Builder, for chaining calls.
Creates an external texture. The content must be set using setExternalImage() or setExternalStream().
The sampler can be SAMPLER_EXTERNAL or SAMPLER_2D depending on the format. Generally YUV formats must use SAMPLER_EXTERNAL. This depends on the backend features and is not validated.
If the Sampler is set to SAMPLER_EXTERNAL, external() is implied.
Return
This Builder, for chaining calls.
Creates an external texture. The content must be set using setExternalImage() or setExternalStream().
The sampler can be SAMPLER_EXTERNAL or SAMPLER_2D depending on the format. Generally YUV formats must use SAMPLER_EXTERNAL. This depends on the backend features and is not validated.
If the Sampler is set to SAMPLER_EXTERNAL, external() is implied.
Return
This Builder, for chaining calls.