AcTools.Render.Base.TargetTextures.TargetResourceSpecialTexture.Create C# (CSharp) 메소드

Create() 공개 정적인 메소드

public static Create ( ) : TargetResourceSpecialTexture
리턴 TargetResourceSpecialTexture
        public static TargetResourceSpecialTexture Create() {
            return new TargetResourceSpecialTexture(new Texture2DDescription {
                MipLevels = 1,
                ArraySize = 1,
                Format = Format.R24G8_Typeless,
                SampleDescription = DefaultSampleDescription,
                Usage = ResourceUsage.Default,
                BindFlags = BindFlags.DepthStencil | BindFlags.ShaderResource | BindFlags.RenderTarget,
                CpuAccessFlags = CpuAccessFlags.None,
                OptionFlags = ResourceOptionFlags.None
            });
        }
    }