Class NodeGeometrySampleIndex


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        eCustomDataType.

        Pointer Arithmetics

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

         NodeGeometrySampleIndex nodegeometrysampleindex = ...;
         CPointer<Object> p = nodegeometrysampleindex.__dna__addressof(NodeGeometrySampleIndex.__DNA__FIELD__data_type);
         CPointer<Byte> p_data_type = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'data_type'
        • Signature: 'int8_t'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__domain

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

        Field Documentation

        Blender Source Code

        eAttrDomain.

        Pointer Arithmetics

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

         NodeGeometrySampleIndex nodegeometrysampleindex = ...;
         CPointer<Object> p = nodegeometrysampleindex.__dna__addressof(NodeGeometrySampleIndex.__DNA__FIELD__domain);
         CPointer<Byte> p_domain = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'domain'
        • Signature: 'int8_t'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__clamp

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

        Pointer Arithmetics

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

         NodeGeometrySampleIndex nodegeometrysampleindex = ...;
         CPointer<Object> p = nodegeometrysampleindex.__dna__addressof(NodeGeometrySampleIndex.__DNA__FIELD__clamp);
         CPointer<Byte> p_clamp = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'clamp'
        • Signature: 'int8_t'
        • 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:

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

        Metadata

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

      • NodeGeometrySampleIndex

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

      • getData_type

        public byte getData_type()
                          throws java.io.IOException
        Get method for struct member 'data_type'.

        Field Documentation

        Blender Source Code

        eCustomDataType.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__data_type
      • setData_type

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

        Field Documentation

        Blender Source Code

        eCustomDataType.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__data_type
      • getDomain

        public byte getDomain()
                       throws java.io.IOException
        Get method for struct member 'domain'.

        Field Documentation

        Blender Source Code

        eAttrDomain.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__domain
      • setDomain

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

        Field Documentation

        Blender Source Code

        eAttrDomain.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__domain
      • getClamp

        public byte getClamp()
                      throws java.io.IOException
        Get method for struct member 'clamp'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__clamp
      • setClamp

        public void setClamp​(byte clamp)
                      throws java.io.IOException
        Set method for struct member 'clamp'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__clamp
      • 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