UnityEngine.RenderTexture.GetTemporary C# (CSharp) Method

GetTemporary() private method

private GetTemporary ( int width, int height, int depthBuffer, RenderTextureFormat format ) : RenderTexture
width int
height int
depthBuffer int
format RenderTextureFormat
return RenderTexture
        public static RenderTexture GetTemporary(int width, int height, int depthBuffer, RenderTextureFormat format)
        {
            int antiAliasing = 1;
            RenderTextureReadWrite readWrite = RenderTextureReadWrite.Default;
            return GetTemporary(width, height, depthBuffer, format, readWrite, antiAliasing);
        }

Same methods

RenderTexture::GetTemporary ( int width, int height ) : RenderTexture
RenderTexture::GetTemporary ( int width, int height, [ depthBuffer, [ format, [ readWrite, [ antiAliasing ) : RenderTexture
RenderTexture::GetTemporary ( int width, int height, int depthBuffer ) : RenderTexture
RenderTexture::GetTemporary ( int width, int height, int depthBuffer, RenderTextureFormat format, RenderTextureReadWrite readWrite ) : RenderTexture

Usage Example

コード例 #1
0
        public static RenderTexture GetTemporary(int width, int height, int depthBuffer, RenderTextureFormat format, RenderTextureReadWrite readWrite, int antiAliasing, RenderTextureMemoryless memorylessMode, VRTextureUsage vrUsage)
        {
            bool useDynamicScale = false;

            return(RenderTexture.GetTemporary(width, height, depthBuffer, format, readWrite, antiAliasing, memorylessMode, vrUsage, useDynamicScale));
        }