Class GraphicsResourceInfo
The graphics resource information.
Inheritance
GraphicsResourceInfo
Implements
Inherited Members
Namespace: Evergine.Framework.Graphics.Effects.Analyzer
Assembly: Evergine.Framework.dll
Syntax
public abstract class GraphicsResourceInfo : IEquatable<GraphicsResourceInfo>
Constructors
GraphicsResourceInfo(string, int, ResourceTypes)
Initializes a new instance of the GraphicsResourceInfo class.
Declaration
public GraphicsResourceInfo(string name, int slot, GraphicsResourceInfo.ResourceTypes type)
Parameters
Type | Name | Description |
---|---|---|
string | name | Graphics resource name. |
int | slot | Resource slot. |
GraphicsResourceInfo.ResourceTypes | type | The resource type. |
GraphicsResourceInfo(string, string, ResourceTypes)
Initializes a new instance of the GraphicsResourceInfo class.
Declaration
public GraphicsResourceInfo(string name, string slot, GraphicsResourceInfo.ResourceTypes type)
Parameters
Type | Name | Description |
---|---|---|
string | name | Graphics resource name. |
string | slot | Resource slot. |
GraphicsResourceInfo.ResourceTypes | type | The resource type. |
Fields
Name
The graphic resource name.
Declaration
public string Name
Field Value
Type | Description |
---|---|
string |
Slot
The graphic resource slot.
Declaration
public int Slot
Field Value
Type | Description |
---|---|
int |
Type
The graphic resource type.
Declaration
public GraphicsResourceInfo.ResourceTypes Type
Field Value
Type | Description |
---|---|
GraphicsResourceInfo.ResourceTypes |
Methods
Equals(GraphicsResourceInfo)
Declaration
public virtual bool Equals(GraphicsResourceInfo other)
Parameters
Type | Name | Description |
---|---|---|
GraphicsResourceInfo | other |
Returns
Type | Description |
---|---|
bool |
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj |
Returns
Type | Description |
---|---|
bool |
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int |
Overrides
Write(BinaryWriter)
Write Graphics resource info into binary file.
Declaration
public abstract void Write(BinaryWriter writer)
Parameters
Type | Name | Description |
---|---|---|
BinaryWriter | writer | The binary writer. |
Operators
operator ==(GraphicsResourceInfo, GraphicsResourceInfo)
Declaration
public static bool operator ==(GraphicsResourceInfo value1, GraphicsResourceInfo value2)
Parameters
Type | Name | Description |
---|---|---|
GraphicsResourceInfo | value1 | |
GraphicsResourceInfo | value2 |
Returns
Type | Description |
---|---|
bool |
operator !=(GraphicsResourceInfo, GraphicsResourceInfo)
Declaration
public static bool operator !=(GraphicsResourceInfo value1, GraphicsResourceInfo value2)
Parameters
Type | Name | Description |
---|---|---|
GraphicsResourceInfo | value1 | |
GraphicsResourceInfo | value2 |
Returns
Type | Description |
---|---|
bool |