|
@@ -133,6 +133,7 @@ namespace Urho3D
|
|
|
<a href="#Class_Rect"><b>Rect</b></a>
|
|
<a href="#Class_Rect"><b>Rect</b></a>
|
|
|
<a href="#Class_RemoteEvent"><b>RemoteEvent</b></a>
|
|
<a href="#Class_RemoteEvent"><b>RemoteEvent</b></a>
|
|
|
<a href="#Class_RenderPath"><b>RenderPath</b></a>
|
|
<a href="#Class_RenderPath"><b>RenderPath</b></a>
|
|
|
|
|
+<a href="#Class_RenderPathCommand"><b>RenderPathCommand</b></a>
|
|
|
<a href="#Class_RenderSurface"><b>RenderSurface</b></a>
|
|
<a href="#Class_RenderSurface"><b>RenderSurface</b></a>
|
|
|
<a href="#Class_Renderer"><b>Renderer</b></a>
|
|
<a href="#Class_Renderer"><b>Renderer</b></a>
|
|
|
<a href="#Class_Resource"><b>Resource</b></a>
|
|
<a href="#Class_Resource"><b>Resource</b></a>
|
|
@@ -2236,11 +2237,28 @@ Methods:
|
|
|
- bool GetLightPrepassSupport() const
|
|
- bool GetLightPrepassSupport() const
|
|
|
- bool GetDeferredSupport() const
|
|
- bool GetDeferredSupport() const
|
|
|
- bool GetHardwareShadowSupport() const
|
|
- bool GetHardwareShadowSupport() const
|
|
|
|
|
+- bool GetReadableDepthSupport() const
|
|
|
- bool GetStreamOffsetSupport() const
|
|
- bool GetStreamOffsetSupport() const
|
|
|
- bool GetSRGBSupport() const
|
|
- bool GetSRGBSupport() const
|
|
|
- bool GetSRGBWriteSupport() const
|
|
- bool GetSRGBWriteSupport() const
|
|
|
- IntVector2 GetDesktopResolution() const
|
|
- IntVector2 GetDesktopResolution() const
|
|
|
|
|
+- unsigned GetAlphaFormat()
|
|
|
|
|
+- unsigned GetLuminanceFormat()
|
|
|
|
|
+- unsigned GetLuminanceAlphaFormat()
|
|
|
- unsigned GetRGBFormat()
|
|
- unsigned GetRGBFormat()
|
|
|
|
|
+- unsigned GetRGBAFormat()
|
|
|
|
|
+- unsigned GetRGBA16Format()
|
|
|
|
|
+- unsigned GetRGBAFloat16Format()
|
|
|
|
|
+- unsigned GetRGBAFloat32Format()
|
|
|
|
|
+- unsigned GetRG16Format()
|
|
|
|
|
+- unsigned GetRGFloat16Format()
|
|
|
|
|
+- unsigned GetRGFloat32Format()
|
|
|
|
|
+- unsigned GetFloat16Format()
|
|
|
|
|
+- unsigned GetFloat32Format()
|
|
|
|
|
+- unsigned GetLinearDepthFormat()
|
|
|
|
|
+- unsigned GetDepthStencilFormat()
|
|
|
|
|
+- unsigned GetReadableDepthFormat()
|
|
|
|
|
+- unsigned GetFormat(const String formatName)
|
|
|
|
|
|
|
|
Properties:
|
|
Properties:
|
|
|
|
|
|
|
@@ -2269,6 +2287,7 @@ Properties:
|
|
|
- bool lightPrepassSupport (readonly)
|
|
- bool lightPrepassSupport (readonly)
|
|
|
- bool deferredSupport (readonly)
|
|
- bool deferredSupport (readonly)
|
|
|
- bool hardwareShadowSupport (readonly)
|
|
- bool hardwareShadowSupport (readonly)
|
|
|
|
|
+- bool readableDepthSupport (readonly)
|
|
|
- bool streamOffsetSupport (readonly)
|
|
- bool streamOffsetSupport (readonly)
|
|
|
- bool sRGBSupport (readonly)
|
|
- bool sRGBSupport (readonly)
|
|
|
- bool sRGBWriteSupport (readonly)
|
|
- bool sRGBWriteSupport (readonly)
|
|
@@ -4167,6 +4186,48 @@ Methods:
|
|
|
- unsigned GetNumCommands() const
|
|
- unsigned GetNumCommands() const
|
|
|
- const Variant& GetShaderParameter(const String name) const
|
|
- const Variant& GetShaderParameter(const String name) const
|
|
|
|
|
|
|
|
|
|
+<a name="Class_RenderPathCommand"></a>
|
|
|
|
|
+### RenderPathCommand
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+Methods:
|
|
|
|
|
+
|
|
|
|
|
+- RenderPathCommand() (GC)
|
|
|
|
|
+- RenderPathCommand* new()
|
|
|
|
|
+- void Load(const XMLElement& element)
|
|
|
|
|
+- void SetTextureName(TextureUnit unit, const String name)
|
|
|
|
|
+- void SetShaderParameter(const String name, const Variant& value)
|
|
|
|
|
+- void RemoveShaderParameter(const String name)
|
|
|
|
|
+- void SetNumOutputs(unsigned num)
|
|
|
|
|
+- void SetOutputName(unsigned index, const String name)
|
|
|
|
|
+- void SetDepthStencilName(const String name)
|
|
|
|
|
+- const String GetTextureName(TextureUnit unit) const
|
|
|
|
|
+- const Variant& GetShaderParameter(const String name) const
|
|
|
|
|
+- unsigned GetNumOutputs() const
|
|
|
|
|
+- const String GetOutputName(unsigned index) const
|
|
|
|
|
+- const String GetDepthStencilName() const
|
|
|
|
|
+
|
|
|
|
|
+Properties:
|
|
|
|
|
+
|
|
|
|
|
+- String tag
|
|
|
|
|
+- RenderCommandType type
|
|
|
|
|
+- RenderCommandSortMode sortMode
|
|
|
|
|
+- String pass
|
|
|
|
|
+- String metadata
|
|
|
|
|
+- String vertexShaderName
|
|
|
|
|
+- String pixelShaderName
|
|
|
|
|
+- String vertexShaderDefines
|
|
|
|
|
+- String pixelShaderDefines
|
|
|
|
|
+- unsigned clearFlags
|
|
|
|
|
+- Color clearColor
|
|
|
|
|
+- float clearDepth
|
|
|
|
|
+- unsigned clearStencil
|
|
|
|
|
+- bool enabled
|
|
|
|
|
+- bool useFogColor
|
|
|
|
|
+- bool markToStencil
|
|
|
|
|
+- bool useLitBase
|
|
|
|
|
+- bool vertexLights
|
|
|
|
|
+
|
|
|
<a name="Class_RenderSurface"></a>
|
|
<a name="Class_RenderSurface"></a>
|
|
|
### RenderSurface
|
|
### RenderSurface
|
|
|
|
|
|
|
@@ -6968,6 +7029,15 @@ Properties:
|
|
|
- int RAY_OBB
|
|
- int RAY_OBB
|
|
|
- int RAY_TRIANGLE
|
|
- int RAY_TRIANGLE
|
|
|
|
|
|
|
|
|
|
+### RenderCommandType
|
|
|
|
|
+
|
|
|
|
|
+- int CMD_NONE
|
|
|
|
|
+- int CMD_CLEAR
|
|
|
|
|
+- int CMD_SCENEPASS
|
|
|
|
|
+- int CMD_QUAD
|
|
|
|
|
+- int CMD_FORWARDLIGHTS
|
|
|
|
|
+- int CMD_LIGHTVOLUMES
|
|
|
|
|
+
|
|
|
### RenderSurfaceUpdateMode
|
|
### RenderSurfaceUpdateMode
|
|
|
|
|
|
|
|
- int SURFACE_MANUALUPDATE
|
|
- int SURFACE_MANUALUPDATE
|