/// <summary> /// Initializes a new sub resource surface instance of <see cref="Surface2"/> class. /// </summary> /// <param name="resource"></param> /// <param name="index"></param> public Surface2(Resource1 resource, int index) : base(IntPtr.Zero) { resource.CreateSubresourceSurface(index, this); }
/// <summary> /// Initializes a new sub resource surface instance of <see cref="Surface2"/> class. /// </summary> /// <param name="resource"></param> /// <param name="index"></param> public Surface2(Resource1 resource, int index) : base(IntPtr.Zero) { resource.CreateSubresourceSurface(index, this); }