Giter Site home page Giter Site logo

Comments (2)

walbourn avatar walbourn commented on May 16, 2024

The SDKMESH Content Exporter tool supports:

   static const ExportEnumValue VertexNormalTypes[] = {
        { "FLOAT3 (12 bytes)", "float3", D3DDECLTYPE_FLOAT3 },
        { "UBYTE4N Biased (4 bytes)", "ubyte4n", D3DDECLTYPE_UBYTE4N },
        { "SHORT4N (8 bytes)", "short4n", D3DDECLTYPE_SHORT4N },
        { "FLOAT16_4 (8 bytes)", "float16_4", D3DDECLTYPE_FLOAT16_4 },
        { "10:10:10:2 Biased (4 bytes)", "rgba_10", D3DDECLTYPE_DXGI_R10G10B10A2_UNORM },
        { "R11G11B10 Biased (4 bytes)", "r11g11b10", D3DDECLTYPE_DXGI_R11G11B10_FLOAT },
        { "R8G8B8A8 Signed (4 bytes)", "rgba_snorm", D3DDECLTYPE_DXGI_R8G8B8A8_SNORM },
        { "10:10:10 Signed A2 (4 bytes, Xbox)", "rgba_s10", D3DDECLTYPE_XBOX_R10G10B10_SNORM_A2_UNORM },
    };
   static const ExportEnumValue VertexColorTypes[] = {
        { "D3DCOLOR (4 bytes)", "bgra", D3DDECLTYPE_D3DCOLOR },
        { "UBYTE4N (4 bytes)", "rgba", D3DDECLTYPE_UBYTE4N },
        { "FLOAT4 (16 bytes)", "float4", D3DDECLTYPE_FLOAT4 },
        { "FLOAT16_4 (8 bytes)", "float16_4", D3DDECLTYPE_FLOAT16_4 },
        { "10:10:10:2 (4 byts)", "rgba_10", D3DDECLTYPE_DXGI_R10G10B10A2_UNORM },
        { "R11G11B10 (4 bytes)", "r11g11b10", D3DDECLTYPE_DXGI_R11G11B10_FLOAT },
    };

from directxmesh.

walbourn avatar walbourn commented on May 16, 2024

PR: #49

from directxmesh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.