Class Image_Runtime


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        Mutex used to guarantee thread-safe access to the cached ImBuf of the corresponding image ID .

        Pointer Arithmetics

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

         Image_Runtime image_runtime = ...;
         CPointer<Object> p = image_runtime.__dna__addressof(Image_Runtime.__DNA__FIELD__cache_mutex);
         CPointer<CPointer<Object>> p_cache_mutex = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'cache_mutex'
        • Signature: 'void*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__partial_update_register

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

        Field Documentation

        Blender Source Code

        Register containing partial updates.

        Pointer Arithmetics

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

         Image_Runtime image_runtime = ...;
         CPointer<Object> p = image_runtime.__dna__addressof(Image_Runtime.__DNA__FIELD__partial_update_register);
         CPointer<CPointer<Object>> p_partial_update_register = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'partial_update_register'
        • Signature: 'PartialUpdateRegister*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__partial_update_user

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

        Field Documentation

        Blender Source Code

        Partial update user for GPUTextures stored inside the Image .

        Pointer Arithmetics

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

         Image_Runtime image_runtime = ...;
         CPointer<Object> p = image_runtime.__dna__addressof(Image_Runtime.__DNA__FIELD__partial_update_user);
         CPointer<CPointer<Object>> p_partial_update_user = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'partial_update_user'
        • Signature: 'PartialUpdateUser*'
        • Actual Size (32bit/64bit): 4/8
    • Constructor Detail

      • Image_Runtime

        public Image_Runtime​(long __address,
                             Block __block,
                             BlockTable __blockTable)
    • Method Detail

      • getCache_mutex

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

        Field Documentation

        Blender Source Code

        Mutex used to guarantee thread-safe access to the cached ImBuf of the corresponding image ID .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cache_mutex
      • setCache_mutex

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

        Field Documentation

        Blender Source Code

        Mutex used to guarantee thread-safe access to the cached ImBuf of the corresponding image ID .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cache_mutex
      • getPartial_update_register

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

        Field Documentation

        Blender Source Code

        Register containing partial updates.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__partial_update_register
      • setPartial_update_register

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

        Field Documentation

        Blender Source Code

        Register containing partial updates.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__partial_update_register
      • getPartial_update_user

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

        Field Documentation

        Blender Source Code

        Partial update user for GPUTextures stored inside the Image .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__partial_update_user
      • setPartial_update_user

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

        Field Documentation

        Blender Source Code

        Partial update user for GPUTextures stored inside the Image .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__partial_update_user
      • __io__addressof

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