|
|
|
|
|
|
{ |
|
|
|
Camera camera = cameraData.camera; |
|
|
|
RenderTextureDescriptor desc; |
|
|
|
float renderScale = cameraData.renderScale; |
|
|
|
|
|
|
|
desc = XRSettings.eyeTextureDesc; |
|
|
|
{ |
|
|
|
XRSettings.eyeTextureResolutionScale = renderScale; |
|
|
|
return XRSettings.eyeTextureDesc; // FIXME Any adjustments needed before using eyeTextureDesc?
|
|
|
|
} |
|
|
|
{ |
|
|
|
|
|
|
|
float renderScale = cameraData.renderScale; |
|
|
|
} |
|
|
|
desc.colorFormat = cameraData.isHdrEnabled ? RenderTextureFormat.DefaultHDR : |
|
|
|
RenderTextureFormat.Default; |
|
|
|
desc.enableRandomWrite = false; |
|
|
|