shading_environment

package
v0.7.35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2026 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractShadingEnvironmentJSON

func ExtractShadingEnvironmentJSON(ctx *extractor.Context) error

func ExtractShadingEnvironmentMappingJSON

func ExtractShadingEnvironmentMappingJSON(ctx *extractor.Context) error

Types

type SimpleEntitySettingMapping

type SimpleEntitySettingMapping struct {
	UnkInt1                    uint16 `json:"unk_int_1"`
	ShaderVariableMappingIndex uint16 `json:"shader_variable_mapping_index"`
	SettingName                string `json:"setting_name"`
	SettingName2               string `json:"setting_name_2"`
	SettingName3               string `json:"setting_name_3"`
	SettingName4               string `json:"setting_name_4"`
}

type SimpleShaderVariableMapping

type SimpleShaderVariableMapping struct {
	UnkInt1 uint32 `json:"unk_int_1"`
	UnkInt2 uint32 `json:"unk_int_2"`
	Name    string `json:"name"`
	UnkInt3 uint32 `json:"unk_int_3"`
	UnkInt4 uint32 `json:"unk_int_4"`
}

type SimpleShadingEnvironment

type SimpleShadingEnvironment struct {
	Material       string                `json:"material"`
	Variables      []SimpleVariable      `json:"variables"`
	VariableInfos1 []SimpleVariableInfo1 `json:"variable_infos_1"`
	VariableInfos2 []SimpleVariableInfo2 `json:"variable_infos_2"`
}

type SimpleShadingEnvironmentMapping

type SimpleShadingEnvironmentMapping struct {
	ShaderVariableMappings []SimpleShaderVariableMapping `json:"shader_variable_mappings"`
	TextureNames           []string                      `json:"texture_names"`
	EntitySettingMappings  []SimpleEntitySettingMapping  `json:"entity_setting_mappings"`
}

type SimpleVariable

type SimpleVariable struct {
	Type shading_environment.VariableContainerType `json:"type"`
	Name string                                    `json:"name"`
	Data any                                       `json:"data"`
}

type SimpleVariableInfo1

type SimpleVariableInfo1 struct {
	ContainerType shading_environment.VariableContainerType `json:"type"`
	Unk1          uint32                                    `json:"unk1"`
	Name          string                                    `json:"name"`
	Offset        uint32                                    `json:"offset"`
}

type SimpleVariableInfo2

type SimpleVariableInfo2 struct {
	Index         uint32                                    `json:"unk1"`
	Index2        uint32                                    `json:"unk2"`
	ContainerType shading_environment.VariableContainerType `json:"type"`
	Name          string                                    `json:"name"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL