Introduction
Rust Programming Language
1.
Interface Design
2.
Error Handling
3.
Unsafe Rust
4.
Asynchronous Rust
5.
Parallel Rust
6.
Ownership
Game Engine Programming
7.
Animation Systems
7.1.
Skinning
7.2.
Blending
7.3.
Compression
7.4.
Action State Machines
7.5.
Constraints
8.
C-style data layout and alignment
9.
Collision & Physics
9.1.
Collision Detection
9.2.
Collision Queries
9.3.
Rigid Body Dynamics
9.4.
Collision Responses
9.5.
Physics Engine Controls
9.6.
Physics Engines in Game Engines
10.
Debugging Shaders
11.
Engine Configuration
12.
Engine File Systems
13.
Game Loops and Time
14.
Lighting and Shading
14.1.
Linear vs sRGB
14.2.
Shading Models
14.3.
Physical Reflection Models
15.
Memory Management
16.
Normal Maps
17.
OBJ and MTL files
18.
Performance
19.
Shaders & GLSL
20.
Std140 Layout
21.
Textures
21.1.
Mipmapping
21.2.
WGPU TextureFormats
22.
User Inputs
Linear Algebra
23.
Vectors
24.
Matrices
24.1.
Matrix Transformations
25.
Quaternions
26.
Ray Tracing
26.1.
Ray vs Surface Calculations
26.2.
Reflections and Refractions
Java
27.
Effective Java
27.1.
Introduction
27.2.
Creating and Destroying Objects
27.3.
Methods Common to All Objects
27.4.
Classes and Interfaces
27.5.
Generics
27.6.
Enums and Annotations
27.7.
Lambdas and Streams
27.8.
Methods
27.9.
General Programming
27.10.
Exceptions
27.11.
Concurrency
27.12.
Serialization
28.
Unhandled Exceptions
29.
Build Systems
30.
Concepts
Networking
31.
OSI Model
32.
Socket Programming
Light (default)
Rust
Coal
Navy
Ayu
Back to Blog
Knowledge Base
C-style data layout and alignment
See:
https://en.wikipedia.org/wiki/Data_structure_alignment#Typical_alignment_of_C_structs_on_x86