generated from Legacy-Fabric/fabric-example-mod
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
76 additions
and
86 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
src/main/java/com/thatmg393/legacyvkm/breeze3d/VRenderer.java
This file was deleted.
Oops, something went wrong.
63 changes: 0 additions & 63 deletions
63
src/main/java/com/thatmg393/legacyvkm/breeze3d/image/VTexture.java
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
src/main/java/com/thatmg393/legacyvkm/breeze3d/passes/RenderPass.java
This file was deleted.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
src/main/java/com/thatmg393/legacyvkm/mixins/gl/FramebufferM.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package com.thatmg393.legacyvkm.mixins.gl; | ||
|
||
import org.spongepowered.asm.mixin.*; | ||
|
||
import net.minecraft.client.gl.Framebuffer; | ||
|
||
@Mixin(Framebuffer.class) | ||
public class FramebufferM { | ||
@Overwrite | ||
public void bind(boolean viewport) { } | ||
|
||
@Overwrite | ||
public void unbind() { } | ||
|
||
@Overwrite | ||
public void drawInternal(int width, int height, boolean color) { } | ||
|
||
@Overwrite | ||
public void clear() { } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...acyvkm/mixins/render/GlStateManagerM.java → .../legacyvkm/mixins/gl/GlStateManagerM.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
src/main/java/com/thatmg393/legacyvkm/mixins/render/chunks/TessellatorM.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package com.thatmg393.legacyvkm.mixins.render.chunks; | ||
|
||
import org.spongepowered.asm.mixin.Mixin; | ||
|
||
import net.minecraft.client.render.Tessellator; | ||
|
||
@Mixin(Tessellator.class) | ||
public class TessellatorM { | ||
|
||
} |
14 changes: 14 additions & 0 deletions
14
src/main/java/com/thatmg393/legacyvkm/mixins/render/world/WorldRendererM.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.thatmg393.legacyvkm.mixins.render.world; | ||
|
||
import org.spongepowered.asm.mixin.*; | ||
|
||
import net.minecraft.client.render.WorldRenderer; | ||
|
||
@Mixin(WorldRenderer.class) | ||
@SuppressWarnings("") | ||
public class WorldRendererM { | ||
@Overwrite | ||
public void setupEntityOutlineShader() { | ||
|
||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
src/main/java/com/thatmg393/vulkan/framebuffer/Framebuffer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package com.thatmg393.vulkan.framebuffer; | ||
|
||
import org.joml.Vector4f; | ||
|
||
public class Framebuffer { | ||
public Framebuffer(Builder builder) { | ||
|
||
} | ||
|
||
|
||
|
||
|
||
|
||
@lombok.Builder | ||
public static class Builder { | ||
private int width, height; | ||
|
||
private boolean hasDepthAttachment; | ||
private int depthAttachment; | ||
private int colorAttachment; | ||
|
||
@lombok.Builder.Default | ||
private Vector4f clearColor = new Vector4f(1.0, 1.0, 1.0, 0.0); | ||
} | ||
} |