Class AdvancedFboMutableTextureAttachment
java.lang.Object
net.minecraft.client.renderer.texture.AbstractTexture
foundry.veil.api.client.render.framebuffer.AdvancedFboTextureAttachment
foundry.veil.api.client.render.framebuffer.AdvancedFboMutableTextureAttachment
- All Implemented Interfaces:
AdvancedFboAttachment,AutoCloseable,Cloneable,org.lwjgl.system.NativeResource
-
Field Summary
Fields inherited from class net.minecraft.client.renderer.texture.AbstractTexture
blur, id, mipmap, NOT_ASSIGNED -
Constructor Summary
ConstructorsConstructorDescriptionAdvancedFboMutableTextureAttachment(int attachmentType, int textureId, int layer) -
Method Summary
Modifier and TypeMethodDescriptionvoidattach(int attachment) Attaches this attachment to the provided target under the specified attachment point.clone()voidcreate()Creates the attachment and initializes it with the default properties.intgetId()voidvoidsetTexture(int textureId, int layer) Methods inherited from class foundry.veil.api.client.render.framebuffer.AdvancedFboTextureAttachment
bindAttachment, canSample, free, getAttachmentType, getFormat, getLevels, getName, load, unbindAttachmentMethods inherited from class net.minecraft.client.renderer.texture.AbstractTexture
bind, close, reset, restoreLastBlurMipmap, setBlurMipmap, setFilterMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.lwjgl.system.NativeResource
close
-
Constructor Details
-
AdvancedFboMutableTextureAttachment
public AdvancedFboMutableTextureAttachment(int attachmentType, int textureId, int layer)
-
-
Method Details
-
attach
public void attach(int attachment) Description copied from interface:AdvancedFboAttachmentAttaches this attachment to the provided target under the specified attachment point.- Specified by:
attachin interfaceAdvancedFboAttachment- Overrides:
attachin classAdvancedFboTextureAttachment- Parameters:
attachment- The attachment point to add this attachment to
-
create
public void create()Description copied from interface:AdvancedFboAttachmentCreates the attachment and initializes it with the default properties.- Specified by:
createin interfaceAdvancedFboAttachment- Overrides:
createin classAdvancedFboTextureAttachment
-
clone
- Specified by:
clonein interfaceAdvancedFboAttachment- Overrides:
clonein classAdvancedFboTextureAttachment- Returns:
- A new identical attachment to this one
-
releaseId
public void releaseId()- Overrides:
releaseIdin classnet.minecraft.client.renderer.texture.AbstractTexture
-
getId
public int getId()- Overrides:
getIdin classnet.minecraft.client.renderer.texture.AbstractTexture
-
setTexture
public void setTexture(int textureId, int layer)
-