Class bNodeStack


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         bNodeStack bnodestack = ...;
         CPointer<Object> p = bnodestack.__dna__addressof(bNodeStack.__DNA__FIELD__vec);
         CPointer<CArrayFacade<Float>> p_vec = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         bNodeStack bnodestack = ...;
         CPointer<Object> p = bnodestack.__dna__addressof(bNodeStack.__DNA__FIELD__min);
         CPointer<Float> p_min = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'min'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__max

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

        Pointer Arithmetics

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

         bNodeStack bnodestack = ...;
         CPointer<Object> p = bnodestack.__dna__addressof(bNodeStack.__DNA__FIELD__max);
         CPointer<Float> p_max = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'max'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__data

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

        Pointer Arithmetics

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

         bNodeStack bnodestack = ...;
         CPointer<Object> p = bnodestack.__dna__addressof(bNodeStack.__DNA__FIELD__data);
         CPointer<CPointer<Object>> p_data = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        When input has link, tagged before executing.

        Pointer Arithmetics

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

         bNodeStack bnodestack = ...;
         CPointer<Object> p = bnodestack.__dna__addressof(bNodeStack.__DNA__FIELD__hasinput);
         CPointer<Short> p_hasinput = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'hasinput'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__hasoutput

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

        Field Documentation

        Blender Source Code

        When output is linked, tagged before executing.

        Pointer Arithmetics

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

         bNodeStack bnodestack = ...;
         CPointer<Object> p = bnodestack.__dna__addressof(bNodeStack.__DNA__FIELD__hasoutput);
         CPointer<Short> p_hasoutput = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'hasoutput'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__datatype

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

        Field Documentation

        Blender Source Code

        Type of data pointer.

        Pointer Arithmetics

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

         bNodeStack bnodestack = ...;
         CPointer<Object> p = bnodestack.__dna__addressof(bNodeStack.__DNA__FIELD__datatype);
         CPointer<Short> p_datatype = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'datatype'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__sockettype

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

        Field Documentation

        Blender Source Code

        Type of socket stack comes from, to remap linking different sockets.

        Pointer Arithmetics

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

         bNodeStack bnodestack = ...;
         CPointer<Object> p = bnodestack.__dna__addressof(bNodeStack.__DNA__FIELD__sockettype);
         CPointer<Short> p_sockettype = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'sockettype'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__is_copy

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

        Field Documentation

        Blender Source Code

        Data is a copy of external data (no freeing).

        Pointer Arithmetics

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

         bNodeStack bnodestack = ...;
         CPointer<Object> p = bnodestack.__dna__addressof(bNodeStack.__DNA__FIELD__is_copy);
         CPointer<Short> p_is_copy = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'is_copy'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__external

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

        Field Documentation

        Blender Source Code

        Data is used by external nodes (no freeing).

        Pointer Arithmetics

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

         bNodeStack bnodestack = ...;
         CPointer<Object> p = bnodestack.__dna__addressof(bNodeStack.__DNA__FIELD__external);
         CPointer<Short> p_external = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'external'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __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:

         bNodeStack bnodestack = ...;
         CPointer<Object> p = bnodestack.__dna__addressof(bNodeStack.__DNA__FIELD___pad);
         CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'char[4]'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • bNodeStack

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

        protected bNodeStack​(bNodeStack that)
    • Method Detail

      • getVec

        public CArrayFacade<java.lang.Float> getVec()
                                             throws java.io.IOException
        Get method for struct member 'vec'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vec
      • setVec

        public void setVec​(CArrayFacade<java.lang.Float> vec)
                    throws java.io.IOException
        Set method for struct member 'vec'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vec
      • getMin

        public float getMin()
                     throws java.io.IOException
        Get method for struct member 'min'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__min
      • setMin

        public void setMin​(float min)
                    throws java.io.IOException
        Set method for struct member 'min'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__min
      • getMax

        public float getMax()
                     throws java.io.IOException
        Get method for struct member 'max'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__max
      • setMax

        public void setMax​(float max)
                    throws java.io.IOException
        Set method for struct member 'max'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__max
      • getData

        public CPointer<java.lang.Object> getData()
                                           throws java.io.IOException
        Get method for struct member 'data'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__data
      • setData

        public void setData​(CPointer<java.lang.Object> data)
                     throws java.io.IOException
        Set method for struct member 'data'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__data
      • getHasinput

        public short getHasinput()
                          throws java.io.IOException
        Get method for struct member 'hasinput'.

        Field Documentation

        Blender Source Code

        When input has link, tagged before executing.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hasinput
      • setHasinput

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

        Field Documentation

        Blender Source Code

        When input has link, tagged before executing.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hasinput
      • getHasoutput

        public short getHasoutput()
                           throws java.io.IOException
        Get method for struct member 'hasoutput'.

        Field Documentation

        Blender Source Code

        When output is linked, tagged before executing.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hasoutput
      • setHasoutput

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

        Field Documentation

        Blender Source Code

        When output is linked, tagged before executing.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__hasoutput
      • getDatatype

        public short getDatatype()
                          throws java.io.IOException
        Get method for struct member 'datatype'.

        Field Documentation

        Blender Source Code

        Type of data pointer.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__datatype
      • setDatatype

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

        Field Documentation

        Blender Source Code

        Type of data pointer.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__datatype
      • getSockettype

        public short getSockettype()
                            throws java.io.IOException
        Get method for struct member 'sockettype'.

        Field Documentation

        Blender Source Code

        Type of socket stack comes from, to remap linking different sockets.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sockettype
      • setSockettype

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

        Field Documentation

        Blender Source Code

        Type of socket stack comes from, to remap linking different sockets.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sockettype
      • getIs_copy

        public short getIs_copy()
                         throws java.io.IOException
        Get method for struct member 'is_copy'.

        Field Documentation

        Blender Source Code

        Data is a copy of external data (no freeing).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__is_copy
      • setIs_copy

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

        Field Documentation

        Blender Source Code

        Data is a copy of external data (no freeing).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__is_copy
      • getExternal

        public short getExternal()
                          throws java.io.IOException
        Get method for struct member 'external'.

        Field Documentation

        Blender Source Code

        Data is used by external nodes (no freeing).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__external
      • setExternal

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

        Field Documentation

        Blender Source Code

        Data is used by external nodes (no freeing).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__external
      • get_pad

        public CArrayFacade<java.lang.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​(CArrayFacade<java.lang.Byte> _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • __io__addressof

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