port from perforce

This commit is contained in:
2026-04-18 22:31:51 +02:00
commit 8d0ab5b7cc
8409 changed files with 3972376 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
#pragma once
#include "Resource.h"
struct PingPongBufferDescription
{
PingPongBufferDescription()
{
LoopCount = 0;
TextureWidth = 0;
TextureHeight = 0;
TextureFormat = DataFormat::Unknown;
}
uint32 LoopCount;
string16 ShaderFileName;
string8 ShaderTechniqueA;
string8 ShaderTechniqueB;
string8 PreProcessShaderTechnique;
uint32 TextureWidth;
uint32 TextureHeight;
DataFormat::Enumeration TextureFormat;
};
struct ITexture;
struct IRenderCommandNode;
interface IPingPongBuffer
{
virtual ~IPingPongBuffer() {}
virtual ITexture& get_InputTexture() const = 0;
virtual void set_InputTexture(ITexture& argTexture) = 0;
virtual ITexture& get_OutputTexture() const = 0;
virtual const PingPongBufferDescription& get_Descriptor() const = 0;
virtual void set_Descriptor(const PingPongBufferDescription& argValue) = 0;
virtual IRenderCommandNode& get_RootNode() const = 0;
virtual IRenderCommandNode& get_PreProcessNode() const = 0;
};