init_from

initialize the whole image structure and data from formats like DDS

Element Information

Model

Children: hex, ref

Attributes

QName Type Fixed Default Use Inheritable Annotation
mips_generate xs:boolean true optional
If true, unless mips already exist in data, generate the mipmaps based on information loaded into mip0,

Source

<xs:element name="init_from">
  <xs:annotation>
    <xs:documentation>initialize the whole image structure and data from formats like DDS</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="image_source_type">
        <xs:attribute name="mips_generate" type="xs:boolean" use="optional" default="true">
          <xs:annotation>
            <xs:documentation>If true, unless mips already exist in data, generate the mipmaps based on information loaded into mip0,</xs:documentation>
          </xs:annotation>
        </xs:attribute>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

Sample