mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-06 05:01:53 +00:00
Start of asset management 2.0
This commit is contained in:
@@ -56,7 +56,7 @@ namespace GlitchyEngine.Renderer
|
||||
public override uint32 Height => nativeDesc.Height;
|
||||
public override uint32 ArraySize => nativeDesc.ArraySize;
|
||||
public override uint32 MipLevels => nativeDesc.MipLevels;
|
||||
public override Format Format => nativeDesc.Format;
|
||||
public override Format Format => (.)nativeDesc.Format;
|
||||
|
||||
|
||||
/*protected override void CreateTexturePlatform(Texture2DDesc desc, bool isRenderTarget, void* data, uint32 linePitch)
|
||||
@@ -304,7 +304,7 @@ namespace GlitchyEngine.Renderer
|
||||
public override uint32 Height => nativeDesc.Height;
|
||||
public override uint32 ArraySize => nativeDesc.ArraySize / 6;
|
||||
public override uint32 MipLevels => nativeDesc.MipLevels;
|
||||
public override Format Format => nativeDesc.Format;
|
||||
public override Format Format => (.)nativeDesc.Format;
|
||||
|
||||
protected override void CreateTexturePlatform(Texture2DDesc desc, bool isRenderTarget, void* data, uint32 linePitch)
|
||||
{
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace GlitchyEngine.Renderer
|
||||
Debug.Assert(input.Count == output.Count);
|
||||
|
||||
for(int i < input.Count)
|
||||
output[i] = .(input[i].SemanticName, input[i].SemanticIndex, input[i].Format, input[i].InputSlot, input[i].AlignedByteOffset, (.)input[i].InputSlotClass, input[i].InstanceDataStepRate);
|
||||
output[i] = .(input[i].SemanticName, input[i].SemanticIndex, (.)input[i].Format, input[i].InputSlot, input[i].AlignedByteOffset, (.)input[i].InputSlotClass, input[i].InstanceDataStepRate);
|
||||
}
|
||||
|
||||
/// Validates or gets the validated input layout for the given vertexshader.
|
||||
|
||||
Reference in New Issue
Block a user