Files
XCEngine/managed/XCEngine.ScriptCore/Rendering/Graph/RenderGraphTextureDesc.cs

21 lines
459 B
C#
Raw Normal View History

namespace XCEngine.Rendering
{
public struct RenderGraphTextureDesc
{
public uint width;
public uint height;
public uint format;
public uint textureType;
public uint sampleCount;
public uint sampleQuality;
public bool IsValid()
{
return width > 0u &&
height > 0u &&
format > 0u &&
sampleCount > 0u;
}
}
}