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 ObjectRefCountedResource RDShaderFile
Compiled shader file in SPIR-V form (used by RenderingDevice). Not to be confused with Godot's own Shader.

Compiled shader file in SPIR-V form.

See also RDShaderSource. RDShaderFile is only meant to be used with the RenderingDevice API. It should not be confused with Godot's own Shader resource, which is what Godot's various nodes use for high-level shader programming.

String base_error<>():String

The base compilation error message, which indicates errors not related to a specific shader stage if non-empty. If empty, shader compilation is not necessarily successful (check RDShaderSPIRV's error message members).

RDShaderSPIRV get_spirv<>( StringName version=&"", version:StringName=&"", ):RDShaderSPIRV

Returns the SPIR-V intermediate representation for the specified shader version.

Array get_version_list<>():Array

Returns the list of compiled versions for this shader.

void set_bytecode<>( RDShaderSPIRV bytecode=, bytecode:RDShaderSPIRV=, StringName version=&"", version:StringName=&"", ):void

Sets the SPIR-V bytecode that will be compiled for the specified version.




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...