- Introduce full managed C# wrapper for NVIDIA Texture Tools (nvtt) with safe handle classes, idiomatic APIs, and managed callback support. - Integrate Ghost.Nvtt into Ghost.Editor.Core and Ghost.MicroTest; update TextureAssetHandler to use the new nvtt wrapper for texture compression. - Add comprehensive end-to-end binding test (NvttBindingTest). - Refactor D3D12 resource management: add deferred/immediate release APIs, update allocator/database usage, and ensure proper resource cleanup. - Update project files for new native DLL layout and dependency versions. - Minor API cleanups: EditorApplication properties, D3D12 input layout, and removal of obsolete code. - Update shaders, tests, and documentation for new APIs and usage patterns.
20 lines
401 B
C#
20 lines
401 B
C#
namespace Ghost.Nvtt.Native
|
|
{
|
|
public unsafe partial struct NvttEncodeSettings
|
|
{
|
|
[NativeTypeName("uint32_t")]
|
|
public uint sType;
|
|
|
|
public NvttFormat format;
|
|
|
|
public NvttQuality quality;
|
|
|
|
public NvttPixelType rgb_pixel_type;
|
|
|
|
public NvttTimingContext* timing_context;
|
|
|
|
[NativeTypeName("uint32_t")]
|
|
public uint encode_flags;
|
|
}
|
|
}
|