Ejemplo n.º 1
0
        public WCTexImage(CTexImage *self, NativeEnvironment environment)
        {
            Self = self;

            _mipmaps = new WCList <CTexMipmap, ITexMipmap>(
                &Self->mipmap_count,
                &Self->mipmaps,
                environment,
                (x, e) => new WCTexMipmap(x, e));
        }
Ejemplo n.º 2
0
        public WCTexImageContainer(CTexImageContainer *self, NativeEnvironment environment)
        {
            Self = self;

            _magic  = new WCString(&self->magic, environment);
            _images = new WCList <CTexImage, ITexImage>(
                &Self->image_count,
                &Self->images,
                environment,
                (x, e) => new WCTexImage(x, e));
        }
Ejemplo n.º 3
0
        public WCTexFrameInfoContainer(CTexFrameInfoContainer *self, NativeEnvironment environment)
        {
            Self = self;

            _magic = new WCString(&self->magic, environment);

            _frames = new WCList <CTexFrameInfo, ITexFrameInfo>(
                &Self->frame_count,
                &Self->frames,
                environment,
                (x, _) => new WCTexFrameInfo(x));
        }