21 lines
459 B
C#
21 lines
459 B
C#
|
|
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;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|