m_AsyncAnnotations = new Dictionary < int , AsyncAnnotation > ( ) ;
var renderTextureDescriptor = new RenderTextureDescriptor ( width , height , GraphicsFormat . R8G8B8A8_UNorm , 8 ) ;
{
if ( targetTexture . sRGB )
{
Debug . LogError ( "targetTexture supplied to SemanticSegmentationLabeler must be in Linear mode. Disabling labeler." ) ;
this . enabled = false ;
}
var renderTextureDescriptor = new RenderTextureDescriptor ( width , height , GraphicsFormat . R8G8B8A8_UNorm , 8 ) ;
}
m_TargetTextureOverride = new RenderTexture ( renderTextureDescriptor ) ;
m_TargetTextureOverride = new RenderTexture ( width , height , 8 , RenderTextureFormat . ARGB32 , RenderTextureReadWrite . Linear ) ;
targetTexture . Create ( ) ;
targetTexture . name = "Labeling" ;