StencilState

Inheritance: java.lang.Object

public class StencilState

Yüzey başına şablon durumları.

Yöntemler

YöntemAçıklama
equals(Object obj)Bu örneğin belirtilen bir nesneye eşit olup olmadığını gösteren bir değer döndürür.
getClass()
getCompare()Stencil testinde kullanılan karşılaştırma işlevini alır.
getDepthFailAction()Stencil testi geçtiğinde ancak derinlik testi başarısız olduğunda stencil eylemini alır.
getFailAction()Stencil testi başarısız olduğunda stencil eylemini alır.
getPassAction()Stencil testi ve derinlik testi ikisi de geçtiğinde stencil eylemini alır.
hashCode()Bu örnek için hash kodunu döndürür.
notify()
notifyAll()
setCompare(CompareFunction value)Stencil testinde kullanılan karşılaştırma işlevini ayarlar.
setDepthFailAction(StencilAction value)Stencil testi geçtiğinde ancak derinlik testi başarısız olduğunda stencil eylemini ayarlar.
setFailAction(StencilAction value)Stencil testi başarısız olduğunda stencil eylemini ayarlar.
setPassAction(StencilAction value)Stencil testi ve derinlik testi ikisi de geçtiğinde stencil eylemini ayarlar.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object obj)

public boolean equals(Object obj)

Bu örneğin belirtilen bir nesneye eşit olup olmadığını gösteren bir değer döndürür.

Parameters:

ParametreTürAçıklama
objjava.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCompare()

public CompareFunction getCompare()

Stencil testinde kullanılan karşılaştırma işlevini alır.

Returns: CompareFunction - the compare function used in stencil test

getDepthFailAction()

public StencilAction getDepthFailAction()

Stencil testi geçtiğinde ancak derinlik testi başarısız olduğunda stencil eylemini alır.

Returns: StencilAction - the stencil action when stencil test pass but depth test fails.

getFailAction()

public StencilAction getFailAction()

Stencil testi başarısız olduğunda stencil eylemini alır.

Returns: StencilAction - the stencil action when stencil test fails.

getPassAction()

public StencilAction getPassAction()

Stencil testi ve derinlik testi ikisi de geçtiğinde stencil eylemini alır.

Returns: StencilAction - the stencil action when both stencil test and depth test passes.

hashCode()

public int hashCode()

Bu örnek için hash kodunu döndürür.

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setCompare(CompareFunction value)

public void setCompare(CompareFunction value)

Stencil testinde kullanılan karşılaştırma işlevini ayarlar.

Parameters:

ParametreTürAçıklama
valueCompareFunctionYeni değer

setDepthFailAction(StencilAction value)

public void setDepthFailAction(StencilAction value)

Stencil testi geçtiğinde ancak derinlik testi başarısız olduğunda stencil eylemini ayarlar.

Parameters:

ParametreTürAçıklama
valueStencilActionYeni değer

setFailAction(StencilAction value)

public void setFailAction(StencilAction value)

Stencil testi başarısız olduğunda stencil eylemini ayarlar.

Parameters:

ParametreTürAçıklama
valueStencilActionYeni değer

setPassAction(StencilAction value)

public void setPassAction(StencilAction value)

Stencil testi ve derinlik testi ikisi de geçtiğinde stencil eylemini ayarlar.

Parameters:

ParametreTürAçıklama
valueStencilActionYeni değer

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParametreTürAçıklama
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParametreTürAçıklama
arg0long
arg1int