Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

277
Visualizações
Unity3D WebCamTexture graphicsFormat value doesn't exist

I wanted to check which UnityEngine.Experimental.Rendering.GraphicsFormat my WebCamTexture is using.

WebCamTexture webCam = new WebCamTexture();
Debug.Log($"Graphics Format is {webCam.graphicsFormat}");

The output is Graphics Format is 88 but 88 does not seem to be in the GraphicsFormat enum, which goes up to 86 and then continues at 96.

So which format is the WebCamTexture using?

EDIT: I am using Unity 2019.4.21f1 for this project.

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

88 is ARGB32, even though it's not part of the named enum values.

Edit: the full list of undocumented options is as follows:

  • Alpha8 54
  • ARGB32 88
  • YUY2 141
  • ASTC_HDR_4x4 145
  • ASTC_HDR_5x5 146
  • ASTC_HDR_6x6 147
  • ASTC_HDR_8x8 148
  • ASTC_HDR_10x10 149
  • ASTC_HDR_12x12 150
  • PVRTC_2BPP_RGBA 108875872
over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda