Documentation
¶
Index ¶
- func ExtractShadingEnvironmentJSON(ctx *extractor.Context) error
- func ExtractShadingEnvironmentMappingJSON(ctx *extractor.Context) error
- type SimpleEntitySettingMapping
- type SimpleShaderVariableMapping
- type SimpleShadingEnvironment
- type SimpleShadingEnvironmentMapping
- type SimpleVariable
- type SimpleVariableInfo1
- type SimpleVariableInfo2
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 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"`
}
Click to show internal directories.
Click to hide internal directories.