Lightweight FBX Importer
Search Results for

    Show / Hide Table of Contents

    Struct ufbx.ufbx_shader_texture

    Texture that emulates a shader graph node. 3ds Max exports some materials as node graphs serialized to textures. ufbx can parse a small subset of these, as normal maps are often hidden behind some kind of bump node. NOTE: These encode a lot of details of 3ds Max internals, not recommended for direct use. HINT: ufbx_texture.file_textures[] contains a list of "real" textures that are connected to the ufbx_texture that is pretending to be a shader node.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: ufbxWrapper
    Assembly: ufbxWrapper.dll
    Syntax
    public struct ufbx.ufbx_shader_texture

    Fields

    inputs

    Input values/textures (possibly further shader textures) to the shader. Sorted by ufbx_shader_texture_input.name.

    Declaration
    public ufbx.ufbx_shader_texture_input_list inputs
    Field Value
    Type Description
    ufbx.ufbx_shader_texture_input_list

    main_texture

    Representative texture for this shader. Only specified if main_texture.outputs[main_texture_output_index] is semantically equivalent to this texture.

    Declaration
    public ufbx.ufbx_texture* main_texture
    Field Value
    Type Description
    ufbx_texture*

    main_texture_output_index

    Output index of main_texture if it is a multi-output shader.

    Declaration
    public long main_texture_output_index
    Field Value
    Type Description
    long

    prop_prefix

    Prefix for properties related to this shader in ufbx_texture. NOTE: Contains the trailing '|' if not empty.

    Declaration
    public ufbx.ufbx_string prop_prefix
    Field Value
    Type Description
    ufbx.ufbx_string

    raw_shader_source

    Declaration
    public ufbx.ufbx_blob raw_shader_source
    Field Value
    Type Description
    ufbx.ufbx_blob

    shader_name

    Name of the shader to use.

    Declaration
    public ufbx.ufbx_string shader_name
    Field Value
    Type Description
    ufbx.ufbx_string

    shader_source

    Shader source code if found.

    Declaration
    public ufbx.ufbx_string shader_source
    Field Value
    Type Description
    ufbx.ufbx_string

    shader_type_id

    64-bit opaque identifier for the shader type.

    Declaration
    public ulong shader_type_id
    Field Value
    Type Description
    ulong

    type

    Type of this shader node.

    Declaration
    public ufbx.ufbx_shader_texture_type type
    Field Value
    Type Description
    ufbx.ufbx_shader_texture_type
    In this article
    Back to top Generated by DocFX