UnityEngine.Cubemap.Internal_Create C# (CSharp) Method

Internal_Create() private method

private Internal_Create ( [ mono, int size, TextureFormat format, bool mipmap ) : void
mono [
size int
format TextureFormat
mipmap bool
return void
        private static extern void Internal_Create([Writable] Cubemap mono, int size, TextureFormat format, bool mipmap);
        public void SetPixel(CubemapFace face, int x, int y, Color color)

Same methods

Cubemap::Internal_Create ( Cubemap mono, int size, TextureFormat format, bool mipmap ) : void

Usage Example

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

            if (flag)
            {
                Cubemap.Internal_Create(this, width, Texture.GenerateAllMips, format, flags, IntPtr.Zero);
            }
        }
All Usage Examples Of UnityEngine.Cubemap::Internal_Create