@@ -7,7 +7,7 @@ namespace FFXIVClientStructs.FFXIV.Client.Graphics.Render;
77// Client::Graphics::Render::BaseRenderer
88[ GenerateInterop ]
99[ Inherits < BaseRenderer > ]
10- [ StructLayout ( LayoutKind . Explicit , Size = 0x450 ) ]
10+ [ StructLayout ( LayoutKind . Explicit , Size = 0x448 ) ]
1111public unsafe partial struct ModelRenderer {
1212 [ FieldOffset ( 0x8 ) , FixedSizeArray ] internal FixedSizeArray23 < uint > _constantSamplerIds ; // Might be a FixedSizeArray22<uint> as of 7.2, unsure
1313
@@ -23,19 +23,19 @@ public unsafe partial struct ModelRenderer {
2323 [ FieldOffset ( 0x220 ) ] public ShaderPackageResourceHandle * CharacterTransparencyShaderPackage ;
2424 [ FieldOffset ( 0x228 ) ] public ShaderPackageResourceHandle * CharacterTattooShaderPackage ;
2525 [ FieldOffset ( 0x230 ) ] public ShaderPackageResourceHandle * CharacterOcclusionShaderPackage ;
26- [ FieldOffset ( 0x238 ) ] public ShaderPackageResourceHandle * HairMaskShaderPackage ;
26+ // [FieldOffset(0x238)] public ShaderPackageResourceHandle* HairMaskShaderPackage; 7.5 gone?
2727
2828 // At 0x218: pointer to an unknown ConstantBuffer of size 1 vector (0x10 bytes).
2929 // At 0x220, ..., 0x298: pointers to 16 unknown ConstantBuffers of size 4 vectors (0x40 bytes) each.
3030 // At 0x2A0, ..., 0x328: pointers to 18 unknown ConstantBuffers of size 1 vector (0x10 bytes) each.
3131
32- [ FieldOffset ( 0x358 ) ] public ShaderCodeResourceHandle * SkiningConnectionVertexCS ;
32+ [ FieldOffset ( 0x350 ) ] public ShaderCodeResourceHandle * SkiningConnectionVertexCS ;
3333
3434 // At 0x338: pointer to an unknown ConstantBuffer of size 1 vector (0x10 bytes).
3535 // At 0x340, 0x348, 0x350: pointer to objects of the same unknown class that seems to wrap D3D11 objects.
3636 // At 0x358: pointer to an unknown ConstantBuffer of size 1 vector (0x10 bytes).
3737
38- [ FieldOffset ( 0x390 ) ] public JobSystem JobSystem ; // Client::Graphics::JobSystem<Client::Graphics::Render::ModelRenderer>
38+ [ FieldOffset ( 0x388 ) ] public JobSystem JobSystem ; // Client::Graphics::JobSystem<Client::Graphics::Render::ModelRenderer>
3939
4040 // This function, among other things, constructs an OnRenderMaterialParams struct with its params and calls CharacterBase.OnRenderMaterial with it (through some indirections - see Model.RenderMaterialCallback).
4141 [ MemberFunction ( "E8 ?? ?? ?? ?? 40 38 75 ?? 74 ?? 8B 45" ) ]
0 commit comments