Class NodeShaderMix


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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

        eNodeSocketDatatype

        Pointer Arithmetics

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

         NodeShaderMix nodeshadermix = ...;
         CPointer<Object> p = nodeshadermix.__dna__addressof(NodeShaderMix.__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__factor_mode

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

        Field Documentation

        Blender Source Code

        NodeShaderMixMode

        Pointer Arithmetics

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

         NodeShaderMix nodeshadermix = ...;
         CPointer<Object> p = nodeshadermix.__dna__addressof(NodeShaderMix.__DNA__FIELD__factor_mode);
         CPointer<Byte> p_factor_mode = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'factor_mode'
        • Signature: 'int8_t'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__clamp_factor

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

        Pointer Arithmetics

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

         NodeShaderMix nodeshadermix = ...;
         CPointer<Object> p = nodeshadermix.__dna__addressof(NodeShaderMix.__DNA__FIELD__clamp_factor);
         CPointer<Byte> p_clamp_factor = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'clamp_factor'
        • Signature: 'int8_t'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__clamp_result

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

        Pointer Arithmetics

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

         NodeShaderMix nodeshadermix = ...;
         CPointer<Object> p = nodeshadermix.__dna__addressof(NodeShaderMix.__DNA__FIELD__clamp_result);
         CPointer<Byte> p_clamp_result = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'clamp_result'
        • Signature: 'int8_t'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__blend_type

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

        Pointer Arithmetics

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

         NodeShaderMix nodeshadermix = ...;
         CPointer<Object> p = nodeshadermix.__dna__addressof(NodeShaderMix.__DNA__FIELD__blend_type);
         CPointer<Byte> p_blend_type = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'blend_type'
        • 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:

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

        Metadata

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

      • NodeShaderMix

        public NodeShaderMix​(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

        eNodeSocketDatatype

        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

        eNodeSocketDatatype

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

        public byte getFactor_mode()
                            throws java.io.IOException
        Get method for struct member 'factor_mode'.

        Field Documentation

        Blender Source Code

        NodeShaderMixMode

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__factor_mode
      • setFactor_mode

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

        Field Documentation

        Blender Source Code

        NodeShaderMixMode

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__factor_mode
      • getClamp_factor

        public byte getClamp_factor()
                             throws java.io.IOException
        Get method for struct member 'clamp_factor'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__clamp_factor
      • setClamp_factor

        public void setClamp_factor​(byte clamp_factor)
                             throws java.io.IOException
        Set method for struct member 'clamp_factor'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__clamp_factor
      • getClamp_result

        public byte getClamp_result()
                             throws java.io.IOException
        Get method for struct member 'clamp_result'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__clamp_result
      • setClamp_result

        public void setClamp_result​(byte clamp_result)
                             throws java.io.IOException
        Set method for struct member 'clamp_result'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__clamp_result
      • getBlend_type

        public byte getBlend_type()
                           throws java.io.IOException
        Get method for struct member 'blend_type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__blend_type
      • setBlend_type

        public void setBlend_type​(byte blend_type)
                           throws java.io.IOException
        Set method for struct member 'blend_type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__blend_type
      • 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<NodeShaderMix> __io__addressof()
        Instantiates a pointer on this instance.