@FunctionalInterface
public interface GLFWWindowContentScaleCallbackI
extends org.lwjgl.system.CallbackI.V
SetWindowContentScaleCallback method.
void (*) (
GLFWwindow *window,
float xscale,
float yscale
)org.lwjgl.system.CallbackI.B, org.lwjgl.system.CallbackI.D, org.lwjgl.system.CallbackI.F, org.lwjgl.system.CallbackI.I, org.lwjgl.system.CallbackI.J, org.lwjgl.system.CallbackI.N, org.lwjgl.system.CallbackI.P, org.lwjgl.system.CallbackI.S, org.lwjgl.system.CallbackI.V, org.lwjgl.system.CallbackI.Z| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SIGNATURE |
| Modifier and Type | Method and Description |
|---|---|
default void |
callback(long args) |
default java.lang.String |
getSignature() |
void |
invoke(long window,
float xscale,
float yscale)
Will be called when the window content scale changes.
|
static final java.lang.String SIGNATURE
default java.lang.String getSignature()
getSignature in interface org.lwjgl.system.CallbackIdefault void callback(long args)
callback in interface org.lwjgl.system.CallbackI.Vvoid invoke(long window,
float xscale,
float yscale)
window - the window whose content scale changedxscale - the new x-axis content scale of the windowyscale - the new y-axis content scale of the windowCopyright LWJGL. All Rights Reserved. License terms.