UnityEngine.Texture2DArray.Internal_Create C# (CSharp) Method

Internal_Create() private method

private Internal_Create ( [ mono, int width, int height, int depth, TextureFormat format, bool mipmap, bool linear ) : void
mono [
width int
height int
depth int
format TextureFormat
mipmap bool
linear bool
return void
        private static extern void Internal_Create([Writable] Texture2DArray mono, int width, int height, int depth, TextureFormat format, bool mipmap, bool linear);
        [ExcludeFromDocs]

Usage Example

コード例 #1
0
        public Texture2DArray(int width, int height, int depth, GraphicsFormat format, TextureCreationFlags flags, int mipCount)
        {
            bool flag = !base.ValidateFormat(format, FormatUsage.Sample);

            if (!flag)
            {
                Texture2DArray.ValidateIsNotCrunched(flags);
                Texture2DArray.Internal_Create(this, width, height, depth, mipCount, format, flags);
            }
        }
All Usage Examples Of UnityEngine.Texture2DArray::Internal_Create