Class Image


  • public class Image
    extends CFacade
    Generated facet for DNA struct type 'Image'.

    Class Documentation

    Java .Blend

    Any kind of image referenced (e.g. texture).

    Animated Images

    An image can contain multiple frames, that can be used for animated images (movies). Those frames are ordered in rows and columns (like reading a book). xrep/yrep define the number of columns and rows and twsta and twend the range of frames to be used in the animation.

    • Field Detail

      • __DNA__SDNA_INDEX

        public static final int __DNA__SDNA_INDEX
        This is the sdna index of the struct Image.

        It is required when allocating a new block to store data for Image.

        See Also:
        StructDNA, BlockTable, Constant Field Values
      • __DNA__FIELD__id

        public static final long[] __DNA__FIELD__id
        Field descriptor (offset) for struct member 'id'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__id);
         CPointer<ID> p_id = p.cast(new Class[]{ID.class});
         

        Metadata

        • Field: 'id'
        • Signature: 'ID'
        • Actual Size (32bit/64bit): 152/192
      • __DNA__FIELD__name

        public static final long[] __DNA__FIELD__name
        Field descriptor (offset) for struct member 'name'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__name);
         CPointer<CArrayFacade<Byte>> p_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'name'
        • Signature: 'char[1024]'
        • Actual Size (32bit/64bit): 1024/1024
      • __DNA__FIELD__cache

        public static final long[] __DNA__FIELD__cache
        Field descriptor (offset) for struct member 'cache'.

        Field Documentation

        Blender Source Code

        Not written in file.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__cache);
         CPointer<CPointer<Object>> p_cache = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'cache'
        • Signature: 'MovieCache*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__gputexture

        public static final long[] __DNA__FIELD__gputexture
        Field descriptor (offset) for struct member 'gputexture'.

        Field Documentation

        Blender Source Code

        Not written in file 3 = TEXTARGET_COUNT, 2 = stereo eyes, 2 = IMA_TEXTURE_RESOLUTION_LEN.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__gputexture);
         CPointer<CArrayFacade<CArrayFacade<CArrayFacade<CPointer<Object>>>>> p_gputexture = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, CArrayFacade.class, CPointer.class, Object.class});
         

        Metadata

        • Field: 'gputexture'
        • Signature: 'GPUTexture*[3][2][2]'
        • Actual Size (32bit/64bit): 48/96
      • __DNA__FIELD__anims

        public static final long[] __DNA__FIELD__anims
        Field descriptor (offset) for struct member 'anims'.

        Field Documentation

        Blender Source Code

        sources from:

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__anims);
         CPointer<ListBase> p_anims = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'anims'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
      • __DNA__FIELD__rr

        public static final long[] __DNA__FIELD__rr
        Field descriptor (offset) for struct member 'rr'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__rr);
         CPointer<CPointer<Object>> p_rr = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'rr'
        • Signature: 'RenderResult*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__renderslots

        public static final long[] __DNA__FIELD__renderslots
        Field descriptor (offset) for struct member 'renderslots'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__renderslots);
         CPointer<ListBase> p_renderslots = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'renderslots'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
      • __DNA__FIELD__render_slot

        public static final long[] __DNA__FIELD__render_slot
        Field descriptor (offset) for struct member 'render_slot'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__render_slot);
         CPointer<Short> p_render_slot = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'render_slot'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__last_render_slot

        public static final long[] __DNA__FIELD__last_render_slot
        Field descriptor (offset) for struct member 'last_render_slot'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__last_render_slot);
         CPointer<Short> p_last_render_slot = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'last_render_slot'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__flag

        public static final long[] __DNA__FIELD__flag
        Field descriptor (offset) for struct member 'flag'.

        Field Documentation

        Java .Blend

        Values

                IMA_FIELDS              = (1 << 0),
                IMA_STD_FIELD           = (1 << 1),
                IMA_DO_PREMUL           = (1 << 2),  // deprecated, should not be used 
                IMA_REFLECT             = (1 << 4),
                IMA_NOCOLLECT           = (1 << 5),
                //IMA_DONE_TAG          = (1 << 6),  // UNUSED
                IMA_OLD_PREMUL          = (1 << 7),
                // IMA_CM_PREDIVIDE     = (1 << 8),  // deprecated, should not be used 
                IMA_USED_FOR_RENDER     = (1 << 9),
                IMA_USER_FRAME_IN_RANGE = (1 << 10), // for image user, but these flags are mixed 
                IMA_VIEW_AS_RENDER      = (1 << 11),
                IMA_IGNORE_ALPHA        = (1 << 12),
                IMA_DEINTERLACE         = (1 << 13),
                IMA_USE_VIEWS           = (1 << 14),
                // IMA_IS_STEREO        = (1 << 15), // deprecated 
                // IMA_IS_MULTIVIEW     = (1 << 16), // deprecated 
                                        
                                        

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__flag);
         CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__source

        public static final long[] __DNA__FIELD__source
        Field descriptor (offset) for struct member 'source'.

        Field Documentation

        Java .Blend

        Values:

                IMA_SRC_CHECK       0
                IMA_SRC_FILE        1
                IMA_SRC_SEQUENCE    2
                IMA_SRC_MOVIE       3
                IMA_SRC_GENERATED   4
                IMA_SRC_VIEWER      5
                                        

        Blender Python API

        Where the image comes from

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__source);
         CPointer<Short> p_source = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'source'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__type

        public static final long[] __DNA__FIELD__type
        Field descriptor (offset) for struct member 'type'.

        Field Documentation

        Java .Blend

        how to handle/generate it.

        Values:

                IMA_TYPE_IMAGE      0
                IMA_TYPE_MULTILAYER 1
         // generated 
                IMA_TYPE_UV_TEST    2
         // viewers
                IMA_TYPE_R_RESULT   4
                IMA_TYPE_COMPOSITE  5
                                        

        Blender Python API

        (read-only) How to generate the image

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__type);
         CPointer<Short> p_type = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'type'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__lastframe

        public static final long[] __DNA__FIELD__lastframe
        Field descriptor (offset) for struct member 'lastframe'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__lastframe);
         CPointer<Integer> p_lastframe = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'lastframe'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__gpuframenr

        public static final long[] __DNA__FIELD__gpuframenr
        Field descriptor (offset) for struct member 'gpuframenr'.

        Field Documentation

        Blender Source Code

        GPU texture flag.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__gpuframenr);
         CPointer<Integer> p_gpuframenr = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'gpuframenr'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__gpuflag

        public static final long[] __DNA__FIELD__gpuflag
        Field descriptor (offset) for struct member 'gpuflag'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__gpuflag);
         CPointer<Short> p_gpuflag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'gpuflag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__gpu_pass

        public static final long[] __DNA__FIELD__gpu_pass
        Field descriptor (offset) for struct member 'gpu_pass'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__gpu_pass);
         CPointer<Short> p_gpu_pass = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'gpu_pass'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__gpu_layer

        public static final long[] __DNA__FIELD__gpu_layer
        Field descriptor (offset) for struct member 'gpu_layer'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__gpu_layer);
         CPointer<Short> p_gpu_layer = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'gpu_layer'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__gpu_view

        public static final long[] __DNA__FIELD__gpu_view
        Field descriptor (offset) for struct member 'gpu_view'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__gpu_view);
         CPointer<Short> p_gpu_view = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'gpu_view'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD___pad2

        public static final long[] __DNA__FIELD___pad2
        Field descriptor (offset) for struct member '_pad2'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD___pad2);
         CPointer<CArrayFacade<Byte>> p__pad2 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad2'
        • Signature: 'char[4]'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__packedfile

        public static final long[] __DNA__FIELD__packedfile
        Deprecated.
        Deprecated

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__packedfile);
         CPointer<CPointer<PackedFile>> p_packedfile = p.cast(new Class[]{CPointer.class, PackedFile.class});
         

        Metadata

        • Field: 'packedfile'
        • Signature: 'PackedFile*'
        • Actual Size (32bit/64bit): 4/8
        Field descriptor (offset) for struct member 'packedfile'.

        Field Documentation

        Blender Source Code

        Deprecated.

      • __DNA__FIELD__packedfiles

        public static final long[] __DNA__FIELD__packedfiles
        Field descriptor (offset) for struct member 'packedfiles'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__packedfiles);
         CPointer<ListBase> p_packedfiles = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'packedfiles'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
      • __DNA__FIELD__preview

        public static final long[] __DNA__FIELD__preview
        Field descriptor (offset) for struct member 'preview'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__preview);
         CPointer<CPointer<PreviewImage>> p_preview = p.cast(new Class[]{CPointer.class, PreviewImage.class});
         

        Metadata

        • Field: 'preview'
        • Signature: 'PreviewImage*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__lastused

        public static final long[] __DNA__FIELD__lastused
        Field descriptor (offset) for struct member 'lastused'.

        Field Documentation

        Java .Blend

        seconds since 1970.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__lastused);
         CPointer<Integer> p_lastused = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'lastused'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__gen_x

        public static final long[] __DNA__FIELD__gen_x
        Field descriptor (offset) for struct member 'gen_x'.

        Field Documentation

        Java .Blend

        For generated images: width

        Blender Source Code

        for generated images

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__gen_x);
         CPointer<Integer> p_gen_x = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'gen_x'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__gen_y

        public static final long[] __DNA__FIELD__gen_y
        Field descriptor (offset) for struct member 'gen_y'.

        Field Documentation

        Java .Blend

        For generated images: height

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__gen_y);
         CPointer<Integer> p_gen_y = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'gen_y'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__gen_type

        public static final long[] __DNA__FIELD__gen_type
        Field descriptor (offset) for struct member 'gen_type'.

        Field Documentation

        Java .Blend

        For generated images:

        Values:

                IMA_GENTYPE_BLANK = 0,
                IMA_GENTYPE_GRID = 1,
                IMA_GENTYPE_GRID_COLOR = 2
                                        

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__gen_type);
         CPointer<Byte> p_gen_type = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'gen_type'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__gen_flag

        public static final long[] __DNA__FIELD__gen_flag
        Field descriptor (offset) for struct member 'gen_flag'.

        Field Documentation

        Java .Blend

        For generated images:

        Values:

                IMA_GEN_FLOAT           1
                                        

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__gen_flag);
         CPointer<Byte> p_gen_flag = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'gen_flag'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__gen_depth

        public static final long[] __DNA__FIELD__gen_depth
        Field descriptor (offset) for struct member 'gen_depth'.

        Field Documentation

        Java .Blend

        For generated images: number of bits per pixel (e.g. 24 for rgb or 32 for rgba)

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__gen_depth);
         CPointer<Short> p_gen_depth = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'gen_depth'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__gen_color

        public static final long[] __DNA__FIELD__gen_color
        Field descriptor (offset) for struct member 'gen_color'.

        Field Documentation

        Java .Blend

        For generated images: Color used to initialize the generated image (e.g. background)

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__gen_color);
         CPointer<CArrayFacade<Float>> p_gen_color = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'gen_color'
        • Signature: 'float[4]'
        • Actual Size (32bit/64bit): 16/16
      • __DNA__FIELD__aspx

        public static final long[] __DNA__FIELD__aspx
        Field descriptor (offset) for struct member 'aspx'.

        Field Documentation

        Blender Source Code

        display aspect - for UV editing images resized for faster openGL display

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__aspx);
         CPointer<Float> p_aspx = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'aspx'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__aspy

        public static final long[] __DNA__FIELD__aspy
        Field descriptor (offset) for struct member 'aspy'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__aspy);
         CPointer<Float> p_aspy = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'aspy'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__colorspace_settings

        public static final long[] __DNA__FIELD__colorspace_settings
        Field descriptor (offset) for struct member 'colorspace_settings'.

        Field Documentation

        Blender Python API

        (read-only) Input color space settings

        Blender Source Code

        color management

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__colorspace_settings);
         CPointer<ColorManagedColorspaceSettings> p_colorspace_settings = p.cast(new Class[]{ColorManagedColorspaceSettings.class});
         

        Metadata

        • Field: 'colorspace_settings'
        • Signature: 'ColorManagedColorspaceSettings'
        • Actual Size (32bit/64bit): 64/64
      • __DNA__FIELD__alpha_mode

        public static final long[] __DNA__FIELD__alpha_mode
        Field descriptor (offset) for struct member 'alpha_mode'.

        Field Documentation

        Blender Python API

        Representation of alpha in the image file, to convert to and from when saving and loading the image

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__alpha_mode);
         CPointer<Byte> p_alpha_mode = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'alpha_mode'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD___pad

        public static final long[] __DNA__FIELD___pad
        Field descriptor (offset) for struct member '_pad'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD___pad);
         CPointer<Byte> p__pad = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__eye

        public static final long[] __DNA__FIELD__eye
        Field descriptor (offset) for struct member 'eye'.

        Field Documentation

        Blender Source Code

        Multiview For viewer node stereoscopy.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__eye);
         CPointer<Byte> p_eye = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'eye'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__views_format

        public static final long[] __DNA__FIELD__views_format
        Field descriptor (offset) for struct member 'views_format'.

        Field Documentation

        Blender Python API

        Mode to load image views

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__views_format);
         CPointer<Byte> p_views_format = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'views_format'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__active_tile_index

        public static final long[] __DNA__FIELD__active_tile_index
        Field descriptor (offset) for struct member 'active_tile_index'.

        Field Documentation

        Blender Source Code

        ImageTile list for UDIMs.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__active_tile_index);
         CPointer<Integer> p_active_tile_index = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'active_tile_index'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__tiles

        public static final long[] __DNA__FIELD__tiles
        Field descriptor (offset) for struct member 'tiles'.

        Field Documentation

        Blender Python API

        (read-only) Tiles of the image

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__tiles);
         CPointer<ListBase> p_tiles = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'tiles'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
      • __DNA__FIELD__views

        public static final long[] __DNA__FIELD__views
        Field descriptor (offset) for struct member 'views'.

        Field Documentation

        Blender Source Code

        ImageView .

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__views);
         CPointer<ListBase> p_views = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'views'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
      • __DNA__FIELD__stereo3d_format

        public static final long[] __DNA__FIELD__stereo3d_format
        Field descriptor (offset) for struct member 'stereo3d_format'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__stereo3d_format);
         CPointer<CPointer<Stereo3dFormat>> p_stereo3d_format = p.cast(new Class[]{CPointer.class, Stereo3dFormat.class});
         

        Metadata

        • Field: 'stereo3d_format'
        • Signature: 'Stereo3dFormat*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__runtime

        public static final long[] __DNA__FIELD__runtime
        Field descriptor (offset) for struct member 'runtime'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         Image image = ...;
         CPointer<Object> p = image.__dna__addressof(Image.__DNA__FIELD__runtime);
         CPointer<Image_Runtime> p_runtime = p.cast(new Class[]{Image_Runtime.class});
         

        Metadata

        • Field: 'runtime'
        • Signature: 'Image_Runtime'
        • Actual Size (32bit/64bit): 12/24
    • Constructor Detail

      • Image

        public Image​(long __address,
                     Block __block,
                     BlockTable __blockTable)
      • Image

        protected Image​(Image that)
    • Method Detail

      • getId

        public ID getId()
                 throws java.io.IOException
        Get method for struct member 'id'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__id
      • setId

        public void setId​(ID id)
                   throws java.io.IOException
        Set method for struct member 'id'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__id
      • getName

        public CArrayFacade<java.lang.Byte> getName()
                                             throws java.io.IOException
        Get method for struct member 'name'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name
      • setName

        public void setName​(CArrayFacade<java.lang.Byte> name)
                     throws java.io.IOException
        Set method for struct member 'name'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name
      • getCache

        public CPointer<java.lang.Object> getCache()
                                            throws java.io.IOException
        Get method for struct member 'cache'.

        Field Documentation

        Blender Source Code

        Not written in file.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cache
      • setCache

        public void setCache​(CPointer<java.lang.Object> cache)
                      throws java.io.IOException
        Set method for struct member 'cache'.

        Field Documentation

        Blender Source Code

        Not written in file.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cache
      • getGputexture

        public CArrayFacade<CArrayFacade<CArrayFacade<CPointer<java.lang.Object>>>> getGputexture()
                                                                                           throws java.io.IOException
        Get method for struct member 'gputexture'.

        Field Documentation

        Blender Source Code

        Not written in file 3 = TEXTARGET_COUNT, 2 = stereo eyes, 2 = IMA_TEXTURE_RESOLUTION_LEN.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gputexture
      • setGputexture

        public void setGputexture​(CArrayFacade<CArrayFacade<CArrayFacade<CPointer<java.lang.Object>>>> gputexture)
                           throws java.io.IOException
        Set method for struct member 'gputexture'.

        Field Documentation

        Blender Source Code

        Not written in file 3 = TEXTARGET_COUNT, 2 = stereo eyes, 2 = IMA_TEXTURE_RESOLUTION_LEN.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gputexture
      • getAnims

        public ListBase getAnims()
                          throws java.io.IOException
        Get method for struct member 'anims'.

        Field Documentation

        Blender Source Code

        sources from:

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__anims
      • setAnims

        public void setAnims​(ListBase anims)
                      throws java.io.IOException
        Set method for struct member 'anims'.

        Field Documentation

        Blender Source Code

        sources from:

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__anims
      • getRr

        public CPointer<java.lang.Object> getRr()
                                         throws java.io.IOException
        Get method for struct member 'rr'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rr
      • setRr

        public void setRr​(CPointer<java.lang.Object> rr)
                   throws java.io.IOException
        Set method for struct member 'rr'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rr
      • getRenderslots

        public ListBase getRenderslots()
                                throws java.io.IOException
        Get method for struct member 'renderslots'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__renderslots
      • setRenderslots

        public void setRenderslots​(ListBase renderslots)
                            throws java.io.IOException
        Set method for struct member 'renderslots'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__renderslots
      • getRender_slot

        public short getRender_slot()
                             throws java.io.IOException
        Get method for struct member 'render_slot'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__render_slot
      • setRender_slot

        public void setRender_slot​(short render_slot)
                            throws java.io.IOException
        Set method for struct member 'render_slot'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__render_slot
      • getLast_render_slot

        public short getLast_render_slot()
                                  throws java.io.IOException
        Get method for struct member 'last_render_slot'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__last_render_slot
      • setLast_render_slot

        public void setLast_render_slot​(short last_render_slot)
                                 throws java.io.IOException
        Set method for struct member 'last_render_slot'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__last_render_slot
      • getFlag

        public int getFlag()
                    throws java.io.IOException
        Get method for struct member 'flag'.

        Field Documentation

        Java .Blend

        Values

                IMA_FIELDS              = (1 << 0),
                IMA_STD_FIELD           = (1 << 1),
                IMA_DO_PREMUL           = (1 << 2),  // deprecated, should not be used 
                IMA_REFLECT             = (1 << 4),
                IMA_NOCOLLECT           = (1 << 5),
                //IMA_DONE_TAG          = (1 << 6),  // UNUSED
                IMA_OLD_PREMUL          = (1 << 7),
                // IMA_CM_PREDIVIDE     = (1 << 8),  // deprecated, should not be used 
                IMA_USED_FOR_RENDER     = (1 << 9),
                IMA_USER_FRAME_IN_RANGE = (1 << 10), // for image user, but these flags are mixed 
                IMA_VIEW_AS_RENDER      = (1 << 11),
                IMA_IGNORE_ALPHA        = (1 << 12),
                IMA_DEINTERLACE         = (1 << 13),
                IMA_USE_VIEWS           = (1 << 14),
                // IMA_IS_STEREO        = (1 << 15), // deprecated 
                // IMA_IS_MULTIVIEW     = (1 << 16), // deprecated 
                                        
                                        
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(int flag)
                     throws java.io.IOException
        Set method for struct member 'flag'.

        Field Documentation

        Java .Blend

        Values

                IMA_FIELDS              = (1 << 0),
                IMA_STD_FIELD           = (1 << 1),
                IMA_DO_PREMUL           = (1 << 2),  // deprecated, should not be used 
                IMA_REFLECT             = (1 << 4),
                IMA_NOCOLLECT           = (1 << 5),
                //IMA_DONE_TAG          = (1 << 6),  // UNUSED
                IMA_OLD_PREMUL          = (1 << 7),
                // IMA_CM_PREDIVIDE     = (1 << 8),  // deprecated, should not be used 
                IMA_USED_FOR_RENDER     = (1 << 9),
                IMA_USER_FRAME_IN_RANGE = (1 << 10), // for image user, but these flags are mixed 
                IMA_VIEW_AS_RENDER      = (1 << 11),
                IMA_IGNORE_ALPHA        = (1 << 12),
                IMA_DEINTERLACE         = (1 << 13),
                IMA_USE_VIEWS           = (1 << 14),
                // IMA_IS_STEREO        = (1 << 15), // deprecated 
                // IMA_IS_MULTIVIEW     = (1 << 16), // deprecated 
                                        
                                        
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getSource

        public short getSource()
                        throws java.io.IOException
        Get method for struct member 'source'.

        Field Documentation

        Java .Blend

        Values:

                IMA_SRC_CHECK       0
                IMA_SRC_FILE        1
                IMA_SRC_SEQUENCE    2
                IMA_SRC_MOVIE       3
                IMA_SRC_GENERATED   4
                IMA_SRC_VIEWER      5
                                        

        Blender Python API

        Where the image comes from
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__source
      • setSource

        public void setSource​(short source)
                       throws java.io.IOException
        Set method for struct member 'source'.

        Field Documentation

        Java .Blend

        Values:

                IMA_SRC_CHECK       0
                IMA_SRC_FILE        1
                IMA_SRC_SEQUENCE    2
                IMA_SRC_MOVIE       3
                IMA_SRC_GENERATED   4
                IMA_SRC_VIEWER      5
                                        

        Blender Python API

        Where the image comes from
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__source
      • getType

        public short getType()
                      throws java.io.IOException
        Get method for struct member 'type'.

        Field Documentation

        Java .Blend

        how to handle/generate it.

        Values:

                IMA_TYPE_IMAGE      0
                IMA_TYPE_MULTILAYER 1
         // generated 
                IMA_TYPE_UV_TEST    2
         // viewers
                IMA_TYPE_R_RESULT   4
                IMA_TYPE_COMPOSITE  5
                                        

        Blender Python API

        (read-only) How to generate the image
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • setType

        public void setType​(short type)
                     throws java.io.IOException
        Set method for struct member 'type'.

        Field Documentation

        Java .Blend

        how to handle/generate it.

        Values:

                IMA_TYPE_IMAGE      0
                IMA_TYPE_MULTILAYER 1
         // generated 
                IMA_TYPE_UV_TEST    2
         // viewers
                IMA_TYPE_R_RESULT   4
                IMA_TYPE_COMPOSITE  5
                                        

        Blender Python API

        (read-only) How to generate the image
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • getLastframe

        public int getLastframe()
                         throws java.io.IOException
        Get method for struct member 'lastframe'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__lastframe
      • setLastframe

        public void setLastframe​(int lastframe)
                          throws java.io.IOException
        Set method for struct member 'lastframe'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__lastframe
      • getGpuframenr

        public int getGpuframenr()
                          throws java.io.IOException
        Get method for struct member 'gpuframenr'.

        Field Documentation

        Blender Source Code

        GPU texture flag.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gpuframenr
      • setGpuframenr

        public void setGpuframenr​(int gpuframenr)
                           throws java.io.IOException
        Set method for struct member 'gpuframenr'.

        Field Documentation

        Blender Source Code

        GPU texture flag.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gpuframenr
      • getGpuflag

        public short getGpuflag()
                         throws java.io.IOException
        Get method for struct member 'gpuflag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gpuflag
      • setGpuflag

        public void setGpuflag​(short gpuflag)
                        throws java.io.IOException
        Set method for struct member 'gpuflag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gpuflag
      • getGpu_pass

        public short getGpu_pass()
                          throws java.io.IOException
        Get method for struct member 'gpu_pass'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gpu_pass
      • setGpu_pass

        public void setGpu_pass​(short gpu_pass)
                         throws java.io.IOException
        Set method for struct member 'gpu_pass'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gpu_pass
      • getGpu_layer

        public short getGpu_layer()
                           throws java.io.IOException
        Get method for struct member 'gpu_layer'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gpu_layer
      • setGpu_layer

        public void setGpu_layer​(short gpu_layer)
                          throws java.io.IOException
        Set method for struct member 'gpu_layer'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gpu_layer
      • getGpu_view

        public short getGpu_view()
                          throws java.io.IOException
        Get method for struct member 'gpu_view'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gpu_view
      • setGpu_view

        public void setGpu_view​(short gpu_view)
                         throws java.io.IOException
        Set method for struct member 'gpu_view'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gpu_view
      • get_pad2

        public CArrayFacade<java.lang.Byte> get_pad2()
                                              throws java.io.IOException
        Get method for struct member '_pad2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad2
      • set_pad2

        public void set_pad2​(CArrayFacade<java.lang.Byte> _pad2)
                      throws java.io.IOException
        Set method for struct member '_pad2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad2
      • getPackedfile

        public CPointer<PackedFile> getPackedfile()
                                           throws java.io.IOException
        Deprecated.
        Deprecated

        Get method for struct member 'packedfile'.

        Field Documentation

        Blender Source Code

        Deprecated.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__packedfile
      • setPackedfile

        public void setPackedfile​(CPointer<PackedFile> packedfile)
                           throws java.io.IOException
        Deprecated.
        Deprecated

        Set method for struct member 'packedfile'.

        Field Documentation

        Blender Source Code

        Deprecated.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__packedfile
      • getPackedfiles

        public ListBase getPackedfiles()
                                throws java.io.IOException
        Get method for struct member 'packedfiles'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__packedfiles
      • setPackedfiles

        public void setPackedfiles​(ListBase packedfiles)
                            throws java.io.IOException
        Set method for struct member 'packedfiles'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__packedfiles
      • getLastused

        public int getLastused()
                        throws java.io.IOException
        Get method for struct member 'lastused'.

        Field Documentation

        Java .Blend

        seconds since 1970.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__lastused
      • setLastused

        public void setLastused​(int lastused)
                         throws java.io.IOException
        Set method for struct member 'lastused'.

        Field Documentation

        Java .Blend

        seconds since 1970.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__lastused
      • getGen_x

        public int getGen_x()
                     throws java.io.IOException
        Get method for struct member 'gen_x'.

        Field Documentation

        Java .Blend

        For generated images: width

        Blender Source Code

        for generated images

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gen_x
      • setGen_x

        public void setGen_x​(int gen_x)
                      throws java.io.IOException
        Set method for struct member 'gen_x'.

        Field Documentation

        Java .Blend

        For generated images: width

        Blender Source Code

        for generated images

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gen_x
      • getGen_y

        public int getGen_y()
                     throws java.io.IOException
        Get method for struct member 'gen_y'.

        Field Documentation

        Java .Blend

        For generated images: height
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gen_y
      • setGen_y

        public void setGen_y​(int gen_y)
                      throws java.io.IOException
        Set method for struct member 'gen_y'.

        Field Documentation

        Java .Blend

        For generated images: height
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gen_y
      • getGen_type

        public byte getGen_type()
                         throws java.io.IOException
        Get method for struct member 'gen_type'.

        Field Documentation

        Java .Blend

        For generated images:

        Values:

                IMA_GENTYPE_BLANK = 0,
                IMA_GENTYPE_GRID = 1,
                IMA_GENTYPE_GRID_COLOR = 2
                                        
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gen_type
      • setGen_type

        public void setGen_type​(byte gen_type)
                         throws java.io.IOException
        Set method for struct member 'gen_type'.

        Field Documentation

        Java .Blend

        For generated images:

        Values:

                IMA_GENTYPE_BLANK = 0,
                IMA_GENTYPE_GRID = 1,
                IMA_GENTYPE_GRID_COLOR = 2
                                        
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gen_type
      • getGen_flag

        public byte getGen_flag()
                         throws java.io.IOException
        Get method for struct member 'gen_flag'.

        Field Documentation

        Java .Blend

        For generated images:

        Values:

                IMA_GEN_FLOAT           1
                                        
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gen_flag
      • setGen_flag

        public void setGen_flag​(byte gen_flag)
                         throws java.io.IOException
        Set method for struct member 'gen_flag'.

        Field Documentation

        Java .Blend

        For generated images:

        Values:

                IMA_GEN_FLOAT           1
                                        
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gen_flag
      • getGen_depth

        public short getGen_depth()
                           throws java.io.IOException
        Get method for struct member 'gen_depth'.

        Field Documentation

        Java .Blend

        For generated images: number of bits per pixel (e.g. 24 for rgb or 32 for rgba)
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gen_depth
      • setGen_depth

        public void setGen_depth​(short gen_depth)
                          throws java.io.IOException
        Set method for struct member 'gen_depth'.

        Field Documentation

        Java .Blend

        For generated images: number of bits per pixel (e.g. 24 for rgb or 32 for rgba)
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gen_depth
      • getGen_color

        public CArrayFacade<java.lang.Float> getGen_color()
                                                   throws java.io.IOException
        Get method for struct member 'gen_color'.

        Field Documentation

        Java .Blend

        For generated images: Color used to initialize the generated image (e.g. background)
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gen_color
      • setGen_color

        public void setGen_color​(CArrayFacade<java.lang.Float> gen_color)
                          throws java.io.IOException
        Set method for struct member 'gen_color'.

        Field Documentation

        Java .Blend

        For generated images: Color used to initialize the generated image (e.g. background)
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gen_color
      • getAspx

        public float getAspx()
                      throws java.io.IOException
        Get method for struct member 'aspx'.

        Field Documentation

        Blender Source Code

        display aspect - for UV editing images resized for faster openGL display

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__aspx
      • setAspx

        public void setAspx​(float aspx)
                     throws java.io.IOException
        Set method for struct member 'aspx'.

        Field Documentation

        Blender Source Code

        display aspect - for UV editing images resized for faster openGL display

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__aspx
      • getAspy

        public float getAspy()
                      throws java.io.IOException
        Get method for struct member 'aspy'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__aspy
      • setAspy

        public void setAspy​(float aspy)
                     throws java.io.IOException
        Set method for struct member 'aspy'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__aspy
      • getColorspace_settings

        public ColorManagedColorspaceSettings getColorspace_settings()
                                                              throws java.io.IOException
        Get method for struct member 'colorspace_settings'.

        Field Documentation

        Blender Python API

        (read-only) Input color space settings

        Blender Source Code

        color management

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__colorspace_settings
      • setColorspace_settings

        public void setColorspace_settings​(ColorManagedColorspaceSettings colorspace_settings)
                                    throws java.io.IOException
        Set method for struct member 'colorspace_settings'.

        Field Documentation

        Blender Python API

        (read-only) Input color space settings

        Blender Source Code

        color management

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__colorspace_settings
      • getAlpha_mode

        public byte getAlpha_mode()
                           throws java.io.IOException
        Get method for struct member 'alpha_mode'.

        Field Documentation

        Blender Python API

        Representation of alpha in the image file, to convert to and from when saving and loading the image
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__alpha_mode
      • setAlpha_mode

        public void setAlpha_mode​(byte alpha_mode)
                           throws java.io.IOException
        Set method for struct member 'alpha_mode'.

        Field Documentation

        Blender Python API

        Representation of alpha in the image file, to convert to and from when saving and loading the image
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__alpha_mode
      • get_pad

        public byte get_pad()
                     throws java.io.IOException
        Get method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • set_pad

        public void set_pad​(byte _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • getEye

        public byte getEye()
                    throws java.io.IOException
        Get method for struct member 'eye'.

        Field Documentation

        Blender Source Code

        Multiview For viewer node stereoscopy.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__eye
      • setEye

        public void setEye​(byte eye)
                    throws java.io.IOException
        Set method for struct member 'eye'.

        Field Documentation

        Blender Source Code

        Multiview For viewer node stereoscopy.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__eye
      • getViews_format

        public byte getViews_format()
                             throws java.io.IOException
        Get method for struct member 'views_format'.

        Field Documentation

        Blender Python API

        Mode to load image views
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__views_format
      • setViews_format

        public void setViews_format​(byte views_format)
                             throws java.io.IOException
        Set method for struct member 'views_format'.

        Field Documentation

        Blender Python API

        Mode to load image views
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__views_format
      • getActive_tile_index

        public int getActive_tile_index()
                                 throws java.io.IOException
        Get method for struct member 'active_tile_index'.

        Field Documentation

        Blender Source Code

        ImageTile list for UDIMs.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__active_tile_index
      • setActive_tile_index

        public void setActive_tile_index​(int active_tile_index)
                                  throws java.io.IOException
        Set method for struct member 'active_tile_index'.

        Field Documentation

        Blender Source Code

        ImageTile list for UDIMs.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__active_tile_index
      • getTiles

        public ListBase getTiles()
                          throws java.io.IOException
        Get method for struct member 'tiles'.

        Field Documentation

        Blender Python API

        (read-only) Tiles of the image
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tiles
      • setTiles

        public void setTiles​(ListBase tiles)
                      throws java.io.IOException
        Set method for struct member 'tiles'.

        Field Documentation

        Blender Python API

        (read-only) Tiles of the image
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tiles
      • getViews

        public ListBase getViews()
                          throws java.io.IOException
        Get method for struct member 'views'.

        Field Documentation

        Blender Source Code

        ImageView .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__views
      • setViews

        public void setViews​(ListBase views)
                      throws java.io.IOException
        Set method for struct member 'views'.

        Field Documentation

        Blender Source Code

        ImageView .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__views
      • getRuntime

        public Image_Runtime getRuntime()
                                 throws java.io.IOException
        Get method for struct member 'runtime'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__runtime
      • setRuntime

        public void setRuntime​(Image_Runtime runtime)
                        throws java.io.IOException
        Set method for struct member 'runtime'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__runtime
      • __io__addressof

        public CPointer<Image> __io__addressof()
        Instantiates a pointer on this instance.