Class RenderTexture
java.lang.Object
zombie.core.rendering.RenderTarget
zombie.core.rendering.RenderTexture
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionint
int
int
boolean
int
int
int
int
int
int
Fields inherited from class zombie.core.rendering.RenderTarget
buffer, name
-
Constructor Summary
ConstructorsConstructorDescriptionRenderTexture
(String string) RenderTexture
(RenderTexture.Descriptor descriptorx) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
BindDraw()
void
BindRead()
void
void
void
CopyTexture
(RenderTarget renderTarget) void
CopyTexture
(RenderTarget renderTarget, org.lwjgl.util.Rectangle rectangle1, org.lwjgl.util.Rectangle rectangle0) int
static RenderTexture
static RenderTexture
GetTexture
(RenderTexture.Descriptor descriptorx) int
GetWidth()
protected void
OnCreate()
protected void
Recreate()
Methods inherited from class zombie.core.rendering.RenderTarget
Blit, Blit, Create, Destroy, DrawFullScreenQuad, DrawFullScreenTri, GetFormatType, GetInternalFormat, GetTarget, toString, UnbindTarget
-
Field Details
-
colour
public int colour -
depth
public int depth -
stencil
public int stencil -
width
public int width -
height
public int height -
length
public int length -
colourFormat
public int colourFormat -
depthFormat
public int depthFormat -
depthAsTexture
public boolean depthAsTexture -
wrappingMode
public int wrappingMode
-
-
Constructor Details
-
RenderTexture
-
RenderTexture
-
-
Method Details
-
GetWidth
public int GetWidth()- Specified by:
GetWidth
in classRenderTarget
-
GetHeight
public int GetHeight()- Specified by:
GetHeight
in classRenderTarget
-
OnCreate
protected void OnCreate()- Specified by:
OnCreate
in classRenderTarget
-
OnDestroy
protected void OnDestroy()- Specified by:
OnDestroy
in classRenderTarget
-
BindRead
public void BindRead()- Overrides:
BindRead
in classRenderTarget
-
BindDraw
public void BindDraw()- Overrides:
BindDraw
in classRenderTarget
-
BindTexture
public void BindTexture()- Specified by:
BindTexture
in classRenderTarget
-
BindDepth
public void BindDepth() -
BindStencil
public void BindStencil() -
CopyTexture
-
CopyTexture
public void CopyTexture(RenderTarget renderTarget, org.lwjgl.util.Rectangle rectangle1, org.lwjgl.util.Rectangle rectangle0) -
Recreate
-
GetTarget
-
GetTexture
-