class-description NEWS COMMUNITY STORE TUTORIALS SIGN UP LOGIN LOGOUT ROKOJORI NEWSLETTER SIGN UP LOGIN LOGOUT NEWS COMMUNITY STORE TUTORIALS TOGGLE FULLSCREEN VOLLBILD AN/AUS ObjectRefCountedResourceVisualShaderNode VisualShaderNodeDerivativeFunc
Calculates a derivative within the visual shader graph.
This node is only available in Fragment and Light visual shaders.
Enum OpType<>():Enum

OP_TYPE_SCALAR:null = 0
A floating-point scalar.


OP_TYPE_VECTOR_2D:null = 1
A 2D vector type.


OP_TYPE_VECTOR_3D:null = 2
A 3D vector type.


OP_TYPE_VECTOR_4D:null = 3
A 4D vector type.


OP_TYPE_MAX:null = 4
Represents the size of the OpType enum.
Enum Function<>():Enum

FUNC_SUM:null = 0
Sum of absolute derivative in x and y.


FUNC_X:null = 1
Derivative in x using local differencing.


FUNC_Y:null = 2
Derivative in y using local differencing.


FUNC_MAX:null = 3
Represents the size of the Function enum.
Enum Precision<>():Enum

PRECISION_NONE:null = 0
No precision is specified, the GPU driver is allowed to use whatever level of precision it chooses. This is the default option and is equivalent to using dFdx() or dFdy() in text shaders.


PRECISION_COARSE:null = 1
The derivative will be calculated using the current fragment's neighbors (which may not include the current fragment). This tends to be faster than using PRECISION_FINE, but may not be suitable when more precision is needed. This is equivalent to using dFdxCoarse() or dFdyCoarse() in text shaders.


PRECISION_FINE:null = 2
The derivative will be calculated using the current fragment and its immediate neighbors. This tends to be slower than using PRECISION_COARSE, but may be necessary when more precision is needed. This is equivalent to using dFdxFine() or dFdyFine() in text shaders.


PRECISION_MAX:null = 3
Represents the size of the Precision enum.
set get int function<>():int set get
A derivative function type.

set get int op_type<>():int set get
A type of operands and returned value.

set get int precision<>():int set get
Sets the level of precision to use for the derivative function. When using the Compatibility renderer, this setting has no effect.




All social media brands are registrated trademarks and belong to their respective owners.





CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
We are using cookies on this site. Read more... Wir benutzen Cookies auf dieser Seite. Mehr lesen...